Searched refs:AidEntry (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/ |
D | AidRoutingManagerTest.java | 37 import com.android.nfc.cardemulation.AidRoutingManager.AidEntry; 170 int result = manager.calculateAidRouteSize(new HashMap<String, AidEntry>()); in testCalculateAidRouteSizeWithEmptyCache() 179 HashMap<String, AidEntry> cache = new HashMap<>(); in testCalculateAidRouteSizeWithNonEmptyCache() 194 boolean result = manager.configureRouting(/* aidMap = */ new HashMap<String, AidEntry>(), in testConfigureRoutingWithEmptyMap_ReturnsFalse() 328 HashMap<String, AidEntry> aidMap = new HashMap<>(); in testConfigureRoutingTestCase3_DoNothing() 329 AidEntry aidEntry = manager.new AidEntry(); in testConfigureRoutingTestCase3_DoNothing() 380 HashMap<String, AidEntry> aidMap = new HashMap<>(); in testConfigureRoutingTestCase4_CommitsCache() 381 AidEntry aidEntry = manager.new AidEntry(); in testConfigureRoutingTestCase4_CommitsCache() 599 private HashMap<String, AidEntry> getAidMap() { in getAidMap() 600 HashMap<String, AidEntry> aidMap = new HashMap<>(); in getAidMap() [all …]
|
D | RegisteredAidCacheTest.java | 104 private ArgumentCaptor<HashMap<String, AidRoutingManager.AidEntry>> mRoutingEntryMapCaptor; 276 HashMap<String, AidRoutingManager.AidEntry> routingEntries = in testAidConflictResolution_walletRoleEnabledNfcEnabled_walletWins() 439 HashMap<String, AidRoutingManager.AidEntry> routingEntries = in testOnServicesUpdated_walletRoleEnabled()
|
/packages/apps/Nfc/tests/unit/src/com/android/nfc/ |
D | AidRoutingManagerTest.java | 85 HashMap<String, AidRoutingManager.AidEntry> aidEntryMap = new HashMap<>(); in testCalculateAidRouteSize() 88 AidRoutingManager.AidEntry aidEntry = mAidRoutingManager.new AidEntry(); in testCalculateAidRouteSize() 126 HashMap<String, AidRoutingManager.AidEntry> aidEntryMap = new HashMap<>(); in testConfigureRoutingErrorOccurred() 143 HashMap<String, AidRoutingManager.AidEntry> aidEntryMap = new HashMap<>(); in testConfigureRouting() 144 aidEntryMap.put("aidEntry", mock(AidRoutingManager.AidEntry.class)); in testConfigureRouting()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | AidRoutingManager.java | 85 public final class AidEntry { class in AidRoutingManager 124 public int calculateAidRouteSize(HashMap<String, AidEntry> routeCache) { in calculateAidRouteSize() 128 for(Map.Entry<String, AidEntry> aidEntry : routeCache.entrySet()) { in calculateAidRouteSize() 249 public boolean configureRouting(HashMap<String, AidEntry> aidMap, boolean force) { in configureRouting() 251 … HashMap<String, AidEntry> aidRoutingTableCache = new HashMap<String, AidEntry>(aidMap.size()); in configureRouting() 271 for (Map.Entry<String, AidEntry> aidEntry : aidMap.entrySet()) { in configureRouting() 412 AidEntry entry = new AidEntry(); in configureRouting() 487 private void commit(HashMap<String, AidEntry> routeCache ) { in commit() 491 for (Map.Entry<String, AidEntry> aidEntry : routeCache.entrySet()) { in commit()
|
D | RegisteredAidCache.java | 1058 final HashMap<String, AidRoutingManager.AidEntry> routingEntries = new HashMap<>(); in updateRoutingLocked() 1069 AidRoutingManager.AidEntry aidType = mRoutingManager.new AidEntry(); in updateRoutingLocked()
|