Home
last modified time | relevance | path

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

/system/hardware/interfaces/suspend/1.0/default/
DWakeLockEntryList.cpp315 WakeLockInfo updatedEntry = *staleEntry; in updateOnAcquire() local
318 updatedEntry.isActive = true; in updateOnAcquire()
319 updatedEntry.activeTime = 0; in updateOnAcquire()
320 updatedEntry.activeCount++; in updateOnAcquire()
321 updatedEntry.lastChange = timeNow; in updateOnAcquire()
324 insertEntry(std::move(updatedEntry)); in updateOnAcquire()
338 WakeLockInfo updatedEntry = *staleEntry; in updateOnRelease() local
341 TimestampType timeDelta = timeNow - updatedEntry.lastChange; in updateOnRelease()
342 updatedEntry.isActive = false; in updateOnRelease()
343 updatedEntry.activeTime += timeDelta; in updateOnRelease()
[all …]