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/gnss/
DNtpTimeHelper.java149 NtpTrustedTime.TimeResult ntpResult = mNtpTime.getCachedTimeResult(); in blockingGetNtpTimeAndInject() local
150 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()
/frameworks/base/services/core/java/com/android/server/
DNetworkTimeUpdateService.java283 NtpTrustedTime.TimeResult ntpResult = mTime.getCachedTimeResult(); in dump() local
284 pw.println("NTP cache result: " + ntpResult); in dump()
285 if (ntpResult != null) { in dump()
286 pw.println("NTP result age: " + ntpResult.getAgeMillis()); in dump()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java2661 NtpTrustedTime.TimeResult ntpResult = time.getCachedTimeResult();
2662 if (ntpResult != null) {
2663 return ntpResult.currentTimeMillis();