Searched refs:getRecordCount (Results 1 – 9 of 9) sorted by relevance
58 assertEquals(header.getRecordCount(DnsPacket.QDSECTION), qCount); in assertHeaderParses()59 assertEquals(header.getRecordCount(DnsPacket.ANSECTION), aCount); in assertHeaderParses()60 assertEquals(header.getRecordCount(DnsPacket.NSSECTION), nsCount); in assertHeaderParses()61 assertEquals(header.getRecordCount(DnsPacket.ARSECTION), arCount); in assertHeaderParses()370 assertEquals(0, packetFromTooMuchData.getHeader().getRecordCount(i)); in testDnsPacketSynthesize_recordCountMismatch()
49 final int questions = mHeader.getRecordCount(QDSECTION); in DnsSvcbPacket()143 if (mHeader.getRecordCount(ARSECTION) == 0) { in getAddressesFromAdditionalSection()
155 public int getRecordCount(int type) { in getRecordCount() method in DnsPacket.DnsHeader534 final int count = mHeader.getRecordCount(i); in DnsPacket()
136 int numQueries = mHeader.getRecordCount(QDSECTION); in SrvResponse()151 if (mHeader.getRecordCount(ANSECTION) == 0) return targetNameToSrvRecord; in parseSrvRecords()178 if (mHeader.getRecordCount(ARSECTION) == 0) return domainNameToIpAddress; in parseIpAddresses()
176 int numQueries = mHeader.getRecordCount(QDSECTION); in NaptrResponse()190 if (mHeader.getRecordCount(ANSECTION) == 0) return naptrRecords; in parseNaptrRecords()
557 if (mHeader.getRecordCount(QDSECTION) == 0) { in DnsAddressAnswer()566 if (mHeader.getRecordCount(ANSECTION) == 0) return results; in getAddresses()
538 return mHeader.getRecordCount(ANSECTION);542 return mHeader.getRecordCount(QDSECTION);546 return mHeader.getRecordCount(NSSECTION);550 return mHeader.getRecordCount(ARSECTION);
240 return mHeader.getRecordCount(ANSECTION); in getANCount()244 return mHeader.getRecordCount(QDSECTION); in getQDCount()
164 private static int getRecordCount(int[] recordsSize) { in getRecordCount() method in SimPhonebookProvider338 if (recordsSize == null || getRecordCount(recordsSize) == 0) { in addEfToCursor()