Searched refs:getCacheAge (Results 1 – 8 of 8) sorted by relevance
121 public long getCacheAge() { in getCacheAge() method in NtpTrustedTime147 return mCachedNtpTime + getCacheAge(); in currentTimeMillis()
41 public long getCacheAge(); in getCacheAge() method
188 if (mTime.getCacheAge() >= mPollingIntervalMs) { in onPollNetworkTimeUnderWakeLock()193 if (mTime.getCacheAge() < mPollingIntervalMs) { in onPollNetworkTimeUnderWakeLock()
910 if (mNtpTime.getCacheAge() >= NTP_INTERVAL) { in handleInjectNtpTime()915 if (mNtpTime.getCacheAge() < NTP_INTERVAL) { in handleInjectNtpTime()
848 expect(mTime.getCacheAge()).andReturn(0L).anyTimes(); in expectCurrentTime()
1134 expect(mTime.getCacheAge()).andReturn(0L).anyTimes(); in expectCurrentTime()
1050 if (mTime.getCacheAge() > mSettings.getTimeCacheMaxAge()) { in performPoll()
3402 if (mTime.getCacheAge() > TIME_CACHE_MAX_AGE) { in maybeRefreshTrustedTime()