Home
last modified time | relevance | path

Searched refs:QDSECTION (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DDnsPacket.java148 mRecordCount[QDSECTION] = qdcount; in DnsHeader()
299 if (rType != QDSECTION) { in DnsRecord()
398 this.rType = QDSECTION; in DnsRecord()
419 if (rType < 0 || rType >= NUM_SECTIONS || rType == QDSECTION) { in DnsRecord()
444 if (rType != QDSECTION) { in getBytes()
496 public static final int QDSECTION = 0; field in DnsPacket
505 QDSECTION,
555 mRecords[QDSECTION] = Collections.unmodifiableList(new ArrayList<>(qd)); in DnsPacket()
DDnsSvcbPacket.java49 final int questions = mHeader.getRecordCount(QDSECTION); in DnsSvcbPacket()
53 final int nsType = mRecords[QDSECTION].get(0).nsType; in DnsSvcbPacket()
DDnsSvcbRecord.java105 if (rType == DnsPacket.QDSECTION) { in DnsSvcbRecord()
199 if (rType == DnsPacket.QDSECTION) { in toString()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DDnsPacketTest.java58 assertEquals(header.getRecordCount(DnsPacket.QDSECTION), qCount); in assertHeaderParses()
130 packet.getRecordList(DnsPacket.QDSECTION); in testV4Answer()
172 packet.getRecordList(DnsPacket.QDSECTION); in testV6Answer()
214 assertTrue(DnsPacket.DnsRecord.parse(DnsPacket.QDSECTION, in testDnsRecordParse()
246 DnsPacket.DnsRecord.parse(DnsPacket.QDSECTION, ByteBuffer.wrap(qdWithTTLRData)); in testDnsRecordTTLRDataErrorHandling()
420 final DnsPacket.DnsRecord questionFromBytes = DnsPacket.DnsRecord.parse(DnsPacket.QDSECTION, in testEqualsAndHashCode()
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DTestDnsServer.kt155 get() = mRecords[QDSECTION]
160 val qr = ArrayList(mRecords[QDSECTION]) in getAnswerPacket()
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DNaptrDnsResolver.java176 int numQueries = mHeader.getRecordCount(QDSECTION); in NaptrResponse()
182 mQueryType = mRecords[QDSECTION].get(0).nsType; in NaptrResponse()
DSrvDnsResolver.java136 int numQueries = mHeader.getRecordCount(QDSECTION); in SrvResponse()
141 mQueryType = mRecords[QDSECTION].get(0).nsType; in SrvResponse()
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/
DTetheringTester.java33 import static com.android.net.module.util.DnsPacket.QDSECTION;
542 return mHeader.getRecordCount(QDSECTION);
577 return isRecordsEquals(QDSECTION, other);
631 if (forwardedDns.getRecordList(QDSECTION).isEmpty()) return false;
933 final List<DnsRecord> qdRecordList = pref64Query.getRecordList(QDSECTION);
/packages/modules/Connectivity/framework/src/android/net/
DDnsResolver.java557 if (mHeader.getRecordCount(QDSECTION) == 0) { in DnsAddressAnswer()
561 mQueryType = mRecords[QDSECTION].get(0).nsType; in DnsAddressAnswer()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DDnsResolverTest.java244 return mHeader.getRecordCount(QDSECTION); in getQDCount()