Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DSntpClient.java57 private long mNtpTime; field in SntpClient
118 mNtpTime = responseTime + clockOffset; in requestTime()
139 return mNtpTime; in getNtpTime()
/frameworks/base/services/core/java/com/android/server/location/
DGpsLocationProvider.java354 private final NtpTrustedTime mNtpTime; field in GpsLocationProvider
610 mNtpTime = NtpTrustedTime.getInstance(context); in GpsLocationProvider()
862 if (mNtpTime.getCacheAge() >= NTP_INTERVAL) { in handleInjectNtpTime()
863 mNtpTime.forceRefresh(); in handleInjectNtpTime()
867 if (mNtpTime.getCacheAge() < NTP_INTERVAL) { in handleInjectNtpTime()
868 long time = mNtpTime.getCachedNtpTime(); in handleInjectNtpTime()
869 long timeReference = mNtpTime.getCachedNtpTimeReference(); in handleInjectNtpTime()
870 long certainty = mNtpTime.getCacheCertainty(); in handleInjectNtpTime()