Home
last modified time | relevance | path

Searched refs:ServiceControl (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/base/startup/init/test/moduletest/
H A Dservice_control_test.cpp48 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 Dservice_watcher_moduleTest.cpp60 int ret = ServiceControl(serviceName.c_str(), STOP);
/ohos5.0/base/startup/init/test/unittest/innerkits/
H A Dinnerkits_unittest.cpp293 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 Dservice_control.c144 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 Dservicecontrol_fuzzer.cpp25 if (!ServiceControl(str.c_str(), START)) { in FuzzServiceControl()
/ohos5.0/base/startup/init/test/fuzztest/servicecontrolstart_fuzzer/
H A Dservicecontrolstart_fuzzer.cpp25 if (!ServiceControl(str.c_str(), START)) { in FuzzServiceControlStart()
/ohos5.0/base/startup/init/test/fuzztest/servicecontrolstop_fuzzer/
H A Dservicecontrolstop_fuzzer.cpp25 if (!ServiceControl(str.c_str(), STOP)) { in FuzzServiceControlStop()
/ohos5.0/base/startup/init/interfaces/innerkits/include/
H A Dservice_control.h50 int ServiceControl(const char *serviceName, int action);
/ohos5.0/base/startup/init/interfaces/innerkits/
H A Dlibbegetutil.versionscript136 ServiceControl;
/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-boot-init-service.md324 | int ServiceControl(const char *serviceName, int action) | 控制服务行为 | 返回值:成功返回0,失败返回-1 <br> 参数:<br>…
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-boot-init-service.md324 | int ServiceControl(const char *serviceName, int action) | Controls the service behavior.| Return…