Home
last modified time | relevance | path

Searched refs:TimestampType (Results 1 – 5 of 5) sorted by relevance

/aosp12/system/hardware/interfaces/suspend/1.0/default/
H A DWakeLockEntryList.h38 using TimestampType = int64_t; variable
40 TimestampType getTimeNow();
49 void updateOnAcquire(const std::string& name, int pid, TimestampType timeNow);
50 void updateOnRelease(const std::string& name, int pid, TimestampType timeNow);
61 WakeLockInfo createNativeEntry(const std::string& name, int pid, TimestampType timeNow) const;
H A DWakeLockEntryList.cpp111 TimestampType getTimeNow() { in getTimeNow()
162 TimestampType timeNow) const { in createNativeEntry()
304 void WakeLockEntryList::updateOnAcquire(const std::string& name, int pid, TimestampType timeNow) { in updateOnAcquire()
328 void WakeLockEntryList::updateOnRelease(const std::string& name, int pid, TimestampType timeNow) { in updateOnRelease()
341 TimestampType timeDelta = timeNow - updatedEntry.lastChange; in updateOnRelease()
359 TimestampType timeNow = getTimeNow(); in updateNow()
363 TimestampType timeDelta = timeNow - it->lastChange; in updateNow()
H A DSystemSuspend.h112 void updateWakeLockStatOnRelease(const std::string& name, int pid, TimestampType timeNow);
H A DSystemSuspend.cpp368 TimestampType timeNow) { in updateWakeLockStatOnRelease()
H A DSystemSuspendUnitTest.cpp72 using android::system::suspend::V1_0::TimestampType;