Home
last modified time | relevance | path

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

/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DAidRoutingManager.java249 public boolean configureRouting(HashMap<String, AidEntry> aidMap, boolean force) { in configureRouting() argument
251 … HashMap<String, AidEntry> aidRoutingTableCache = new HashMap<String, AidEntry>(aidMap.size()); in configureRouting()
264 SparseArray<Set<String>> aidRoutingTable = new SparseArray<Set<String>>(aidMap.size()); in configureRouting()
265 HashMap<String, Integer> routeForAid = new HashMap<String, Integer>(aidMap.size()); in configureRouting()
266 HashMap<String, Integer> powerForAid = new HashMap<String, Integer>(aidMap.size()); in configureRouting()
267 HashMap<String, Integer> infoForAid = new HashMap<String, Integer>(aidMap.size()); in configureRouting()
271 for (Map.Entry<String, AidEntry> aidEntry : aidMap.entrySet()) { in configureRouting()
355 … aidRoutingTableCache.put(defaultRouteAid, aidMap.get(defaultRouteAid)); in configureRouting()
375 … aidRoutingTableCache.put(aid.substring(0,aid.length() - 1), aidMap.get(aid)); in configureRouting()
380 … aidRoutingTableCache.put(aid.substring(0,aid.length() - 1), aidMap.get(aid)); in configureRouting()
[all …]
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DAidRoutingManagerTest.java328 HashMap<String, AidEntry> aidMap = new HashMap<>(); in testConfigureRoutingTestCase3_DoNothing() local
334 aidMap.put("firstAidEntry*", aidEntry); in testConfigureRoutingTestCase3_DoNothing()
336 boolean result = manager.configureRouting(aidMap, /* force = */ false); in testConfigureRoutingTestCase3_DoNothing()
380 HashMap<String, AidEntry> aidMap = new HashMap<>(); in testConfigureRoutingTestCase4_CommitsCache() local
386 aidMap.put("firstAidEntry*", aidEntry); in testConfigureRoutingTestCase4_CommitsCache()
388 boolean result = manager.configureRouting(aidMap, /* force = */ true); in testConfigureRoutingTestCase4_CommitsCache()
600 HashMap<String, AidEntry> aidMap = new HashMap<>(); in getAidMap() local
606 aidMap.put("firstAidEntry*", firstAidEntry); in getAidMap()
612 aidMap.put("secondAidEntry#", secondAidEntry); in getAidMap()
619 aidMap.put("thirdAidEntry", thirdAidEntry); in getAidMap()
[all …]