Home
last modified time | relevance | path

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

/frameworks/base/services/robotests/src/com/android/server/location/
DNtpTimeHelperTest.java62 doReturn(NtpTimeHelper.NTP_INTERVAL - 1).when(mMockNtpTrustedTime).getCacheAge(); in handleInjectNtpTime_cachedAgeLow_injectTime()
74 doReturn(NtpTimeHelper.NTP_INTERVAL + 1).when(mMockNtpTrustedTime).getCacheAge(); in handleInjectNtpTime_injectTimeFailed_injectTimeDelayed()
82 doReturn(1L).when(mMockNtpTrustedTime).getCacheAge(); in handleInjectNtpTime_injectTimeFailed_injectTimeDelayed()
/frameworks/base/core/java/android/util/
DTrustedTime.java41 public long getCacheAge(); in getCacheAge() method
DNtpTrustedTime.java134 public long getCacheAge() { in getCacheAge() method in NtpTrustedTime
160 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/
DNetworkTimeUpdateService.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/
Dhiddenapi-light-greylist.txt5897 Landroid/util/TrustedTime;->getCacheAge()J
Dboot-image-profile.txt6299 HPLandroid/util/NtpTrustedTime;->getCacheAge()J
32323 HSPLandroid/util/TrustedTime;->getCacheAge()J