Home
last modified time | relevance | path

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

/system/hardware/interfaces/suspend/1.0/default/
DSystemSuspendUnitTest.cpp166 std::string wakeupCount = std::to_string(rand()); in unblockSystemSuspendFromWakeupCount() local
167 ASSERT_TRUE(WriteStringToFd(wakeupCount, wakeupCountFd)); in unblockSystemSuspendFromWakeupCount()
202 std::string wakeupCount = std::to_string(rand()); in checkLoop() local
203 ASSERT_TRUE(WriteStringToFd(wakeupCount, wakeupCountFd)); in checkLoop()
204 ASSERT_EQ(readFd(wakeupCountFd), wakeupCount) in checkLoop()
DSystemSuspend.cpp239 const string wakeupCount = readFd(mWakeupCountFd); in initAutosuspend() local
240 if (wakeupCount.empty()) { in initAutosuspend()
251 if (!WriteStringToFd(wakeupCount, mWakeupCountFd)) { in initAutosuspend()