Searched refs:ServiceControl (Results 1 - 9 of 9) sorted by relevance
/base/startup/init/test/moduletest/ |
H A D | service_control_test.cpp | 48 int ret = ServiceControl(serviceName.c_str(), STOP); in HWTEST_F() 59 int ret = ServiceControl(serviceName.c_str(), START); in HWTEST_F() 71 int ret = ServiceControl(serviceName.c_str(), START); in HWTEST_F() 72 EXPECT_EQ(ret, 0); // No matter if service exist or not, ServiceControl always success. in HWTEST_F() 83 int ret = ServiceControl(serviceName.c_str(), START); in HWTEST_F() 91 int ret = ServiceControl(serviceName.c_str(), STOP); in HWTEST_F() 104 int ret = ServiceControl(serviceName.c_str(), STOP); in HWTEST_F() 105 EXPECT_EQ(ret, 0); // No matter if service exist or not, ServiceControl always success. in HWTEST_F() 116 int ret = ServiceControl(serviceName.c_str(), STOP); in HWTEST_F() 145 int ret = ServiceControl(serviceNam in HWTEST_F() [all...] |
H A D | service_watcher_moduleTest.cpp | 60 int ret = ServiceControl(serviceName.c_str(), STOP); in HWTEST_F()
|
/base/startup/init/test/unittest/service_control/ |
H A D | service_control_unittest.cpp | 79 int ret = ServiceControl("deviceinfoservice", START); in HWTEST_F() 85 int ret = ServiceControl("deviceinfoservice", STOP); in HWTEST_F() 91 int ret = ServiceControl("deviceinfoservice", RESTART); in HWTEST_F() 97 int ret = ServiceControl(nullptr, RESTART); in HWTEST_F()
|
/base/startup/init/test/fuzztest/servicecontrolstop_fuzzer/ |
H A D | servicecontrolstop_fuzzer.cpp | 25 if (!ServiceControl(str.c_str(), STOP)) { in FuzzServiceControlStop()
|
/base/startup/init/test/fuzztest/servicecontrolstart_fuzzer/ |
H A D | servicecontrolstart_fuzzer.cpp | 25 if (!ServiceControl(str.c_str(), START)) { in FuzzServiceControlStart()
|
/base/startup/init/test/fuzztest/servicecontrol_fuzzer/ |
H A D | servicecontrol_fuzzer.cpp | 25 if (!ServiceControl(str.c_str(), START)) { in FuzzServiceControl()
|
/base/startup/init/interfaces/innerkits/include/ |
H A D | service_control.h | 50 int ServiceControl(const char *serviceName, int action);
|
/base/startup/init/interfaces/innerkits/service_control/ |
H A D | service_control.c | 144 int ServiceControl(const char *serviceName, int action) in ServiceControl() function 191 return ServiceControl(serviceName, START); in StartServiceByTimer()
|
/base/startup/init/test/unittest/innerkits/ |
H A D | innerkits_unittest.cpp | 293 ServiceControl("deviceinfoservice", START); in HWTEST_F() 295 ServiceControl("deviceinfoservice", RESTART); in HWTEST_F() 296 ServiceControl("deviceinfoservice", STOP); in HWTEST_F() 298 ServiceControl("param_watcher", RESTART); in HWTEST_F() 299 EXPECT_EQ(ServiceControl(nullptr, RESTART), -1); in HWTEST_F()
|
Completed in 4 milliseconds