Home
last modified time | relevance | path

Searched refs:NtpTrustedTime (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/robotests/src/com/android/server/location/
DNtpTimeHelperTest.java11 import android.util.NtpTrustedTime;
36 private NtpTrustedTime mMockNtpTrustedTime;
56 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/location/
DNtpTimeHelper.java11 import android.util.NtpTrustedTime;
56 private final NtpTrustedTime mNtpTime;
78 NtpTrustedTime ntpTime) { in NtpTimeHelper()
88 this(context, looper, callback, NtpTrustedTime.getInstance(context)); in NtpTimeHelper()
133 NtpTrustedTime.TimeResult ntpResult = mNtpTime.getCachedTimeResult(); in blockingGetNtpTimeAndInject()
/frameworks/base/core/java/android/util/
DNtpTrustedTime.java46 public class NtpTrustedTime implements TrustedTime { class
99 private static NtpTrustedTime sSingleton;
128 private NtpTrustedTime(Context context) { in NtpTrustedTime() method in NtpTrustedTime
133 public static synchronized NtpTrustedTime getInstance(Context context) { in getInstance()
136 sSingleton = new NtpTrustedTime(appContext); in getInstance()
/frameworks/base/services/core/java/com/android/server/
DNetworkTimeUpdateService.java42 import android.util.NtpTrustedTime;
75 private final NtpTrustedTime mTime;
100 mTime = NtpTrustedTime.getInstance(context); in NetworkTimeUpdateService()
157 NtpTrustedTime.TimeResult cachedNtpResult = mTime.getCachedTimeResult(); in onPollNetworkTimeUnderWakeLock()
281 NtpTrustedTime.TimeResult ntpResult = mTime.getCachedTimeResult(); in dump()
DAlarmManagerService.java82 import android.util.NtpTrustedTime;
2165 final NtpTrustedTime time = NtpTrustedTime.getInstance(getContext());
2166 NtpTrustedTime.TimeResult ntpResult = time.getCachedTimeResult();
/frameworks/base/config/
Dboot-image-profile.txt15640 HSPLandroid/util/NtpTrustedTime;->currentTimeMillis()J
15641 HSPLandroid/util/NtpTrustedTime;->forceRefresh()Z
15642 HSPLandroid/util/NtpTrustedTime;->forceRefresh(Landroid/net/Network;)Z
15643 HSPLandroid/util/NtpTrustedTime;->getCacheAge()J
15644 HSPLandroid/util/NtpTrustedTime;->getCacheCertainty()J
15645 HSPLandroid/util/NtpTrustedTime;->getCachedNtpTime()J
15646 HSPLandroid/util/NtpTrustedTime;->getCachedNtpTimeReference()J
15647 HSPLandroid/util/NtpTrustedTime;->getInstance(Landroid/content/Context;)Landroid/util/NtpTrustedTim…
15648 HSPLandroid/util/NtpTrustedTime;->hasCache()Z
36324 Landroid/util/NtpTrustedTime;
Dhiddenapi-greylist-max-o.txt72106 Landroid/util/NtpTrustedTime;-><init>(Ljava/lang/String;J)V
72107 Landroid/util/NtpTrustedTime;->forceRefresh(Landroid/net/Network;)Z
72108 Landroid/util/NtpTrustedTime;->getCacheAge()J
72109 Landroid/util/NtpTrustedTime;->getCacheCertainty()J
72110 Landroid/util/NtpTrustedTime;->LOGD:Z
72111 Landroid/util/NtpTrustedTime;->mCachedNtpCertainty:J
72112 Landroid/util/NtpTrustedTime;->mCachedNtpElapsedRealtime:J
72113 Landroid/util/NtpTrustedTime;->mCachedNtpTime:J
72114 Landroid/util/NtpTrustedTime;->mCM:Landroid/net/ConnectivityManager;
72115 Landroid/util/NtpTrustedTime;->mHasCache:Z
[all …]
/frameworks/base/services/
Dart-profile8206 …er;Lcom/android/server/location/NtpTimeHelper$InjectNtpTimeCallback;Landroid/util/NtpTrustedTime;)V