Searched refs:hasActiveService (Results 1 – 4 of 4) sorted by relevance
292 if (!mRecordRepository.hasActiveService(id)) return; in removeService()332 if (!mRecordRepository.hasActiveService(id)) return NO_PACKET; in getServiceRepliedRequestsCount()340 if (!mRecordRepository.hasActiveService(id)) return NO_PACKET; in getSentPacketCount()
1387 public boolean hasActiveService(int serviceId) { in hasActiveService() method in MdnsRecordRepository
153 }.`when`(repository).hasActiveService(anyInt()) in setUp()292 doReturn(false).`when`(repository).hasActiveService(TEST_SERVICE_ID_1) in testDoubleRemove()
275 assertFalse(repository.hasActiveService(TEST_SERVICE_ID_1)) in testHasActiveService()278 assertTrue(repository.hasActiveService(TEST_SERVICE_ID_1)) in testHasActiveService()283 assertTrue(repository.hasActiveService(TEST_SERVICE_ID_1)) in testHasActiveService()286 assertFalse(repository.hasActiveService(TEST_SERVICE_ID_1)) in testHasActiveService()