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.DnsHeader541 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()
171 int numQueries = mHeader.getRecordCount(QDSECTION); in NaptrResponse()185 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()
586 return mHeader.getRecordCount(ANSECTION);590 return mHeader.getRecordCount(QDSECTION);594 return mHeader.getRecordCount(NSSECTION);598 return mHeader.getRecordCount(ARSECTION);
241 return mHeader.getRecordCount(ANSECTION); in getANCount()245 return mHeader.getRecordCount(QDSECTION); in getQDCount()
165 private static int getRecordCount(int[] recordsSize) { in getRecordCount() method in SimPhonebookProvider339 if (recordsSize == null || getRecordCount(recordsSize) == 0) { in addEfToCursor()