Searched refs:ServiceControl (Results 1 – 11 of 11) sorted by relevance
/ohos5.0/base/startup/init/test/moduletest/ |
H A D | service_control_test.cpp | 48 int ret = ServiceControl(serviceName.c_str(), STOP); 59 int ret = ServiceControl(serviceName.c_str(), START); 71 int ret = ServiceControl(serviceName.c_str(), START); 91 int ret = ServiceControl(serviceName.c_str(), STOP); 104 int ret = ServiceControl(serviceName.c_str(), STOP); 116 int ret = ServiceControl(serviceName.c_str(), STOP); 145 int ret = ServiceControl(serviceName.c_str(), STOP); 173 int ret = ServiceControl(serviceName.c_str(), STOP); 205 int ret = ServiceControl(serviceName.c_str(), STOP); 232 ret = ServiceControl(serviceName.c_str(), STOP); [all …]
|
H A D | service_watcher_moduleTest.cpp | 60 int ret = ServiceControl(serviceName.c_str(), STOP);
|
/ohos5.0/base/startup/init/test/unittest/innerkits/ |
H A D | innerkits_unittest.cpp | 293 ServiceControl("deviceinfoservice", START); 295 ServiceControl("deviceinfoservice", RESTART); 296 ServiceControl("deviceinfoservice", STOP); 298 ServiceControl("param_watcher", RESTART); 299 EXPECT_EQ(ServiceControl(nullptr, RESTART), -1);
|
/ohos5.0/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()
|
/ohos5.0/base/startup/init/test/fuzztest/servicecontrol_fuzzer/ |
H A D | servicecontrol_fuzzer.cpp | 25 if (!ServiceControl(str.c_str(), START)) { in FuzzServiceControl()
|
/ohos5.0/base/startup/init/test/fuzztest/servicecontrolstart_fuzzer/ |
H A D | servicecontrolstart_fuzzer.cpp | 25 if (!ServiceControl(str.c_str(), START)) { in FuzzServiceControlStart()
|
/ohos5.0/base/startup/init/test/fuzztest/servicecontrolstop_fuzzer/ |
H A D | servicecontrolstop_fuzzer.cpp | 25 if (!ServiceControl(str.c_str(), STOP)) { in FuzzServiceControlStop()
|
/ohos5.0/base/startup/init/interfaces/innerkits/include/ |
H A D | service_control.h | 50 int ServiceControl(const char *serviceName, int action);
|
/ohos5.0/base/startup/init/interfaces/innerkits/ |
H A D | libbegetutil.versionscript | 136 ServiceControl;
|
/ohos5.0/docs/zh-cn/device-dev/subsystems/ |
H A D | subsys-boot-init-service.md | 324 | int ServiceControl(const char *serviceName, int action) | 控制服务行为 | 返回值:成功返回0,失败返回-1 <br> 参数:<br>…
|
/ohos5.0/docs/en/device-dev/subsystems/ |
H A D | subsys-boot-init-service.md | 324 | int ServiceControl(const char *serviceName, int action) | Controls the service behavior.| Return…
|