Searched refs:QDSECTION (Results 1 – 10 of 10) sorted by relevance
148 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 DnsPacket505 QDSECTION,555 mRecords[QDSECTION] = Collections.unmodifiableList(new ArrayList<>(qd)); in DnsPacket()
49 final int questions = mHeader.getRecordCount(QDSECTION); in DnsSvcbPacket()53 final int nsType = mRecords[QDSECTION].get(0).nsType; in DnsSvcbPacket()
105 if (rType == DnsPacket.QDSECTION) { in DnsSvcbRecord()199 if (rType == DnsPacket.QDSECTION) { in toString()
58 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()
155 get() = mRecords[QDSECTION]160 val qr = ArrayList(mRecords[QDSECTION]) in getAnswerPacket()
176 int numQueries = mHeader.getRecordCount(QDSECTION); in NaptrResponse()182 mQueryType = mRecords[QDSECTION].get(0).nsType; in NaptrResponse()
136 int numQueries = mHeader.getRecordCount(QDSECTION); in SrvResponse()141 mQueryType = mRecords[QDSECTION].get(0).nsType; in SrvResponse()
33 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);
557 if (mHeader.getRecordCount(QDSECTION) == 0) { in DnsAddressAnswer()561 mQueryType = mRecords[QDSECTION].get(0).nsType; in DnsAddressAnswer()
244 return mHeader.getRecordCount(QDSECTION); in getQDCount()