Home
last modified time | relevance | path

Searched refs:additionalRecords (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsAnnouncer.java53 @NonNull List<MdnsRecord> additionalRecords) { in BaseAnnouncementInfo() argument
60 additionalRecords); in BaseAnnouncementInfo()
76 List<MdnsRecord> additionalRecords) { in AnnouncementInfo() argument
77 super(serviceId, announcedRecords, additionalRecords); in AnnouncementInfo()
DMdnsPacket.java43 public final List<MdnsRecord> additionalRecords; field in MdnsPacket
49 @NonNull List<MdnsRecord> additionalRecords) { in MdnsPacket() argument
50 this(0, flags, questions, answers, authorityRecords, additionalRecords); in MdnsPacket()
57 @NonNull List<MdnsRecord> additionalRecords) { in MdnsPacket() argument
63 this.additionalRecords = Collections.unmodifiableList(additionalRecords); in MdnsPacket()
DMdnsResponseDecoder.java134 + mdnsPacket.authorityRecords.size() + mdnsPacket.additionalRecords.size()); in augmentResponses()
137 records.addAll(mdnsPacket.additionalRecords); in augmentResponses()
DMdnsInterfaceAdvertiser.java423 + packet.additionalRecords.size() + " additional from " + srcCopy); in handlePacket()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsAnnouncerTest.kt74 additionalRecords: List<MdnsRecord> in <lambda>()
75 ) : AnnouncementInfo(1 /* serviceId */, announcedRecords, additionalRecords) { in <lambda>()
218 val additionalRecords = listOf( in <lambda>() constant
249 val request = TestAnnouncementInfo(announcedRecords, additionalRecords) in <lambda>()
DMdnsInterfaceAdvertiserTest.kt329 assertEquals(0, it.additionalRecords.size) in testReplyToQuery()
379 assertEquals(0, it.additionalRecords.size) in testReplyToQuery_TruncatedBitSet()
407 assertEquals(0, it.additionalRecords.size) in testReplyToQuery_TruncatedBitSet()
435 assertEquals(0, it.additionalRecords.size) in testReplyToQuery_TruncatedBitSet()
467 assertEquals(0, it.additionalRecords.size) in testConflict()
DMdnsPacketTest.kt52 assertEquals(0, packet.additionalRecords.size) in makeFlags()
DMdnsRecordRepositoryTest.kt200 assertEquals(0, packet.additionalRecords.size) in makeFlags()
304 assertEquals(0, packet.additionalRecords.size) in testExitAnnouncements()
335 assertEquals(0, packet.additionalRecords.size) in testExitAnnouncements_WithSubtypes()
505 ), packet.additionalRecords) in testOnProbingSucceeded()
518 assertEquals(0, offloadPacket.additionalRecords.size) in testGetOffloadPacket()
1766 assertEquals(0, packet.additionalRecords.size) in testIncludeInetAddressRecordsInProbing()
2190 assertEquals(0, packet.additionalRecords.size) in testRestartProbingForHostname()
2259 assertThat(packet.additionalRecords).containsExactly( in testRestartAnnouncingForHostname()
DMdnsServiceTypeClientTests.java1234 assertEquals(0, srvTxtQueryPacket.additionalRecords.size()); in testProcessResponse_Resolve()
1275 assertEquals(0, addressQueryPacket.additionalRecords.size()); in testProcessResponse_Resolve()
1525 packetWithoutSubtype.additionalRecords); in testProcessResponse_SubtypeDiscoveryLimitedToSubtype()
1608 packetWithoutSubtype.additionalRecords), socketKey); in testProcessResponse_SubtypeChange()
1626 packetWithoutSubtype.additionalRecords), socketKey); in testProcessResponse_SubtypeChange()
1979 packetWithoutSubtype.additionalRecords); in testSendQueryWithKnownAnswers()
2046 packetWithoutSubtype.additionalRecords); in testSendQueryWithSubTypeWithKnownAnswers()
DMdnsMultinetworkSocketClientTest.java227 assertEquals(0, response.additionalRecords.size()); in testReceivePacket()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/util/
DMdnsUtils.java206 writer.writeUInt16(packet.additionalRecords.size()); // additional records count in writeMdnsPacket()
218 for (MdnsRecord record : packet.additionalRecords) { in writeMdnsPacket()