Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/
DDnsPacketTest.java35 private void assertHeaderParses(DnsPacket.DnsHeader header, int id, int flag, in assertHeaderParses()
39 assertEquals(header.getRecordCount(DnsPacket.QDSECTION), qCount); in assertHeaderParses()
40 assertEquals(header.getRecordCount(DnsPacket.ANSECTION), aCount); in assertHeaderParses()
41 assertEquals(header.getRecordCount(DnsPacket.NSSECTION), nsCount); in assertHeaderParses()
42 assertEquals(header.getRecordCount(DnsPacket.ARSECTION), arCount); in assertHeaderParses()
45 private void assertRecordParses(DnsPacket.DnsRecord record, String dname, in assertRecordParses()
54 class TestDnsPacket extends DnsPacket {
105 List<DnsPacket.DnsRecord> qdRecordList = in testV4Answer()
106 packet.getRecordList(DnsPacket.QDSECTION); in testV4Answer()
110 List<DnsPacket.DnsRecord> anRecordList = in testV4Answer()
[all …]
/frameworks/base/core/java/android/net/
DDnsPacket.java38 public abstract class DnsPacket { class
204 private static final String TAG = DnsPacket.class.getSimpleName();
209 protected DnsPacket(@NonNull byte[] data) throws ParseException { in DnsPacket() method in DnsPacket
DDnsResolver.java528 private static class DnsAddressAnswer extends DnsPacket {