Searched refs:isProbing (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/ |
D | MdnsRecordRepository.java | 221 private boolean isProbing; field in MdnsRecordRepository.ServiceRegistration 233 repliedServiceCount, sentPacketCount, exiting, isProbing, ttl); in withSubtypes() 240 int repliedServiceCount, int sentPacketCount, boolean exiting, boolean isProbing, in ServiceRegistration() argument 384 this.isProbing = isProbing; in ServiceRegistration() 401 this.isProbing = probing; in setProbing() 679 if (registration.exiting || registration.isProbing) continue; in getReply() 1036 if (!registration.isProbing) { in restartProbingForHostname() 1055 if (registration.isProbing) { in restartAnnouncingForHostname() 1104 if (otherRegistration.isProbing) { in makeAnnouncementInfo() 1290 if (registration.isProbing) { in conflictForHost() [all …]
|
D | MdnsInterfaceAdvertiser.java | 400 public boolean isProbing(int serviceId) { in isProbing() method in MdnsInterfaceAdvertiser 401 return mRecordRepository.isProbing(serviceId); in isProbing()
|
D | MdnsAdvertiser.java | 176 if (any(mAllAdvertisers, (k, a) -> a.isProbing(serviceId))) return;
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/ |
D | MdnsAdvertiserTest.kt | 195 doReturn(true).`when`(mockInterfaceAdvertiser1).isProbing(anyInt()) in setUp() 196 doReturn(true).`when`(mockInterfaceAdvertiser2).isProbing(anyInt()) in setUp() 253 doReturn(false).`when`(mockInterfaceAdvertiser1).isProbing(SERVICE_ID_1) in testAddService_OneNetwork() 320 doReturn(false).`when`(mockInterfaceAdvertiser1).isProbing(SERVICE_ID_1) in testAddService_AllNetworksWithSubType() 327 doReturn(false).`when`(mockInterfaceAdvertiser2).isProbing(SERVICE_ID_1) in testAddService_AllNetworksWithSubType() 404 doReturn(false).`when`(mockInterfaceAdvertiser1).isProbing(SERVICE_ID_1) in testAddService_OffloadPriority() 405 doReturn(false).`when`(mockInterfaceAdvertiser1).isProbing(SERVICE_ID_2) in testAddService_OffloadPriority() 406 doReturn(false).`when`(mockInterfaceAdvertiser1).isProbing(SERVICE_ID_3) in testAddService_OffloadPriority() 502 doReturn(false).`when`(mockInterfaceAdvertiser1).isProbing(SERVICE_ID_1) in testAddService_Conflicts() 507 doReturn(false).`when`(mockInterfaceAdvertiser1).isProbing(SERVICE_ID_2) in testAddService_Conflicts()
|
D | MdnsRecordRepositoryTest.kt | 192 assertTrue(repository.isProbing(TEST_SERVICE_ID_1)) in makeFlags() 1759 assertTrue(repository.isProbing(TEST_SERVICE_ID_1)) in testIncludeInetAddressRecordsInProbing()
|