Home
last modified time | relevance | path

Searched refs:getRouteForSecureElement (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Nfc/NfcNci/tests/unit/src/com/android/nfc/cardemulation/
DAidRoutingManagerTest.java221 when(mRoutingOptionManager.getRouteForSecureElement("eSE2")) in testConfigureRoutingTestCase1_CommitsCache()
223 when(mRoutingOptionManager.getRouteForSecureElement("SIM1")) in testConfigureRoutingTestCase1_CommitsCache()
280 when(mRoutingOptionManager.getRouteForSecureElement("eSE2")) in testConfigureRoutingTestCase2_WritesError()
282 when(mRoutingOptionManager.getRouteForSecureElement("SIM1")) in testConfigureRoutingTestCase2_WritesError()
329 when(mRoutingOptionManager.getRouteForSecureElement("eSE2")) in testConfigureRoutingTestCase3_DoNothing()
380 when(mRoutingOptionManager.getRouteForSecureElement("eSE2")) in testConfigureRoutingTestCase4_CommitsCache()
423 when(mRoutingOptionManager.getRouteForSecureElement("eSE2")).thenReturn(DEFAULT_OFFHOST_ROUTE); in testConfigureRoutingTestCase5_CommitsCache()
424 when(mRoutingOptionManager.getRouteForSecureElement("SIM1")).thenReturn(DEFAULT_OFFHOST_ROUTE); in testConfigureRoutingTestCase5_CommitsCache()
480 when(mRoutingOptionManager.getRouteForSecureElement("eSE2")).thenReturn(DEFAULT_OFFHOST_ROUTE); in testConfigureRoutingTestCase6_CommitsCache()
481 when(mRoutingOptionManager.getRouteForSecureElement("SIM1")).thenReturn(DEFAULT_OFFHOST_ROUTE); in testConfigureRoutingTestCase6_CommitsCache()
[all …]
DCardEmulationManagerTest.java1661 verify(mRoutingOptionManager, times(2)).getRouteForSecureElement(eq("eSE1")); in testCardEmulationOverrideRoutingTable_callerForegroundRouteeSE()
1684 verify(mRoutingOptionManager, times(2)).getRouteForSecureElement(eq("SIM1")); in testCardEmulationOverrideRoutingTable_callerForegroundRouteSIM()
2255 when(mRoutingOptionManager.getRouteForSecureElement("eSE1")).thenReturn( in createInstanceWithMockParams()
2257 when(mRoutingOptionManager.getRouteForSecureElement("SIM1")).thenReturn( in createInstanceWithMockParams()
/packages/modules/Nfc/NfcNci/src/com/android/nfc/cardemulation/
DRoutingOptionManager.java381 mDefaultRoute = getRouteForSecureElement(mPrefs.getString(KEY_DEFAULT_ROUTE, null)); in readRoutingOptionsFromPrefs()
389 getRouteForSecureElement(mPrefs.getString(KEY_DEFAULT_ISO_DEP_ROUTE, null)); in readRoutingOptionsFromPrefs()
397 getRouteForSecureElement(mPrefs.getString(KEY_DEFAULT_OFFHOST_ROUTE, null)); in readRoutingOptionsFromPrefs()
405 getRouteForSecureElement(mPrefs.getString(KEY_DEFAULT_SC_ROUTE, null)); in readRoutingOptionsFromPrefs()
431 public int getRouteForSecureElement(String se) { in getRouteForSecureElement() method in RoutingOptionManager
455 return getRouteForSecureElement(mIsEseCapable ? (SE_PREFIX_ESE + 1) : DEVICE_HOST); in getAlternativeRouteIfSimIsInvalid()
DCardEmulationManager.java760 int route = mRoutingOptionManager.getRouteForSecureElement( in updateRouteToPreferredSim()
1200 int protocolRoute = getRouteForSecureElement(protocol); in overrideRoutingTable()
1201 int technologyRoute = getRouteForSecureElement(technology); in overrideRoutingTable()
1250 int aidRoute = getRouteForSecureElement(aids); in overwriteRoutingTable()
1251 int protocolRoute = getRouteForSecureElement(protocol); in overwriteRoutingTable()
1252 int technologyRoute = getRouteForSecureElement(technology); in overwriteRoutingTable()
1253 int scRoute = getRouteForSecureElement(sc); in overwriteRoutingTable()
1461 private int getRouteForSecureElement(String se) { in getRouteForSecureElement() method in CardEmulationManager
1474 return mRoutingOptionManager.getRouteForSecureElement(route); in getRouteForSecureElement()
DAidRoutingManager.java216 .anyMatch(offHost ->mRoutingOptionManager.getRouteForSecureElement(offHost) in checkOffHostRouteToHost()
298 route = mRoutingOptionManager.getRouteForSecureElement(offHostSE); in configureRouting()