Searched refs:getCacheAge (Results 1 – 8 of 8) sorted by relevance
55 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()
46 public long getCacheAge(); in getCacheAge() method
138 public long getCacheAge() { in getCacheAge() method in NtpTrustedTime165 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()
15644 HSPLandroid/util/NtpTrustedTime;->getCacheAge()J
77284 Landroid/util/NtpTrustedTime;->getCacheAge()J