Home
last modified time | relevance | path

Searched refs:testCmd (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/base/security/selinux_adapter/interfaces/tools/hap_restorecon/
H A Dtest.cpp130 TestInput testCmd; in main() local
131 SetOptions(argc, argv, options, testCmd); in main()
134 if (!testCmd.domain) { in main()
136 .pathNameOrig = testCmd.multiPath, in main()
137 .apl = testCmd.apl, in main()
138 .packageName = testCmd.name, in main()
139 .flags = atoi(testCmd.recurse.c_str()), in main()
140 .hapFlags = testCmd.isPreinstalledApp ? 1 : 0 in main()
146 .apl = testCmd.apl, in main()
147 .packageName = testCmd.name, in main()
[all …]
/ohos5.0/base/security/selinux_adapter/interfaces/tools/param_check/
H A Dtest.cpp218 if (!testCmd.paraName.empty()) { in TestWriteParameters()
219 TestSetPara(testCmd.paraName, &info); in TestWriteParameters()
233 static void Test(TestInput &testCmd) in Test() argument
236 switch (testCmd.cmd) { in Test()
238 if (!testCmd.paraName.empty()) { in Test()
248 if (!testCmd.paraName.empty()) { in Test()
249 TestReadPara(testCmd.paraName); in Test()
258 TestWriteParameters(testCmd); in Test()
281 TestInput testCmd; in main() local
282 SetOptions(argc, argv, options, testCmd); in main()
[all …]
/ohos5.0/base/security/selinux_adapter/interfaces/tools/service_check/
H A Dtest.cpp187 static void Test(const TestInput &testCmd) in Test() argument
189 switch (testCmd.cmd) { in Test()
191 TestAddService(testCmd.isHdf, testCmd.serviceName); in Test()
195 TestGetService(testCmd.isHdf, testCmd.serviceName); in Test()
199 TestGetRemoteService(testCmd.isHdf, testCmd.serviceName); in Test()
203 TestListService(testCmd.isHdf); in Test()