Searched refs:isHostName (Results 1 – 4 of 4) sorted by relevance
149 Assert.assertTrue(DnsRecordParser.isHostName("www.google.com")); in testIsHostName()150 Assert.assertFalse(DnsRecordParser.isHostName("com")); in testIsHostName()151 Assert.assertFalse(DnsRecordParser.isHostName("1.2.3.4")); in testIsHostName()152 Assert.assertFalse(DnsRecordParser.isHostName("1234::5678")); in testIsHostName()153 Assert.assertFalse(DnsRecordParser.isHostName(null)); in testIsHostName()154 Assert.assertFalse(DnsRecordParser.isHostName("")); in testIsHostName()
61 if (!DnsRecordParser.isHostName(domain)) return null; in encode()80 if (!DnsRecordParser.isHostName(domains[i])) { in encode()134 if (!DnsRecordParser.isHostName(domain)) continue; in decode()
99 if (!isHostName(name)) { in domainNameToLabels()122 public static boolean isHostName(@Nullable String hostName) { in isHostName() method in DnsPacketUtils.DnsRecordParser
387 if (!DnsRecordParser.isHostName(name)) { in requireHostName()