Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/util/
DNtpTrustedTimeTest.java100 assertEquals(createUris("ntp://foobar"), NtpTrustedTime.parseNtpServerSetting("foobar")); in testParseNtpServerSetting()
105 assertNull(NtpTrustedTime.parseNtpServerSetting("foobar:123")); in testParseNtpServerSetting()
106 assertNull(NtpTrustedTime.parseNtpServerSetting("/foobar")); in testParseNtpServerSetting()
111 NtpTrustedTime.parseNtpServerSetting(badNtpUri)); in testParseNtpServerSetting()
116 List<URI> uris = NtpTrustedTime.parseNtpServerSetting(goodNtpUri.first); in testParseNtpServerSetting()
133 assertNull(NtpTrustedTime.parseNtpServerSetting( in testParseNtpServerSetting()
135 assertNull(NtpTrustedTime.parseNtpServerSetting( in testParseNtpServerSetting()
158 NtpTrustedTime.parseNtpServerSetting(settingsString)); in assertParseNtpServerSettingResult()
/frameworks/base/core/java/android/util/
DNtpTrustedTime.java548 public static List<URI> parseNtpServerSetting(@Nullable String ntpServerSetting) { in parseNtpServerSetting() method in NtpTrustedTime
649 final List<URI> settingsServerUris = parseNtpServerSetting(serverGlobalSetting); in getNtpConfigInternal()