Searched refs:getCacheAge (Results 1 – 7 of 7) sorted by relevance
62 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()
41 public long getCacheAge(); in getCacheAge() method
134 public long getCacheAge() { in getCacheAge() method in NtpTrustedTime160 return mCachedNtpTime + getCacheAge(); in currentTimeMillis()
133 if (mNtpTime.getCacheAge() >= NTP_INTERVAL) { in blockingGetNtpTimeAndInject()143 if (mNtpTime.getCacheAge() < NTP_INTERVAL) { in blockingGetNtpTimeAndInject()
168 if (mTime.getCacheAge() >= mPollingIntervalMs) { in onPollNetworkTimeUnderWakeLock()173 if (mTime.getCacheAge() < mPollingIntervalMs) { in onPollNetworkTimeUnderWakeLock()325 pw.println("NTP cache age: " + mTime.getCacheAge()); in dump()
5897 Landroid/util/TrustedTime;->getCacheAge()J
6299 HPLandroid/util/NtpTrustedTime;->getCacheAge()J32323 HSPLandroid/util/TrustedTime;->getCacheAge()J