Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/location/gnss/
DNtpNetworkTimeHelper.java182 NtpTrustedTime.TimeResult ntpResult = mNtpTime.getCachedTimeResult(); in blockingGetNtpTimeAndInject() local
183 if (ntpResult == null || ntpResult.getAgeMillis() >= NTP_INTERVAL) { in blockingGetNtpTimeAndInject()
225 NtpTrustedTime.TimeResult ntpResult = mNtpTime.getCachedTimeResult(); in maybeInjectCachedNtpTime() local
226 if (ntpResult == null || ntpResult.getAgeMillis() >= NTP_INTERVAL) { in maybeInjectCachedNtpTime()
229 + ", ntpResult=" + ntpResult; in maybeInjectCachedNtpTime()
235 long unixEpochTimeMillis = ntpResult.getTimeMillis(); in maybeInjectCachedNtpTime()
239 + ", ntpResult=" + ntpResult in maybeInjectCachedNtpTime()
243 long timeReferenceMillis = ntpResult.getElapsedRealtimeMillis(); in maybeInjectCachedNtpTime()
244 int uncertaintyMillis = ntpResult.getUncertaintyMillis(); in maybeInjectCachedNtpTime()
/frameworks/base/services/core/java/com/android/server/timedetector/
DTimeDetectorService.java396 NtpTrustedTime.TimeResult ntpResult = mNtpTrustedTime.getCachedTimeResult(); in latestNetworkTime() local
397 if (ntpResult != null) { in latestNetworkTime()
400 ntpResult.getElapsedRealtimeMillis(), ntpResult.getTimeMillis()), in latestNetworkTime()
401 ntpResult.getUncertaintyMillis()); in latestNetworkTime()