Searched refs:ntpResult (Results 1 – 3 of 3) sorted by relevance
149 NtpTrustedTime.TimeResult ntpResult = mNtpTime.getCachedTimeResult(); in blockingGetNtpTimeAndInject() local150 if (ntpResult == null || ntpResult.getAgeMillis() >= NTP_INTERVAL) { in blockingGetNtpTimeAndInject()160 ntpResult = mNtpTime.getCachedTimeResult(); in blockingGetNtpTimeAndInject()161 if (ntpResult != null && ntpResult.getAgeMillis() < NTP_INTERVAL) { in blockingGetNtpTimeAndInject()162 long time = ntpResult.getTimeMillis(); in blockingGetNtpTimeAndInject()163 long timeReference = ntpResult.getElapsedRealtimeMillis(); in blockingGetNtpTimeAndInject()164 long certainty = ntpResult.getCertaintyMillis(); in blockingGetNtpTimeAndInject()170 + " ntpResult: " + ntpResult in blockingGetNtpTimeAndInject()
283 NtpTrustedTime.TimeResult ntpResult = mTime.getCachedTimeResult(); in dump() local284 pw.println("NTP cache result: " + ntpResult); in dump()285 if (ntpResult != null) { in dump()286 pw.println("NTP result age: " + ntpResult.getAgeMillis()); in dump()
2661 NtpTrustedTime.TimeResult ntpResult = time.getCachedTimeResult();2662 if (ntpResult != null) {2663 return ntpResult.currentTimeMillis();