Lines Matching refs:wakeupCount
195 std::string wakeupCount = std::to_string(rand()); in unblockSystemSuspendFromWakeupCount() local
196 ASSERT_TRUE(WriteStringToFd(wakeupCount, wakeupCountFd)); in unblockSystemSuspendFromWakeupCount()
214 std::string wakeupCount = std::to_string(rand()); in checkLoop() local
215 ASSERT_TRUE(WriteStringToFd(wakeupCount, wakeupCountFd)); in checkLoop()
216 ASSERT_EQ(readFd(wakeupCountFd), wakeupCount) in checkLoop()
787 int64_t wakeupCount = 42) { in addKernelWakelock() argument
814 writeStatToFile(fd, "wakeup_count", wakeupCount); in addKernelWakelock()
986 ASSERT_EQ(nwlInfo.wakeupCount, 0); in TEST_F()
1009 ASSERT_EQ(nwlInfo.wakeupCount, 0); in TEST_F()
1039 ASSERT_EQ(kwlInfo1.wakeupCount, 42); in TEST_F()
1057 ASSERT_EQ(kwlInfo2.wakeupCount, 42); in TEST_F()
1085 ASSERT_EQ(nwlInfo.wakeupCount, 0); in TEST_F()
1104 ASSERT_EQ(kwlInfo.wakeupCount, 42); in TEST_F()
1128 ASSERT_EQ(nwlInfo.wakeupCount, 0); in TEST_F()
1147 ASSERT_EQ(kwlInfo.wakeupCount, 42); in TEST_F()
1232 std::string wakeupCount = std::to_string(rand()); in checkLoop() local
1233 ASSERT_TRUE(WriteStringToFd(wakeupCount, wakeupCountTestFd)); in checkLoop()
1234 ASSERT_EQ(readFd(wakeupCountTestFd), wakeupCount) in checkLoop()