Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DSntpClient.java64 private long mNtpTime; field in SntpClient
154 mNtpTime = responseTime + clockOffset; in requestTime()
177 return mNtpTime; in getNtpTime()
/frameworks/base/services/core/java/com/android/server/location/
DGnssLocationProvider.java366 private final NtpTrustedTime mNtpTime; field in GnssLocationProvider
705 mNtpTime = NtpTrustedTime.getInstance(context); in GnssLocationProvider()
974 if (mNtpTime.getCacheAge() >= NTP_INTERVAL) { in handleInjectNtpTime()
975 refreshSuccess = mNtpTime.forceRefresh(); in handleInjectNtpTime()
979 if (mNtpTime.getCacheAge() < NTP_INTERVAL) { in handleInjectNtpTime()
980 long time = mNtpTime.getCachedNtpTime(); in handleInjectNtpTime()
981 long timeReference = mNtpTime.getCachedNtpTimeReference(); in handleInjectNtpTime()
982 long certainty = mNtpTime.getCacheCertainty(); in handleInjectNtpTime()