Home
last modified time | relevance | path

Searched refs:replySender (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsReplySenderTest.kt155 val replySender = createSender(enableKAS = false) in createSender() constant
161 sendNow(replySender, packet, IPV4_SOCKET_ADDR) in createSender()
196 val replySender = createSender(enableKAS = false) in testQueueReply() constant
199 val (handler, message) = verifyMessageQueued(replySender, listOf(reply)) in testQueueReply()
205 val replySender = createSender(enableKAS = true) in testQueueReply_KnownAnswerSuppressionEnabled() constant
208 val (handler, message) = verifyMessageQueued(replySender, listOf(reply)) in testQueueReply_KnownAnswerSuppressionEnabled()
214 val replySender = createSender(enableKAS = true) in testQueueReply_MultiplePacket() constant
217 verifyMessageQueued(replySender, listOf(reply)) in testQueueReply_MultiplePacket()
222 queueReply(replySender, knownAnswersReply) in testQueueReply_MultiplePacket()
228 val replySender = createSender(enableKAS = true) in testQueueReply_MultiplePacket_LostSubsequentPacket() constant
[all …]
DMdnsProberTest.kt87 replySender: MdnsReplySender, in <lambda>()
90 ) : MdnsProber(looper, replySender, cb, sharedLog) { in <lambda>()
123 val replySender = MdnsReplySender( in <lambda>() constant
125 val prober = TestProber(thread.looper, replySender, cb, sharedLog) in <lambda>()
148 val replySender = MdnsReplySender( in <lambda>() constant
150 val prober = TestProber(thread.looper, replySender, cb, sharedLog) in <lambda>()
187 val replySender = MdnsReplySender( in <lambda>() constant
189 val prober = TestProber(thread.looper, replySender, cb, sharedLog) in <lambda>()
DMdnsInterfaceAdvertiserTest.kt97 private val replySender = mock(MdnsReplySender::class.java) constant in com.android.server.connectivity.mdns.MdnsInterfaceAdvertiserTest
133 doReturn(replySender).`when`(deps).makeReplySender( in setUp()
335 verify(replySender).queueReply(testReply) in testReplyToQuery()
385 verify(replySender).queueReply(testReply) in testReplyToQuery_TruncatedBitSet()
413 verify(replySender).queueReply(knownAnswersReply) in testReplyToQuery_TruncatedBitSet()
441 verify(replySender).queueReply(knownAnswersReply2) in testReplyToQuery_TruncatedBitSet()
DMdnsAnnouncerTest.kt86 val replySender = MdnsReplySender( in <lambda>() constant
91 val announcer = MdnsAnnouncer(thread.looper, replySender, cb, sharedLog) in <lambda>()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsAnnouncer.java110 @NonNull MdnsReplySender replySender, in MdnsAnnouncer() argument
113 super(looper, replySender, cb, sharedLog, MdnsAdvertiser.DBG); in MdnsAnnouncer()
DMdnsProber.java42 public MdnsProber(@NonNull Looper looper, @NonNull MdnsReplySender replySender, in MdnsProber() argument
44 super(looper, replySender, cb, sharedLog, MdnsAdvertiser.DBG); in MdnsProber()
DMdnsInterfaceAdvertiser.java197 @NonNull MdnsReplySender replySender, in makeMdnsAnnouncer() argument
200 return new MdnsAnnouncer(looper, replySender, cb, in makeMdnsAnnouncer()
207 @NonNull MdnsReplySender replySender, in makeMdnsProber() argument
210 return new MdnsProber(looper, replySender, cb, sharedLog.forSubComponent( in makeMdnsProber()
DMdnsPacketRepeater.java147 protected MdnsPacketRepeater(@NonNull Looper looper, @NonNull MdnsReplySender replySender, in MdnsPacketRepeater() argument
151 mReplySender = replySender; in MdnsPacketRepeater()