Searched refs:wakeupCount (Results 1 – 2 of 2) sorted by relevance
166 std::string wakeupCount = std::to_string(rand()); in unblockSystemSuspendFromWakeupCount() local167 ASSERT_TRUE(WriteStringToFd(wakeupCount, wakeupCountFd)); in unblockSystemSuspendFromWakeupCount()202 std::string wakeupCount = std::to_string(rand()); in checkLoop() local203 ASSERT_TRUE(WriteStringToFd(wakeupCount, wakeupCountFd)); in checkLoop()204 ASSERT_EQ(readFd(wakeupCountFd), wakeupCount) in checkLoop()
239 const string wakeupCount = readFd(mWakeupCountFd); in initAutosuspend() local240 if (wakeupCount.empty()) { in initAutosuspend()251 if (!WriteStringToFd(wakeupCount, mWakeupCountFd)) { in initAutosuspend()