Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsPacketTest.kt51 assertEquals(4, packet.authorityRecords.size) in makeFlags()
60 packet.authorityRecords.forEach { in makeFlags()
67 (packet.authorityRecords[0] as MdnsInetAddressRecord).inet4Address!!) in makeFlags()
69 (packet.authorityRecords[1] as MdnsInetAddressRecord).inet6Address!!) in makeFlags()
71 (packet.authorityRecords[2] as MdnsInetAddressRecord).inet6Address!!) in makeFlags()
73 (packet.authorityRecords[3] as MdnsInetAddressRecord).inet6Address!!) in makeFlags()
DMdnsInterfaceAdvertiserTest.kt328 assertEquals(0, it.authorityRecords.size) in testReplyToQuery()
378 assertEquals(0, it.authorityRecords.size) in testReplyToQuery_TruncatedBitSet()
406 assertEquals(0, it.authorityRecords.size) in testReplyToQuery_TruncatedBitSet()
434 assertEquals(0, it.authorityRecords.size) in testReplyToQuery_TruncatedBitSet()
466 assertEquals(0, it.authorityRecords.size) in testConflict()
DMdnsRecordRepositoryTest.kt206 assertEquals(1, packet.authorityRecords.size) in makeFlags()
212 TEST_PORT, TEST_HOSTNAME), packet.authorityRecords[0]) in makeFlags()
303 assertEquals(0, packet.authorityRecords.size) in testExitAnnouncements()
334 assertEquals(0, packet.authorityRecords.size) in testExitAnnouncements_WithSubtypes()
387 assertEquals(0, packet.authorityRecords.size) in testOnProbingSucceeded()
519 assertEquals(0, offloadPacket.authorityRecords.size) in testGetOffloadPacket()
1775 assertEquals(4, packet.authorityRecords.size) in testIncludeInetAddressRecordsInProbing()
1804 ), packet.authorityRecords) in testIncludeInetAddressRecordsInProbing()
2194 assertThat(packet.authorityRecords).containsExactly( in testRestartProbingForHostname()
2224 assertEquals(0, packet.authorityRecords.size) in testRestartAnnouncingForHostname()
DMdnsServiceTypeClientTests.java1233 assertEquals(0, srvTxtQueryPacket.authorityRecords.size()); in testProcessResponse_Resolve()
1274 assertEquals(0, addressQueryPacket.authorityRecords.size()); in testProcessResponse_Resolve()
1524 packetWithoutSubtype.authorityRecords, in testProcessResponse_SubtypeDiscoveryLimitedToSubtype()
1607 packetWithoutSubtype.authorityRecords, in testProcessResponse_SubtypeChange()
1625 packetWithoutSubtype.authorityRecords, in testProcessResponse_SubtypeChange()
1978 packetWithoutSubtype.authorityRecords, in testSendQueryWithKnownAnswers()
2045 packetWithoutSubtype.authorityRecords, in testSendQueryWithSubTypeWithKnownAnswers()
DMdnsMultinetworkSocketClientTest.java228 assertEquals(0, response.authorityRecords.size()); in testReceivePacket()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsPacket.java41 public final List<MdnsRecord> authorityRecords; field in MdnsPacket
48 @NonNull List<MdnsRecord> authorityRecords, in MdnsPacket() argument
50 this(0, flags, questions, answers, authorityRecords, additionalRecords); in MdnsPacket()
56 @NonNull List<MdnsRecord> authorityRecords, in MdnsPacket() argument
62 this.authorityRecords = Collections.unmodifiableList(authorityRecords); in MdnsPacket()
DMdnsResponseDecoder.java134 + mdnsPacket.authorityRecords.size() + mdnsPacket.additionalRecords.size()); in augmentResponses()
136 records.addAll(mdnsPacket.authorityRecords); in augmentResponses()
DMdnsInterfaceAdvertiser.java422 + packet.authorityRecords.size() + " authority, " in handlePacket()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/util/
DMdnsUtils.java205 writer.writeUInt16(packet.authorityRecords.size()); // authority entries count in writeMdnsPacket()
215 for (MdnsRecord record : packet.authorityRecords) { in writeMdnsPacket()