Home
last modified time | relevance | path

Searched refs:activeTime (Results 1 – 3 of 3) sorted by relevance

/system/hardware/interfaces/suspend/1.0/default/
DWakeLockEntryList.cpp172 info.activeTime = 0; in createNativeEntry()
209 info.activeTime = 0; in createKernelEntry()
260 info.activeTime = statVal; in createKernelEntry()
280 info.isActive = info.activeTime > 0; in createKernelEntry()
319 updatedEntry.activeTime = 0; in updateOnAcquire()
343 updatedEntry.activeTime += timeDelta; in updateOnRelease()
344 updatedEntry.maxTime = std::max(updatedEntry.maxTime, updatedEntry.activeTime); in updateOnRelease()
345 updatedEntry.activeTime = 0; // No longer active in updateOnRelease()
364 it->activeTime += timeDelta; in updateNow()
365 it->maxTime = std::max(it->maxTime, it->activeTime); in updateNow()
DSystemSuspendUnitTest.cpp432 int64_t activeTime = 42, int64_t eventCount = 42, in addKernelWakelock() argument
455 writeStatToFile(fd, "active_time_ms", activeTime) && in addKernelWakelock()
633 ASSERT_EQ(nwlInfo.activeTime, 0); // No longer active in TEST_F()
663 ASSERT_EQ(kwlInfo1.activeTime, 42); in TEST_F()
681 ASSERT_EQ(kwlInfo2.activeTime, 42); in TEST_F()
728 ASSERT_EQ(kwlInfo.activeTime, 42); in TEST_F()
752 ASSERT_EQ(nwlInfo.activeTime, 0); // No longer active in TEST_F()
771 ASSERT_EQ(kwlInfo.activeTime, 42); in TEST_F()
/system/hardware/interfaces/suspend/1.0/default/internal_aidl/android/system/suspend/
DWakeLockInfo.aidl55 long activeTime;