Home
last modified time | relevance | path

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

/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DHostEmulationManagerTest.java518 when(mRegisteredAidCache.resolveAid(eq(MOCK_AID))).thenReturn(null); in testOnHostEmulationData_stateW4Select_nullResolveInfo()
522 verify(mRegisteredAidCache).resolveAid(eq(MOCK_AID)); in testOnHostEmulationData_stateW4Select_nullResolveInfo()
535 when(mRegisteredAidCache.resolveAid(eq(MOCK_AID))).thenReturn(aidResolveInfo); in testOnHostEmulationData_stateW4Select_emptyResolveInfoServices()
539 verify(mRegisteredAidCache).resolveAid(eq(MOCK_AID)); in testOnHostEmulationData_stateW4Select_emptyResolveInfoServices()
560 when(mRegisteredAidCache.resolveAid(eq(MOCK_AID))).thenReturn(aidResolveInfo); in testOnHostEmulationData_stateW4Select_defaultServiceExists_requiresUnlock()
568 verify(mRegisteredAidCache).resolveAid(eq(MOCK_AID)); in testOnHostEmulationData_stateW4Select_defaultServiceExists_requiresUnlock()
590 when(mRegisteredAidCache.resolveAid(eq(MOCK_AID))).thenReturn(aidResolveInfo); in testOnHostEmulationData_stateW4Select_defaultServiceExists_secureNfcEnabled()
598 verify(mRegisteredAidCache).resolveAid(eq(MOCK_AID)); in testOnHostEmulationData_stateW4Select_defaultServiceExists_secureNfcEnabled()
622 when(mRegisteredAidCache.resolveAid(eq(MOCK_AID))).thenReturn(aidResolveInfo); in testOnHostEmulationData_stateW4Select_defaultServiceExists_requiresScreenOn()
630 verify(mRegisteredAidCache).resolveAid(eq(MOCK_AID)); in testOnHostEmulationData_stateW4Select_defaultServiceExists_requiresScreenOn()
[all …]
DRegisteredAidCacheTest.java209 = mRegisteredAidCache.resolveAid(PAYMENT_AID_1); in testAidConflictResolution_walletRoleEnabledNfcDisabled_foregroundWins()
262 = mRegisteredAidCache.resolveAid(PAYMENT_AID_1); in testAidConflictResolution_walletRoleEnabledNfcEnabled_walletWins()
264 = mRegisteredAidCache.resolveAid(NON_PAYMENT_AID_1); in testAidConflictResolution_walletRoleEnabledNfcEnabled_walletWins()
328 = mRegisteredAidCache.resolveAid(PAYMENT_AID_1); in testAidConflictResolution_walletRoleEnabledNfcEnabledPreFixAid_walletWins()
330 = mRegisteredAidCache.resolveAid(NON_PAYMENT_AID_1); in testAidConflictResolution_walletRoleEnabledNfcEnabledPreFixAid_walletWins()
382 = mRegisteredAidCache.resolveAid(PAYMENT_AID_1); in testAidConflictResolution_walletRoleEnabled_twoServicesOnWallet_firstServiceWins()
DNfcAidConflictOccurredTest.java88 when(mockAidCache.resolveAid(anyString())).thenReturn(aidResolveInfo); in setUp()
DNfcCardEmulationOccurredTest.java125 when(mockAidCache.resolveAid(anyString())).thenReturn(aidResolveInfo); in setUp()
DPreferredServicesTest.java165 when(mAidCache.resolveAid(anyString())).thenReturn(mResolveInfo); in setUp()
DCardEmulationManagerTest.java1988 when(mRegisteredAidCache.resolveAid(anyString())).thenReturn(aidResolveInfo); in testGetRegisteredAidCategory()
1993 verify(mRegisteredAidCache).resolveAid(eq(PAYMENT_AID_1)); in testGetRegisteredAidCategory()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DPreferredServices.java387 RegisteredAidCache.AidResolveInfo resolveInfo = mAidCache.resolveAid(aid); in isForegroundAllowedLocked()
DHostEmulationManager.java648 resolveInfo = mAidCache.resolveAid(selectAid); in onHostEmulationData()
1216 AidResolveInfo resolveInfo = mAidCache.resolveAid(mLastSelectedAid); in handleMessage()
DRegisteredAidCache.java197 public AidResolveInfo resolveAid(String aid) { in resolveAid() method in RegisteredAidCache
261 AidResolveInfo resolveInfo = resolveAid(aid); in isDefaultServiceForAid()
DCardEmulationManager.java1118 RegisteredAidCache.AidResolveInfo resolvedInfo = mAidCache.resolveAid(aid); in getRegisteredAidCategory()