Home
last modified time | relevance | path

Searched refs:TimeResult (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/util/
DNtpTrustedTime.java53 public static class TimeResult { class in NtpTrustedTime
58 public TimeResult(long timeMillis, long elapsedRealtimeMillis, long certaintyMillis) { in TimeResult() method in NtpTrustedTime.TimeResult
126 private volatile TimeResult mTimeResult;
169 mTimeResult = new TimeResult( in forceRefresh()
197 TimeResult timeResult = mTimeResult; in getCacheAge()
213 TimeResult timeResult = mTimeResult; in currentTimeMillis()
233 TimeResult timeResult = mTimeResult; in getCachedNtpTime()
245 TimeResult timeResult = mTimeResult; in getCachedNtpTimeReference()
254 public TimeResult getCachedTimeResult() { in getCachedTimeResult()
/frameworks/base/services/robotests/src/com/android/server/location/
DNtpTimeHelperTest.java56 NtpTrustedTime.TimeResult result = mock(NtpTrustedTime.TimeResult.class); in handleInjectNtpTime_cachedAgeLow_injectTime()
70 NtpTrustedTime.TimeResult result1 = mock(NtpTrustedTime.TimeResult.class); in handleInjectNtpTime_injectTimeFailed_injectTimeDelayed()
80 NtpTrustedTime.TimeResult result2 = mock(NtpTrustedTime.TimeResult.class); in handleInjectNtpTime_injectTimeFailed_injectTimeDelayed()
/frameworks/base/services/core/java/com/android/server/
DNetworkTimeUpdateService.java157 NtpTrustedTime.TimeResult cachedNtpResult = mTime.getCachedTimeResult(); in onPollNetworkTimeUnderWakeLock()
281 NtpTrustedTime.TimeResult ntpResult = mTime.getCachedTimeResult(); in dump()
DAlarmManagerService.java2166 NtpTrustedTime.TimeResult ntpResult = time.getCachedTimeResult();
/frameworks/base/services/core/java/com/android/server/location/
DNtpTimeHelper.java133 NtpTrustedTime.TimeResult ntpResult = mNtpTime.getCachedTimeResult(); in blockingGetNtpTimeAndInject()