Home
last modified time | relevance | path

Searched refs:waitTimeout (Results 1 – 3 of 3) sorted by relevance

/base/powermgr/battery_manager/charger/src/
Dbattery_thread.cpp185 int32_t waitTimeout = UpdateWaitInterval(); in LoopingThreadEntry() local
186 if ((timeout < 0) || (waitTimeout > 0 && waitTimeout < timeout)) { in LoopingThreadEntry()
187 timeout = waitTimeout; in LoopingThreadEntry()
/base/startup/init/interfaces/innerkits/service_control/
Dservice_control.c165 int ServiceWaitForStatus(const char *serviceName, ServiceStatus status, int waitTimeout) in ServiceWaitForStatus() argument
168 BEGET_ERROR_CHECK(waitTimeout >= 0, return -1, "Invalid timeout."); in ServiceWaitForStatus()
173 return (SystemWaitParameter(paramName, value, waitTimeout) != 0) ? -1 : 0; in ServiceWaitForStatus()
/base/startup/init/interfaces/innerkits/include/
Dservice_control.h51 int ServiceWaitForStatus(const char *serviceName, ServiceStatus status, int waitTimeout);