Home
last modified time | relevance | path

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

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsInterfaceAdvertiser.java125 final MdnsAnnouncer.AnnouncementInfo announcementInfo; in onFinished() local
130 announcementInfo = mRecordRepository.onProbingSucceeded(info); in onFinished()
136 mAnnouncer.startSending(info.getServiceId(), announcementInfo, in onFinished() local
479 for (MdnsAnnouncer.AnnouncementInfo announcementInfo : announcementInfos) { in reannounceServices()
480 mAnnouncer.stop(announcementInfo.getServiceId()); in reannounceServices()
482 announcementInfo.getServiceId(), announcementInfo, 0 /* initialDelayMs */); in reannounceServices() local
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsInterfaceAdvertiserTest.kt231 val announcementInfo = in testAddRemoveServiceWithCustomHost_restartAnnouncingForProbedServices() constant
235 doReturn(listOf(announcementInfo)) in testAddRemoveServiceWithCustomHost_restartAnnouncingForProbedServices()
246 …inOrder.verify(announcer).startSending(TEST_SERVICE_ID_2, announcementInfo, 0L /* initialDelayMs *… in testAddRemoveServiceWithCustomHost_restartAnnouncingForProbedServices()
DMdnsRecordRepositoryTest.kt379 val announcementInfo = repository.initWithService(TEST_SERVICE_ID_1, TEST_SERVICE_1, in testOnProbingSucceeded() constant
382 val packet = announcementInfo.getPacket(0) in testOnProbingSucceeded()
2218 val announcementInfo = announcementInfos.get(0) in testRestartAnnouncingForHostname() constant
2219 assertEquals(TEST_SERVICE_CUSTOM_HOST_ID_1, announcementInfo.serviceId) in testRestartAnnouncingForHostname()
2220 val packet = announcementInfo.getPacket(0) in testRestartAnnouncingForHostname()