Home
last modified time | relevance | path

Searched refs:ServiceWaitForStatus (Results 1 – 7 of 7) sorted by relevance

/base/startup/init/test/moduletest/
Dservice_control_test.cpp50 … ret = ServiceWaitForStatus(serviceName.c_str(), SERVICE_STOPPED, WAIT_SERVICE_STATUS_TIMEOUT);
61 ret = ServiceWaitForStatus(serviceName.c_str(), SERVICE_STARTED, WAIT_SERVICE_STATUS_TIMEOUT);
147 ret = ServiceWaitForStatus(serviceName.c_str(), SERVICE_STOPPED, WAIT_SERVICE_STATUS_TIMEOUT);
175 ret = ServiceWaitForStatus(serviceName.c_str(), SERVICE_STOPPED, WAIT_SERVICE_STATUS_TIMEOUT);
235 ret = ServiceWaitForStatus(serviceName.c_str(), SERVICE_STOPPED, WAIT_SERVICE_STATUS_TIMEOUT);
253 ret = ServiceWaitForStatus(serviceName.c_str(), SERVICE_STOPPED, WAIT_SERVICE_STATUS_TIMEOUT);
262 ret = ServiceWaitForStatus(serviceName.c_str(), SERVICE_STARTED, WAIT_SERVICE_STATUS_TIMEOUT);
267 ret = ServiceWaitForStatus(serviceName.c_str(), SERVICE_STOPPED, WAIT_SERVICE_STATUS_TIMEOUT);
/base/startup/init/test/fuzztest/servicewaitforstatus_fuzzer/
Dservicewaitforstatus_fuzzer.cpp25 if (!ServiceWaitForStatus(str.c_str(), SERVICE_STARTED, 1)) { in FuzzServiceWaitForStatus()
/base/startup/init/interfaces/innerkits/include/
Dservice_control.h51 int ServiceWaitForStatus(const char *serviceName, ServiceStatus status, int waitTimeout);
/base/startup/init/interfaces/innerkits/service_control/
Dservice_control.c105 if (ServiceWaitForStatus(serviceName, SERVICE_STOPPED, DEFAULT_PARAM_WAIT_TIMEOUT) != 0) { in RestartProcess()
165 int ServiceWaitForStatus(const char *serviceName, ServiceStatus status, int waitTimeout) in ServiceWaitForStatus() function
/base/startup/init/interfaces/innerkits/
Dlibbegetutil.versionscript138 ServiceWaitForStatus;
/base/startup/init/test/unittest/innerkits/
Dinnerkits_unittest.cpp299 ServiceWaitForStatus("deviceinfoservice", SERVICE_READY, 1);
300 ServiceWaitForStatus("deviceinfoservice", SERVICE_READY, -1);
301 ServiceWaitForStatus(nullptr, SERVICE_READY, 1);
/base/startup/init/test/unittest/param/
Dwatcher_agent_unittest.cpp279 ServiceWaitForStatus("param_watcher", SERVICE_STARTED, 1);