Home
last modified time | relevance | path

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

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsInterfaceAdvertiser.java374 final MdnsProber.ProbingInfo probingInfo = mRecordRepository.setServiceProbing(serviceId); in maybeRestartProbingForConflict() local
375 if (probingInfo == null) return false; in maybeRestartProbingForConflict()
378 mProber.restartForConflict(probingInfo); in maybeRestartProbingForConflict()
388 final MdnsProber.ProbingInfo probingInfo = mRecordRepository.renameServiceForConflict( in renameServiceForConflict() local
390 if (probingInfo == null) return; in renameServiceForConflict()
392 mProber.restartForConflict(probingInfo); in renameServiceForConflict()
472 for (MdnsProber.ProbingInfo probingInfo : probingInfos) { in reprobeServices()
473 mProber.stop(probingInfo.getServiceId()); in reprobeServices()
474 mProber.startProbing(probingInfo); in reprobeServices()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsRecordRepositoryTest.kt190 val probingInfo = repository.setServiceProbing(TEST_SERVICE_ID_1) in makeFlags() constant
191 assertNotNull(probingInfo) in makeFlags()
194 assertEquals(TEST_SERVICE_ID_1, probingInfo.serviceId) in makeFlags()
195 val packet = probingInfo.getPacket(0) in makeFlags()
280 val probingInfo = repository.setServiceProbing(TEST_SERVICE_ID_1) in testHasActiveService() constant
281 repository.onProbingSucceeded(probingInfo) in testHasActiveService()
1757 val probingInfo = repository.setServiceProbing(TEST_SERVICE_ID_1) in testIncludeInetAddressRecordsInProbing() constant
1758 assertNotNull(probingInfo) in testIncludeInetAddressRecordsInProbing()
1761 assertEquals(TEST_SERVICE_ID_1, probingInfo.serviceId) in testIncludeInetAddressRecordsInProbing()
1762 val packet = probingInfo.getPacket(0) in testIncludeInetAddressRecordsInProbing()
[all …]
DMdnsInterfaceAdvertiserTest.kt204 val probingInfo = mock(ProbingInfo::class.java) in testAddRemoveServiceWithCustomHost_restartProbingForProbingServices() constant
207 doReturn(TEST_SERVICE_ID_2).`when`(probingInfo).serviceId in testAddRemoveServiceWithCustomHost_restartProbingForProbingServices()
208 doReturn(listOf(probingInfo)) in testAddRemoveServiceWithCustomHost_restartProbingForProbingServices()
219 inOrder.verify(prober).startProbing(probingInfo) in testAddRemoveServiceWithCustomHost_restartProbingForProbingServices()