Searched refs:ServiceWaitForStatus (Results 1 – 7 of 7) sorted by relevance
| /base/startup/init/test/moduletest/ |
| D | service_control_test.cpp | 50 … 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/ |
| D | servicewaitforstatus_fuzzer.cpp | 25 if (!ServiceWaitForStatus(str.c_str(), SERVICE_STARTED, 1)) { in FuzzServiceWaitForStatus()
|
| /base/startup/init/interfaces/innerkits/include/ |
| D | service_control.h | 51 int ServiceWaitForStatus(const char *serviceName, ServiceStatus status, int waitTimeout);
|
| /base/startup/init/interfaces/innerkits/service_control/ |
| D | service_control.c | 105 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/ |
| D | libbegetutil.versionscript | 138 ServiceWaitForStatus;
|
| /base/startup/init/test/unittest/innerkits/ |
| D | innerkits_unittest.cpp | 299 ServiceWaitForStatus("deviceinfoservice", SERVICE_READY, 1); 300 ServiceWaitForStatus("deviceinfoservice", SERVICE_READY, -1); 301 ServiceWaitForStatus(nullptr, SERVICE_READY, 1);
|
| /base/startup/init/test/unittest/param/ |
| D | watcher_agent_unittest.cpp | 279 ServiceWaitForStatus("param_watcher", SERVICE_STARTED, 1);
|