Home
last modified time | relevance | path

Searched refs:MdnsAnnouncer (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsInterfaceAdvertiser.java33 import com.android.server.connectivity.mdns.MdnsAnnouncer.BaseAnnouncementInfo;
69 private final MdnsAnnouncer mAnnouncer;
125 final MdnsAnnouncer.AnnouncementInfo announcementInfo; in onFinished()
142 final List<MdnsAnnouncer.AnnouncementInfo> announcementInfos = in onFinished()
161 if (info instanceof MdnsAnnouncer.ExitAnnouncementInfo) { in onFinished()
196 public MdnsAnnouncer makeMdnsAnnouncer(@NonNull String interfaceTag, @NonNull Looper looper, in makeMdnsAnnouncer()
198 @Nullable PacketRepeaterCallback<MdnsAnnouncer.BaseAnnouncementInfo> cb, in makeMdnsAnnouncer()
200 return new MdnsAnnouncer(looper, replySender, cb, in makeMdnsAnnouncer()
202 MdnsAnnouncer.class.getSimpleName() + "/" + interfaceTag)); in makeMdnsAnnouncer()
296 final MdnsAnnouncer.ExitAnnouncementInfo exitInfo = mRecordRepository.exitService(id); in removeService()
[all …]
DMdnsAnnouncer.java37 public class MdnsAnnouncer extends MdnsPacketRepeater<MdnsAnnouncer.BaseAnnouncementInfo> { class
109 public MdnsAnnouncer(@NonNull Looper looper, in MdnsAnnouncer() method in MdnsAnnouncer
DMdnsRecordRepository.java564 public MdnsAnnouncer.ExitAnnouncementInfo exitService(int id) { in exitService()
589 return new MdnsAnnouncer.ExitAnnouncementInfo(id, expiredRecords); in exitService()
1049 public List<MdnsAnnouncer.AnnouncementInfo> restartAnnouncingForHostname( in restartAnnouncingForHostname()
1051 final ArrayList<MdnsAnnouncer.AnnouncementInfo> announcementInfos = new ArrayList<>(); in restartAnnouncingForHostname()
1069 public MdnsAnnouncer.AnnouncementInfo onProbingSucceeded( in onProbingSucceeded()
1088 private MdnsAnnouncer.AnnouncementInfo makeAnnouncementInfo( in makeAnnouncementInfo()
1121 return new MdnsAnnouncer.AnnouncementInfo(serviceId, in makeAnnouncementInfo()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsAnnouncerTest.kt25 import com.android.server.connectivity.mdns.MdnsAnnouncer.AnnouncementInfo in <lambda>()
26 import com.android.server.connectivity.mdns.MdnsAnnouncer.BaseAnnouncementInfo in <lambda>()
91 val announcer = MdnsAnnouncer(thread.looper, replySender, cb, sharedLog) in <lambda>()
269 verify(socket, timeout(TEST_TIMEOUT_MS).times(MdnsAnnouncer.ANNOUNCEMENT_COUNT)) in <lambda>()
DMdnsInterfaceAdvertiserTest.kt26 import com.android.server.connectivity.mdns.MdnsAnnouncer.AnnouncementInfo in <lambda>()
27 import com.android.server.connectivity.mdns.MdnsAnnouncer.BaseAnnouncementInfo in <lambda>()
28 import com.android.server.connectivity.mdns.MdnsAnnouncer.ExitAnnouncementInfo in <lambda>()
98 private val announcer = mock(MdnsAnnouncer::class.java)
DMdnsRecordRepositoryTest.kt25 import com.android.server.connectivity.mdns.MdnsAnnouncer.AnnouncementInfo in <lambda>()
/packages/modules/Connectivity/service-t/
DAndroid.bp114 "src/com/android/server/connectivity/mdns/MdnsAnnouncer.java",