Home
last modified time | relevance | path

Searched refs:getRecordCount (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DDnsPacketTest.java58 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()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DDnsSvcbPacket.java49 final int questions = mHeader.getRecordCount(QDSECTION); in DnsSvcbPacket()
143 if (mHeader.getRecordCount(ARSECTION) == 0) { in getAddressesFromAdditionalSection()
DDnsPacket.java155 public int getRecordCount(int type) { in getRecordCount() method in DnsPacket.DnsHeader
534 final int count = mHeader.getRecordCount(i); in DnsPacket()
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DSrvDnsResolver.java136 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()
DNaptrDnsResolver.java176 int numQueries = mHeader.getRecordCount(QDSECTION); in NaptrResponse()
190 if (mHeader.getRecordCount(ANSECTION) == 0) return naptrRecords; in parseNaptrRecords()
/packages/modules/Connectivity/framework/src/android/net/
DDnsResolver.java557 if (mHeader.getRecordCount(QDSECTION) == 0) { in DnsAddressAnswer()
566 if (mHeader.getRecordCount(ANSECTION) == 0) return results; in getAddresses()
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/
DTetheringTester.java538 return mHeader.getRecordCount(ANSECTION);
542 return mHeader.getRecordCount(QDSECTION);
546 return mHeader.getRecordCount(NSSECTION);
550 return mHeader.getRecordCount(ARSECTION);
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DDnsResolverTest.java240 return mHeader.getRecordCount(ANSECTION); in getANCount()
244 return mHeader.getRecordCount(QDSECTION); in getQDCount()
/packages/services/Telephony/src/com/android/phone/
DSimPhonebookProvider.java164 private static int getRecordCount(int[] recordsSize) { in getRecordCount() method in SimPhonebookProvider
338 if (recordsSize == null || getRecordCount(recordsSize) == 0) { in addEfToCursor()