Home
last modified time | relevance | path

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

/frameworks/base/services/robotests/src/com/android/server/location/
DNtpTimeHelperTest.java55 doReturn(NtpTimeHelper.NTP_INTERVAL - 1).when(mMockNtpTrustedTime).getCacheAge(); in handleInjectNtpTime_cachedAgeLow_injectTime()
67 doReturn(NtpTimeHelper.NTP_INTERVAL + 1).when(mMockNtpTrustedTime).getCacheAge(); in handleInjectNtpTime_injectTimeFailed_injectTimeDelayed()
75 doReturn(1L).when(mMockNtpTrustedTime).getCacheAge(); in handleInjectNtpTime_injectTimeFailed_injectTimeDelayed()
/frameworks/base/core/java/android/util/
DTrustedTime.java46 public long getCacheAge(); in getCacheAge() method
DNtpTrustedTime.java138 public long getCacheAge() { in getCacheAge() method in NtpTrustedTime
165 return mCachedNtpTime + getCacheAge(); in currentTimeMillis()
/frameworks/base/services/core/java/com/android/server/location/
DNtpTimeHelper.java133 if (mNtpTime.getCacheAge() >= NTP_INTERVAL) { in blockingGetNtpTimeAndInject()
143 if (mNtpTime.getCacheAge() < NTP_INTERVAL) { in blockingGetNtpTimeAndInject()
/frameworks/base/services/core/java/com/android/server/
DOldNetworkTimeUpdateService.java168 if (mTime.getCacheAge() >= mPollingIntervalMs) { in onPollNetworkTimeUnderWakeLock()
173 if (mTime.getCacheAge() < mPollingIntervalMs) { in onPollNetworkTimeUnderWakeLock()
325 pw.println("NTP cache age: " + mTime.getCacheAge()); in dump()
DNewNetworkTimeUpdateService.java168 if (mTime.getCacheAge() >= mPollingIntervalMs) { in onPollNetworkTimeUnderWakeLock()
173 if (mTime.getCacheAge() < mPollingIntervalMs) { in onPollNetworkTimeUnderWakeLock()
325 pw.println("NTP cache age: " + mTime.getCacheAge()); in dump()
/frameworks/base/config/
Dboot-image-profile.txt15644 HSPLandroid/util/NtpTrustedTime;->getCacheAge()J
Dhiddenapi-greylist-max-o.txt77284 Landroid/util/NtpTrustedTime;->getCacheAge()J