Searched refs:mNtpTime (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/java/android/net/
H A DSntpClient.java58 private long mNtpTime; field in class:SntpClient
60 // value of SystemClock.elapsedRealtime() corresponding to mNtpTime
119 mNtpTime = responseTime + clockOffset;
140 return mNtpTime;
/frameworks/base/services/java/com/android/server/location/
H A DGpsLocationProvider.java305 private final NtpTrustedTime mNtpTime; field in class:GpsLocationProvider
450 mNtpTime = NtpTrustedTime.getInstance(context);
655 if (mNtpTime.getCacheAge() >= NTP_INTERVAL) {
656 mNtpTime.forceRefresh();
660 if (mNtpTime.getCacheAge() < NTP_INTERVAL) {
661 long time = mNtpTime.getCachedNtpTime();
662 long timeReference = mNtpTime.getCachedNtpTimeReference();
663 long certainty = mNtpTime.getCacheCertainty();

Completed in 94 milliseconds