Home
last modified time | relevance | path

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

/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DRegisteredAidCache.java79 final TreeMap<String, ArrayList<ServiceAidInfo>> mAidServices = field in RegisteredAidCache
614 mAidServices.clear(); in generateServiceMapLocked()
682 if (mAidServices.containsKey(serviceAidInfo.aid)) { in generateServiceMapLocked()
684 mAidServices.get(serviceAidInfo.aid); in generateServiceMapLocked()
690 mAidServices.put(serviceAidInfo.aid, serviceAidInfos); in generateServiceMapLocked()
767 mAidServices.subMap(plainAid, true, lastAidWithPrefix, true); in findConflictsForPrefixLocked()
792 mAidServices.entrySet()) { in findConflictsForSubsetAidLocked()
819 PriorityQueue<String> aidsToResolve = new PriorityQueue<String>(mAidServices.keySet()); in generateAidCacheLocked()
842 mAidServices.get(aidToResolve)); in generateAidCacheLocked()
866 … AidResolveInfo childResolveInfo = resolveAidConflictLocked(mAidServices.get(aid), false); in generateAidCacheLocked()
[all …]
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DRegisteredAidCacheTest.java429 Assert.assertTrue(mRegisteredAidCache.mAidServices.containsKey(PAYMENT_AID_1)); in testOnServicesUpdated_walletRoleEnabled()
430 Assert.assertTrue(mRegisteredAidCache.mAidServices.containsKey(NON_PAYMENT_AID_1)); in testOnServicesUpdated_walletRoleEnabled()
431 Assert.assertEquals(mRegisteredAidCache.mAidServices.get(PAYMENT_AID_1).size(), 2); in testOnServicesUpdated_walletRoleEnabled()
432 Assert.assertEquals(mRegisteredAidCache.mAidServices.get(NON_PAYMENT_AID_1).size(), 1); in testOnServicesUpdated_walletRoleEnabled()
433 Assert.assertEquals(mRegisteredAidCache.mAidServices.get(PAYMENT_AID_1).get(0) in testOnServicesUpdated_walletRoleEnabled()
435 Assert.assertEquals(mRegisteredAidCache.mAidServices.get(PAYMENT_AID_1).get(1) in testOnServicesUpdated_walletRoleEnabled()