Home
last modified time | relevance | path

Searched refs:ntpConfig (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/util/
DNtpTrustedTime.java265 public void setServerConfigForTests(@NonNull NtpConfig ntpConfig) { in setServerConfigForTests() argument
267 mNtpConfigForTests = ntpConfig; in setServerConfigForTests()
304 NtpConfig ntpConfig = getNtpConfig(); in forceRefreshLocked() local
305 if (ntpConfig == null) { in forceRefreshLocked()
313 + " ntpConfig=" + ntpConfig); in forceRefreshLocked()
316 List<URI> unorderedServerUris = ntpConfig.getServerUris(); in forceRefreshLocked()
359 TimeResult timeResult = queryNtpServer(network, serverUri, ntpConfig.getTimeout()); in forceRefreshLocked()
/frameworks/base/services/core/java/com/android/server/timedetector/
DNetworkTimeUpdateServiceShellCommand.java122 NtpTrustedTime.NtpConfig ntpConfig = new NtpTrustedTime.NtpConfig(serverUris, timeout); in runSetServerConfig() local
123 mNetworkTimeUpdateService.setServerConfigForTests(ntpConfig); in runSetServerConfig()
DNetworkTimeUpdateService.java153 void setServerConfigForTests(@Nullable NtpTrustedTime.NtpConfig ntpConfig) { in setServerConfigForTests() argument
159 mNtpTrustedTime.setServerConfigForTests(ntpConfig); in setServerConfigForTests()