Home
last modified time | relevance | path

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

/system/chre/apps/chqts/src/general_test/
Destimated_host_time_test.cc58 constexpr uint64_t timeDelta = 50000000; // 50 ms in handleEvent() local
71 if ((currentHostTime - givenHostTime) <= timeDelta) { in handleEvent()
77 } else if ((givenHostTime - currentHostTime) <= timeDelta) { in handleEvent()
/system/hardware/interfaces/suspend/1.0/default/
DWakeLockEntryList.cpp341 TimestampType timeDelta = timeNow - updatedEntry.lastChange; in updateOnRelease() local
343 updatedEntry.activeTime += timeDelta; in updateOnRelease()
346 updatedEntry.totalTime += timeDelta; in updateOnRelease()
363 TimestampType timeDelta = timeNow - it->lastChange; in updateNow() local
364 it->activeTime += timeDelta; in updateNow()
366 it->totalTime += timeDelta; in updateNow()