Home
last modified time | relevance | path

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

/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DAidRoutingManager.java81 HashMap<String, Integer> mPowerForAid = new HashMap<String, Integer>(); field in AidRoutingManager
210 mPowerForAid.get(aidEntry.getKey()), in isAidEntryUpdated()
301 if (routeForAid.equals(mRouteForAid) && powerForAid.equals(mPowerForAid) && !force) { in configureRouting()
310 prevPowerForAid = mPowerForAid; in configureRouting()
311 mPowerForAid = powerForAid; in configureRouting()
519 mPowerForAid.clear(); in onNfccRoutingTableCleared()
562 return mAidRoutingTable.size() == 0 && mRouteForAid.isEmpty() && mPowerForAid.isEmpty(); in isRoutingTableCleared()
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DAidRoutingManagerTest.java254 assertThat(manager.mPowerForAid.size()).isEqualTo(3); in testConfigureRoutingTestCase1_CommitsCache()
297 assertThat(manager.mPowerForAid.size()).isEqualTo(3); in testConfigureRoutingTestCase2_WritesError()
348 assertThat(manager.mPowerForAid.size()).isEqualTo(1); in testConfigureRoutingTestCase3_DoNothing()
452 assertThat(manager.mPowerForAid.size()).isEqualTo(4); in testConfigureRoutingTestCase5_CommitsCache()
519 assertThat(manager.mPowerForAid.size()).isEqualTo(4); in testConfigureRoutingTestCase6_CommitsCache()
569 assertThat(manager.mPowerForAid.size()).isEqualTo(4); in testConfigureRoutingTestCase7_CommitsCache()
578 manager.mPowerForAid.put("", 0); in testOnNfccRoutingTableCleared()
584 assertThat(manager.mPowerForAid.isEmpty()).isTrue(); in testOnNfccRoutingTableCleared()