Home
last modified time | relevance | path

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

/system/hardware/interfaces/suspend/1.0/default/
DSystemSuspendUnitTest.cpp158 std::string wakeupCount = std::to_string(rand()); in unblockSystemSuspendFromWakeupCount() local
159 ASSERT_TRUE(WriteStringToFd(wakeupCount, wakeupCountFd)); in unblockSystemSuspendFromWakeupCount()
177 std::string wakeupCount = std::to_string(rand()); in checkLoop() local
178 ASSERT_TRUE(WriteStringToFd(wakeupCount, wakeupCountFd)); in checkLoop()
179 ASSERT_EQ(readFd(wakeupCountFd), wakeupCount) in checkLoop()
435 int64_t wakeupCount = 42) { in addKernelWakelock() argument
462 writeStatToFile(fd, "wakeup_count", wakeupCount); in addKernelWakelock()
618 ASSERT_EQ(nwlInfo.wakeupCount, 0); in TEST_F()
641 ASSERT_EQ(nwlInfo.wakeupCount, 0); in TEST_F()
671 ASSERT_EQ(kwlInfo1.wakeupCount, 42); in TEST_F()
[all …]
DSystemSuspend.cpp179 const string wakeupCount = readFd(mWakeupCountFd); in initAutosuspend() local
180 if (wakeupCount.empty()) { in initAutosuspend()
191 if (!WriteStringToFd(wakeupCount, mWakeupCountFd)) { in initAutosuspend()
DWakeLockEntryList.cpp49 << ((kernelWakelock) ? std::to_string(entry.wakeupCount) : notApplicable) << sep in operator <<()
180 info.wakeupCount = 0; in createNativeEntry()
217 info.wakeupCount = 0; in createKernelEntry()
274 info.wakeupCount = statVal; in createKernelEntry()
/system/hardware/interfaces/suspend/1.0/default/internal_aidl/android/system/suspend/
DWakeLockInfo.aidl65 long wakeupCount;