Searched refs:DnsRecordParser (Results 1 – 8 of 8) sorted by relevance
19 import static com.android.net.module.util.DnsPacketUtils.DnsRecordParser;79 assertThrows(DnsPacket.ParseException.class, () -> DnsRecordParser.parseName( in testParsingAnswerSectionNameCompressed()83 String domainName = DnsRecordParser.parseName( in testParsingAnswerSectionNameCompressed()120 String domainName = DnsRecordParser.parseName( in testParsingAnswerSectionNoNameCompression()125 domainName = DnsRecordParser.parseName( in testParsingAnswerSectionNoNameCompression()136 DnsRecordParser.domainNameToLabels("www.google.com")); in testDomainNameToLabels()138 DnsRecordParser.domainNameToLabels("aaa.")); in testDomainNameToLabels()140 DnsRecordParser.domainNameToLabels("aaa")); in testDomainNameToLabels()142 DnsRecordParser.domainNameToLabels(".")); in testDomainNameToLabels()144 DnsRecordParser.domainNameToLabels("")); in testDomainNameToLabels()[all …]
201 : DnsPacketUtils.DnsRecordParser.domainNameToLabels(mRRName); in build()210 DnsPacketUtils.DnsRecordParser.domainNameToLabels(mTargetName); in build()
25 import com.android.net.module.util.DnsPacketUtils.DnsRecordParser;61 if (!DnsRecordParser.isHostName(domain)) return null; in encode()80 if (!DnsRecordParser.isHostName(domains[i])) { in encode()132 final String domain = DnsRecordParser.parseName(buffer, 0 /* depth */, in decode()134 if (!DnsRecordParser.isHostName(domain)) continue; in decode()
23 import static com.android.net.module.util.DnsPacketUtils.DnsRecordParser.domainNameToLabels;31 import com.android.net.module.util.DnsPacketUtils.DnsRecordParser;290 dName = DnsRecordParser.parseName(buf, 0 /* Parse depth */, in DnsRecord()322 DnsRecordParser.parseName(buf, 0 /* Parse depth */, in parse()387 if (!DnsRecordParser.isHostName(name)) { in requireHostName()
48 public static class DnsRecordParser { class in DnsPacketUtils187 private DnsRecordParser() {} in DnsRecordParser() method in DnsPacketUtils.DnsRecordParser
118 mTargetName = DnsPacketUtils.DnsRecordParser.parseName(buf, 0 /* Parse depth */, in DnsSvcbRecord()
31 import com.android.net.module.util.DnsPacketUtils.DnsRecordParser;148 DnsRecordParser.parseName( in NaptrRecord()
30 import com.android.net.module.util.DnsPacketUtils.DnsRecordParser;113 DnsRecordParser.parseName( in SrvRecord()