Home
last modified time | relevance | path

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

/system/chre/platform/linux/
Dsystem_time.cc29 struct timespec timeNow; in getMonotonicTime() local
30 if (clock_gettime(CLOCK_MONOTONIC, &timeNow)) { in getMonotonicTime()
39 return Seconds(static_cast<uint64_t>(timeNow.tv_sec)) in getMonotonicTime()
40 + Nanoseconds(static_cast<uint64_t>(timeNow.tv_nsec)); in getMonotonicTime()
/system/hardware/interfaces/suspend/1.0/default/
DSystemSuspend.cpp161 auto timeNow = getEpochTimeNow(); in acquireWakeLock() local
163 mLruWakeLockId[timeNow] = wlId; in acquireWakeLock()
168 wlStatsEntry.set_last_updated(timeNow); in acquireWakeLock()
225 auto timeNow = getEpochTimeNow(); in deleteWakeLockStatsEntry() local
228 wlStatsEntry.set_last_updated(timeNow); in deleteWakeLockStatsEntry()
230 mLruWakeLockId[timeNow] = id; in deleteWakeLockStatsEntry()
DSystemSuspendUnitTest.cpp297 uint64_t timeNow = getEpochTimeNow(); in TEST_F() local
305 ASSERT_GT(wlStats.begin()->second.last_updated(), timeNow); in TEST_F()
317 ASSERT_GT(wlStats.begin()->second.last_updated(), timeNow + 1000000); in TEST_F()
/system/chre/core/
Daudio_request_manager.cc236 Nanoseconds timeNow = SystemTime::getMonotonicTime(); in createAudioRequest() local
237 Nanoseconds nextEventTimestamp = timeNow + deliveryInterval; in createAudioRequest()