Searched refs:NTP_INTERVAL (Results 1 – 2 of 2) sorted by relevance
37 static final long NTP_INTERVAL = 24 * 60 * 60 * 1000; field in NtpTimeHelper133 if (mNtpTime.getCacheAge() >= NTP_INTERVAL) { in blockingGetNtpTimeAndInject()143 if (mNtpTime.getCacheAge() < NTP_INTERVAL) { in blockingGetNtpTimeAndInject()160 delay = NTP_INTERVAL; in blockingGetNtpTimeAndInject()
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()