Searched refs:serviceWithFilter (Results 1 – 1 of 1) sorted by relevance
241 ApduServiceInfo serviceWithFilter = mock(ApduServiceInfo.class); in testUpdatePollingLoopFilters() local242 when(serviceWithFilter.getPollingLoopFilters()).thenReturn(POLLING_LOOP_FILTER); in testUpdatePollingLoopFilters()243 when(serviceWithFilter.getPollingLoopPatternFilters()).thenReturn(List.of()); in testUpdatePollingLoopFilters()249 mHostEmulationManager.updatePollingLoopFilters(USER_ID, List.of(serviceWithFilter, in testUpdatePollingLoopFilters()263 Assert.assertTrue(filtersForUser.get(PL_FILTER).contains(serviceWithFilter)); in testUpdatePollingLoopFilters()270 ApduServiceInfo serviceWithFilter = mock(ApduServiceInfo.class); in testOnPollingLoopDetected_activeServiceAlreadyBound_overlappingServices() local271 when(serviceWithFilter.getPollingLoopFilters()).thenReturn(POLLING_LOOP_FILTER); in testOnPollingLoopDetected_activeServiceAlreadyBound_overlappingServices()272 when(serviceWithFilter.getPollingLoopPatternFilters()).thenReturn(List.of()); in testOnPollingLoopDetected_activeServiceAlreadyBound_overlappingServices()273 when(serviceWithFilter.getShouldAutoTransact(anyString())).thenReturn(true); in testOnPollingLoopDetected_activeServiceAlreadyBound_overlappingServices()274 when(serviceWithFilter.getComponent()).thenReturn(WALLET_PAYMENT_SERVICE); in testOnPollingLoopDetected_activeServiceAlreadyBound_overlappingServices()[all …]