Home
last modified time | relevance | path

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

/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DRegisteredServicesCacheTest.java927 AidGroup aidGroup = createAidGroup(CardEmulation.CATEGORY_PAYMENT); in testRegisterAidGroupForService_nonExistingService() local
930 USER_ID, SERVICE_UID, wrongComponentName, aidGroup)); in testRegisterAidGroupForService_nonExistingService()
938 AidGroup aidGroup = createAidGroup(CardEmulation.CATEGORY_PAYMENT); in testRegisterAidGroupForService_wrongUid() local
941 3, WALLET_HOLDER_SERVICE_COMPONENT, aidGroup)); in testRegisterAidGroupForService_wrongUid()
958 AidGroup aidGroup = createAidGroup(CardEmulation.CATEGORY_OTHER); in testRegisterAidGroupForService_existingService_correctUid() local
961 SERVICE_UID, WALLET_HOLDER_SERVICE_COMPONENT, aidGroup)); in testRegisterAidGroupForService_existingService_correctUid()
965 verify(serviceInfo).setDynamicAidGroup(eq(aidGroup)); in testRegisterAidGroupForService_existingService_correctUid()
966 Assert.assertEquals(aidGroup, mRegisteredServicesCache.mUserServices.get(USER_ID) in testRegisterAidGroupForService_existingService_correctUid()
994 Assert.assertEquals(aidGroup.getAids(), in testRegisterAidGroupForService_existingService_correctUid()
1026 AidGroup aidGroup = createAidGroup(CardEmulation.CATEGORY_OTHER); in testGetAidGroupForService_existingService_correctUid() local
[all …]
DCardEmulationManagerTest.java682 AidGroup aidGroup = Mockito.mock(AidGroup.class); in testCardEmulationRegisterAidGroupForService_serviceExists() local
685 .registerAidGroupForService(USER_ID, WALLET_PAYMENT_SERVICE, aidGroup)); in testCardEmulationRegisterAidGroupForService_serviceExists()
697 eq(WALLET_PAYMENT_SERVICE), eq(aidGroup)); in testCardEmulationRegisterAidGroupForService_serviceExists()
707 AidGroup aidGroup = Mockito.mock(AidGroup.class); in testCardEmulationRegisterAidGroupForService_serviceDoesNotExists() local
710 .registerAidGroupForService(USER_ID, WALLET_PAYMENT_SERVICE, aidGroup)); in testCardEmulationRegisterAidGroupForService_serviceDoesNotExists()
1030 AidGroup aidGroup = Mockito.mock(AidGroup.class); in testCardEmulationGetAidGroupForService_serviceExists() local
1033 anyInt(), any(), eq(CardEmulation.CATEGORY_PAYMENT))).thenReturn(aidGroup); in testCardEmulationGetAidGroupForService_serviceExists()
1037 CardEmulation.CATEGORY_PAYMENT), aidGroup); in testCardEmulationGetAidGroupForService_serviceExists() local
1056 AidGroup aidGroup = Mockito.mock(AidGroup.class); in testCardEmulationGetAidGroupForService_serviceDoesNotExists() local
1059 anyInt(), any(), eq(CardEmulation.CATEGORY_PAYMENT))).thenReturn(aidGroup); in testCardEmulationGetAidGroupForService_serviceDoesNotExists()
[all …]
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DRegisteredServicesCache.java1193 ComponentName componentName, AidGroup aidGroup) { in registerAidGroupForService() argument
1214 List<String> aids = aidGroup.getAids(); in registerAidGroupForService()
1221 serviceInfo.setDynamicAidGroup(aidGroup); in registerAidGroupForService()
1228 dynSettings.aidGroups.put(aidGroup.getCategory(), aidGroup); in registerAidGroupForService() local
1236 dynSettings.aidGroups.remove(aidGroup.getCategory()); in registerAidGroupForService()
DCardEmulationManager.java660 ComponentName service, AidGroup aidGroup) throws RemoteException { in registerAidGroupForService() argument
668 aidGroup)) { in registerAidGroupForService()