Home
last modified time | relevance | path

Searched refs:NUM_SECTIONS (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DDnsPacket.java122 mRecordCount = new int[NUM_SECTIONS]; in DnsHeader()
123 for (int i = 0; i < NUM_SECTIONS; ++i) { in DnsHeader()
147 mRecordCount = new int[NUM_SECTIONS]; in DnsHeader()
204 for (int i = 0; i < NUM_SECTIONS; ++i) { in getBytes()
419 if (rType < 0 || rType >= NUM_SECTIONS || rType == QDSECTION) { in DnsRecord()
501 static final int NUM_SECTIONS = ARSECTION + 1; field in DnsPacket
531 mRecords = new ArrayList[NUM_SECTIONS]; in DnsPacket()
533 for (int i = 0; i < NUM_SECTIONS; ++i) { in DnsPacket()
554 mRecords = new List[NUM_SECTIONS]; in DnsPacket()
559 for (int i = 0; i < NUM_SECTIONS; i++) { in DnsPacket()
[all …]
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DDnsPacketTest.java368 for (int i = 0; i < DnsPacket.NUM_SECTIONS; i++) { in testDnsPacketSynthesize_recordCountMismatch()