Searched refs:ANSECTION (Results 1 – 12 of 12) sorted by relevance
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | DnsPacketTest.java | 59 assertEquals(header.getRecordCount(DnsPacket.ANSECTION), aCount); in assertHeaderParses() 135 packet.getRecordList(DnsPacket.ANSECTION); in testV4Answer() 177 packet.getRecordList(DnsPacket.ANSECTION); in testV6Answer() 198 DnsPacket.DnsRecord.makeAOrAAAARecord(DnsPacket.ANSECTION, in testDnsRecordSynthesize() 202 assertDnsRecordRoundTrip(DnsPacket.DnsRecord.makeCNameRecord(DnsPacket.ANSECTION, in testDnsRecordSynthesize() 226 assertTrue(DnsPacket.DnsRecord.parse(DnsPacket.ANSECTION, in testDnsRecordParse() 257 DnsPacket.DnsRecord.parse(DnsPacket.ANSECTION, ByteBuffer.wrap(anWithoutTTLRData))); in testDnsRecordTTLRDataErrorHandling() 319 DnsPacket.ANSECTION, "hello.example.com", CLASS_IN, 0 /* ttl */, "test.com")); in testDnsPacketSynthesize() 321 DnsPacket.ANSECTION, "hello.example.com", CLASS_IN, 0 /* ttl */, in testDnsPacketSynthesize() 345 DnsPacket.ANSECTION, "hello.example.com", CLASS_IN, 0 /* ttl */, "test.com")); in testDnsPacketSynthesize_recordCountMismatch() [all …]
|
D | DnsSvcbPacketTest.java | 135 return new DnsSvcbRecord(DnsPacket.ANSECTION, ByteBuffer.wrap(data)); in makeDnsSvcbRecordFromByteArray()
|
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/ |
D | DnsAnswerProvider.kt | 21 import com.android.net.module.util.DnsPacket.ANSECTION 60 DnsPacket.DnsRecord.makeAOrAAAARecord(ANSECTION, query, CLASS_IN, DEFAULT_TTL_S, it) in <lambda>()
|
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/ |
D | DnsPacket.java | 149 mRecordCount[ANSECTION] = ancount; in DnsHeader() 497 public static final int ANSECTION = 1; field in DnsPacket 506 ANSECTION, 556 mRecords[ANSECTION] = Collections.unmodifiableList(new ArrayList<>(an)); in DnsPacket()
|
D | DnsSvcbPacket.java | 126 for (final DnsRecord record : mRecords[ANSECTION]) { in findSvcbRecord()
|
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/ |
D | NaptrDnsResolver.java | 190 if (mHeader.getRecordCount(ANSECTION) == 0) return naptrRecords; in parseNaptrRecords() 192 for (final DnsRecord ansSec : mRecords[ANSECTION]) { in parseNaptrRecords()
|
D | SrvDnsResolver.java | 151 if (mHeader.getRecordCount(ANSECTION) == 0) return targetNameToSrvRecord; in parseSrvRecords() 153 for (final DnsRecord ansSec : mRecords[ANSECTION]) { in parseSrvRecords()
|
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/ |
D | TetheringTester.java | 30 import static com.android.net.module.util.DnsPacket.ANSECTION; 538 return mHeader.getRecordCount(ANSECTION); 581 return isRecordsEquals(ANSECTION, other); 639 if (forwardedDns.getRecordList(ANSECTION).isEmpty()) return false; 900 alist.add(DnsRecord.makeAOrAAAARecord(ANSECTION, PREF64_IPV4ONLY_HOSTNAME, CLASS_IN, TTL,
|
/packages/modules/NetworkStack/tests/unit/src/android/net/testutils/ |
D | DnsAnswerProviderTest.kt | 100 DnsPacket.DnsRecord.makeAOrAAAARecord(DnsPacket.ANSECTION, dName, CLASS_IN, 5 /* ttl */, in <lambda>()
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/testutils/ |
D | TestDnsServerTest.kt | 93 val alist = listOf(DnsRecord.makeAOrAAAARecord(DnsPacket.ANSECTION, TEST_DOMAIN, in testHandleDnsQuery()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | DnsResolver.java | 566 if (mHeader.getRecordCount(ANSECTION) == 0) return results; in getAddresses() 568 for (final DnsRecord ansSec : mRecords[ANSECTION]) { in getAddresses()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | DnsResolverTest.java | 240 return mHeader.getRecordCount(ANSECTION); in getANCount()
|