Home
last modified time | relevance | path

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

/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DAidRoutingManagerTest.java222 manager.mRouteForAid.put("first*", 0); in testConfigureRoutingTestCase1_CommitsCache()
223 manager.mRouteForAid.put("second#", 0); in testConfigureRoutingTestCase1_CommitsCache()
224 manager.mRouteForAid.put("third", 0); in testConfigureRoutingTestCase1_CommitsCache()
253 assertThat(manager.mRouteForAid.size()).isEqualTo(3); in testConfigureRoutingTestCase1_CommitsCache()
296 assertThat(manager.mRouteForAid.size()).isEqualTo(3); in testConfigureRoutingTestCase2_WritesError()
324 manager.mRouteForAid.put("first*", 0); in testConfigureRoutingTestCase3_DoNothing()
325 manager.mRouteForAid.put("second#", 0); in testConfigureRoutingTestCase3_DoNothing()
326 manager.mRouteForAid.put("third", 0); in testConfigureRoutingTestCase3_DoNothing()
347 assertThat(manager.mRouteForAid.size()).isEqualTo(1); in testConfigureRoutingTestCase3_DoNothing()
376 manager.mRouteForAid.put("first*", 0); in testConfigureRoutingTestCase4_CommitsCache()
[all …]
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DAidRoutingManager.java79 HashMap<String, Integer> mRouteForAid = new HashMap<String, Integer>(); field in AidRoutingManager
142 for (Map.Entry<String, Integer> aidEntry : mRouteForAid.entrySet()) { in clearNfcRoutingTableLocked()
225 (!mRouteForAid.containsKey(aidEntry.getKey()) || in checkUnrouteAid()
226 isAidEntryUpdated(mRouteForAid, aidEntry, prevPowerForAid))){ in checkUnrouteAid()
239 for (Map.Entry<String, Integer> aidEntry : mRouteForAid.entrySet()) { in checkRouteAid()
301 if (routeForAid.equals(mRouteForAid) && powerForAid.equals(mPowerForAid) && !force) { in configureRouting()
308 prevRouteForAid = mRouteForAid; in configureRouting()
309 mRouteForAid = routeForAid; in configureRouting()
348 for (Map.Entry<String, Integer> aidEntry : mRouteForAid.entrySet()) { in configureRouting()
518 mRouteForAid.clear(); in onNfccRoutingTableCleared()
[all …]