Searched refs:parseNtpServerSetting (Results 1 – 2 of 2) sorted by relevance
100 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()
548 public static List<URI> parseNtpServerSetting(@Nullable String ntpServerSetting) { in parseNtpServerSetting() method in NtpTrustedTime649 final List<URI> settingsServerUris = parseNtpServerSetting(serverGlobalSetting); in getNtpConfigInternal()