Home
last modified time | relevance | path

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

/system/hardware/interfaces/suspend/aidl/android/system/suspend/internal/
DWakeLockInfo.aidl65 long wakeupCount;
/system/hardware/interfaces/suspend/1.0/default/
DSystemSuspendUnitTest.cpp195 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()
[all …]
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()
DSystemSuspend.cpp244 const string wakeupCount = readFd(mWakeupCountFd); in initAutosuspend() local
245 if (wakeupCount.empty()) { in initAutosuspend()
256 if (!WriteStringToFd(wakeupCount, mWakeupCountFd)) { in initAutosuspend()