Searched refs:NTP_INTERVAL (Results 1 – 2 of 2) sorted by relevance
37 static final long NTP_INTERVAL = 24 * 60 * 60 * 1000; field in NtpTimeHelper134 if (ntpResult == null || ntpResult.getAgeMillis() >= NTP_INTERVAL) { in blockingGetNtpTimeAndInject()145 if (ntpResult != null && ntpResult.getAgeMillis() < NTP_INTERVAL) { in blockingGetNtpTimeAndInject()161 delay = NTP_INTERVAL; in blockingGetNtpTimeAndInject()
57 doReturn(NtpTimeHelper.NTP_INTERVAL - 1).when(result).getAgeMillis(); in handleInjectNtpTime_cachedAgeLow_injectTime()71 doReturn(NtpTimeHelper.NTP_INTERVAL + 1).when(result1).getAgeMillis(); in handleInjectNtpTime_injectTimeFailed_injectTimeDelayed()