Home
last modified time | relevance | path

Searched refs:announcementInfos (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsInterfaceAdvertiser.java142 final List<MdnsAnnouncer.AnnouncementInfo> announcementInfos = in onFinished() local
144 announcementInfos.removeIf((i) -> i.getServiceId() == info.getServiceId()); in onFinished()
145 reannounceServices(announcementInfos); in onFinished()
322 final List<MdnsAnnouncer.AnnouncementInfo> announcementInfos = in removeService() local
324 reannounceServices(announcementInfos); in removeService()
478 private void reannounceServices(List<MdnsAnnouncer.AnnouncementInfo> announcementInfos) { in reannounceServices() argument
479 for (MdnsAnnouncer.AnnouncementInfo announcementInfo : announcementInfos) { in reannounceServices()
DMdnsRecordRepository.java1051 final ArrayList<MdnsAnnouncer.AnnouncementInfo> announcementInfos = new ArrayList<>(); in restartAnnouncingForHostname() local
1058 announcementInfos.add(makeAnnouncementInfo(id, registration)); in restartAnnouncingForHostname()
1060 return announcementInfos; in restartAnnouncingForHostname()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsRecordRepositoryTest.kt2215 val announcementInfos = repository.restartAnnouncingForHostname("TestHost") in testRestartAnnouncingForHostname() constant
2217 assertEquals(1, announcementInfos.size) in testRestartAnnouncingForHostname()
2218 val announcementInfo = announcementInfos.get(0) in testRestartAnnouncingForHostname()