Home
last modified time | relevance | path

Searched refs:wakeupCount (Results 1 - 2 of 2) sorted by relevance

/base/powermgr/power_manager/services/native/src/actions/default/suspend/
H A Dsuspend_controller.cpp43 const std::string wakeupCount = WaitWakeupCount(); in AutoSuspendLoop() local
44 if (wakeupCount.empty()) { in AutoSuspendLoop()
49 if (!WriteWakeupCount(wakeupCount)) { in AutoSuspendLoop()
121 std::string wakeupCount; in WaitWakeupCount() local
122 bool ret = LoadStringFromFd(wakeupCountFd, wakeupCount); in WaitWakeupCount()
127 return wakeupCount; in WaitWakeupCount()
130 bool SuspendController::AutoSuspend::WriteWakeupCount(std::string wakeupCount) in WriteWakeupCount() argument
135 bool ret = SaveStringToFd(wakeupCountFd, wakeupCount.c_str()); in WriteWakeupCount()
H A Dsuspend_controller.h59 bool WriteWakeupCount(std::string wakeupCount);

Completed in 2 milliseconds