Home
last modified time | relevance | path

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

/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DHostEmulationManagerTest.java244 ApduServiceInfo serviceWithPatternFilter = mock(ApduServiceInfo.class); in testUpdatePollingLoopFilters() local
245 when(serviceWithPatternFilter.getPollingLoopFilters()).thenReturn(List.of()); in testUpdatePollingLoopFilters()
246 when(serviceWithPatternFilter.getPollingLoopPatternFilters()) in testUpdatePollingLoopFilters()
250 serviceWithPatternFilter)); in testUpdatePollingLoopFilters()
264 Assert.assertTrue(patternFiltersForUser.get(PL_PATTERN).contains(serviceWithPatternFilter)); in testUpdatePollingLoopFilters()
279 ApduServiceInfo serviceWithPatternFilter = mock(ApduServiceInfo.class); in testOnPollingLoopDetected_activeServiceAlreadyBound_overlappingServices() local
280 when(serviceWithPatternFilter.getPollingLoopFilters()).thenReturn(List.of()); in testOnPollingLoopDetected_activeServiceAlreadyBound_overlappingServices()
281 when(serviceWithPatternFilter.getPollingLoopPatternFilters()) in testOnPollingLoopDetected_activeServiceAlreadyBound_overlappingServices()
286 serviceWithPatternFilter, overlappingServiceWithFilter)); in testOnPollingLoopDetected_activeServiceAlreadyBound_overlappingServices()