Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/
DNtpTrustedTime.java121 public long getCacheAge() { in getCacheAge() method in NtpTrustedTime
147 return mCachedNtpTime + getCacheAge(); in currentTimeMillis()
DTrustedTime.java41 public long getCacheAge(); in getCacheAge() method
/frameworks/base/services/core/java/com/android/server/
DNetworkTimeUpdateService.java188 if (mTime.getCacheAge() >= mPollingIntervalMs) { in onPollNetworkTimeUnderWakeLock()
193 if (mTime.getCacheAge() < mPollingIntervalMs) { in onPollNetworkTimeUnderWakeLock()
/frameworks/base/services/core/java/com/android/server/location/
DGnssLocationProvider.java910 if (mNtpTime.getCacheAge() >= NTP_INTERVAL) { in handleInjectNtpTime()
915 if (mNtpTime.getCacheAge() < NTP_INTERVAL) { in handleInjectNtpTime()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java848 expect(mTime.getCacheAge()).andReturn(0L).anyTimes(); in expectCurrentTime()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkStatsServiceTest.java1134 expect(mTime.getCacheAge()).andReturn(0L).anyTimes(); in expectCurrentTime()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsService.java1050 if (mTime.getCacheAge() > mSettings.getTimeCacheMaxAge()) { in performPoll()
DNetworkPolicyManagerService.java3402 if (mTime.getCacheAge() > TIME_CACHE_MAX_AGE) { in maybeRefreshTrustedTime()