Home
last modified time | relevance | path

Searched refs:ntpResult (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/location/
DNtpTimeHelper.java133 NtpTrustedTime.TimeResult ntpResult = mNtpTime.getCachedTimeResult(); in blockingGetNtpTimeAndInject() local
134 if (ntpResult == null || ntpResult.getAgeMillis() >= NTP_INTERVAL) { in blockingGetNtpTimeAndInject()
144 ntpResult = mNtpTime.getCachedTimeResult(); in blockingGetNtpTimeAndInject()
145 if (ntpResult != null && ntpResult.getAgeMillis() < NTP_INTERVAL) { in blockingGetNtpTimeAndInject()
146 long time = ntpResult.getTimeMillis(); in blockingGetNtpTimeAndInject()
147 long timeReference = ntpResult.getElapsedRealtimeMillis(); in blockingGetNtpTimeAndInject()
148 long certainty = ntpResult.getCertaintyMillis(); in blockingGetNtpTimeAndInject()
154 + " ntpResult: " + ntpResult in blockingGetNtpTimeAndInject()
/frameworks/base/services/core/java/com/android/server/
DNetworkTimeUpdateService.java281 NtpTrustedTime.TimeResult ntpResult = mTime.getCachedTimeResult(); in dump() local
282 pw.println("NTP cache result: " + ntpResult); in dump()
283 if (ntpResult != null) { in dump()
284 pw.println("NTP result age: " + ntpResult.getAgeMillis()); in dump()
DAlarmManagerService.java2166 NtpTrustedTime.TimeResult ntpResult = time.getCachedTimeResult();
2167 if (ntpResult != null) {
2168 return ntpResult.currentTimeMillis();