Home
last modified time | relevance | path

Searched refs:mRoutingOptionManager (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DAidRoutingManagerTest.java62 private RoutingOptionManager mRoutingOptionManager; field in AidRoutingManagerTest
111 when(RoutingOptionManager.getInstance()).thenReturn(mRoutingOptionManager); in setUp()
127 when(mRoutingOptionManager.getAidMatchingSupport()).thenReturn(AID_MATCHING_EXACT_OR_PREFIX); in testSupportsAidPrefixRouting_ReturnsTrue()
137 when(mRoutingOptionManager.getAidMatchingSupport()).thenReturn(AID_MATCHING_EXACT_ONLY); in testSupportsAidPrefixRouting_ReturnsFalse()
147 when(mRoutingOptionManager.getAidMatchingSupport()) in testSupportsAidSubsetRouting_ReturnsTrue()
158 when(mRoutingOptionManager.getAidMatchingSupport()).thenReturn(AID_MATCHING_EXACT_OR_PREFIX); in testSupportsAidSubsetRouting_ReturnsFalse()
212 when(mRoutingOptionManager.isRoutingTableOverrided()).thenReturn(true); in testConfigureRoutingTestCase1_CommitsCache()
213 when(mRoutingOptionManager.getDefaultOffHostRoute()).thenReturn(DEFAULT_OFFHOST_ROUTE); in testConfigureRoutingTestCase1_CommitsCache()
214 when(mRoutingOptionManager.getOverrideDefaultRoute()).thenReturn(OVERRIDE_DEFAULT_ROUTE); in testConfigureRoutingTestCase1_CommitsCache()
215 when(mRoutingOptionManager.getOffHostRouteUicc()).thenReturn(OFFHOST_ROUTE_UICC); in testConfigureRoutingTestCase1_CommitsCache()
[all …]
DRegisteredServicesCacheTest.java133 private RoutingOptionManager mRoutingOptionManager; field in RegisteredServicesCacheTest
232 mRoutingOptionManager); in testConstructor()
289 mDynamicSettingsFile, mOtherSettingsFile, mServiceParser, mRoutingOptionManager); in testInitialize_filesExist()
382 mDynamicSettingsFile, mOtherSettingsFile, mServiceParser, mRoutingOptionManager); in testInitialize_filesDontExist()
437 mDynamicSettingsFile, mOtherSettingsFile, mServiceParser, mRoutingOptionManager); in testOnUserSwitched()
456 mDynamicSettingsFile, mOtherSettingsFile, mServiceParser, mRoutingOptionManager); in testOnManagedProfileChanged()
473 mDynamicSettingsFile, mOtherSettingsFile, mServiceParser, mRoutingOptionManager); in testHasService()
486 mDynamicSettingsFile, mOtherSettingsFile, mServiceParser, mRoutingOptionManager); in testGetService()
500 mDynamicSettingsFile, mOtherSettingsFile, mServiceParser, mRoutingOptionManager); in testGetServices()
515 mDynamicSettingsFile, mOtherSettingsFile, mServiceParser, mRoutingOptionManager); in testGetServicesForCategory_paymentCategory()
[all …]
DCardEmulationManagerTest.java115 private RoutingOptionManager mRoutingOptionManager; field in CardEmulationManagerTest
169 verify(mRoutingOptionManager).getOffHostRouteEse(); in assertConstructorMethodCalls()
170 verify(mRoutingOptionManager).getOffHostRouteUicc(); in assertConstructorMethodCalls()
1364 verify(mRoutingOptionManager).getOffHostRouteEse(); in testCardEmulationOverrideRoutingTable_callerNotForeground()
1365 verify(mRoutingOptionManager).getOffHostRouteUicc(); in testCardEmulationOverrideRoutingTable_callerNotForeground()
1366 verifyNoMoreInteractions(mRoutingOptionManager); in testCardEmulationOverrideRoutingTable_callerNotForeground()
1381 verify(mRoutingOptionManager).overrideDefaultIsoDepRoute(eq(-1)); in testCardEmulationOverrideRoutingTable_callerForegroundRouteNull()
1382 verify(mRoutingOptionManager).overrideDefaultOffHostRoute(eq(-1)); in testCardEmulationOverrideRoutingTable_callerForegroundRouteNull()
1383 verify(mRoutingOptionManager).getOffHostRouteEse(); in testCardEmulationOverrideRoutingTable_callerForegroundRouteNull()
1384 verify(mRoutingOptionManager).getOffHostRouteUicc(); in testCardEmulationOverrideRoutingTable_callerForegroundRouteNull()
[all …]
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DAidRoutingManager.java83 RoutingOptionManager mRoutingOptionManager = RoutingOptionManager.getInstance(); field in AidRoutingManager
94 mDefaultRoute = mRoutingOptionManager.getDefaultRoute(); in AidRoutingManager()
97 mDefaultOffHostRoute = mRoutingOptionManager.getDefaultOffHostRoute(); in AidRoutingManager()
100 mOffHostRouteUicc = mRoutingOptionManager.getOffHostRouteUicc(); in AidRoutingManager()
103 mOffHostRouteEse = mRoutingOptionManager.getOffHostRouteEse(); in AidRoutingManager()
106 mAidMatchingSupport = mRoutingOptionManager.getAidMatchingSupport(); in AidRoutingManager()
109 mDefaultIsoDepRoute = mRoutingOptionManager.getDefaultIsoDepRoute(); in AidRoutingManager()
253 if (mRoutingOptionManager.isRoutingTableOverrided()) { in configureRouting()
254 mDefaultRoute = mRoutingOptionManager.getOverrideDefaultRoute(); in configureRouting()
256 mDefaultRoute = mRoutingOptionManager.getDefaultRoute(); in configureRouting()
[all …]
DCardEmulationManager.java122 RoutingOptionManager mRoutingOptionManager; field in CardEmulationManager
147 mRoutingOptionManager = RoutingOptionManager.getInstance(); in CardEmulationManager()
148 mOffHostRouteEse = mRoutingOptionManager.getOffHostRouteEse(); in CardEmulationManager()
149 mOffHostRouteUicc = mRoutingOptionManager.getOffHostRouteUicc(); in CardEmulationManager()
181 mRoutingOptionManager = routingOptionManager; in CardEmulationManager()
182 mOffHostRouteEse = mRoutingOptionManager.getOffHostRouteEse(); in CardEmulationManager()
183 mOffHostRouteUicc = mRoutingOptionManager.getOffHostRouteUicc(); in CardEmulationManager()
874 mRoutingOptionManager.overrideDefaultIsoDepRoute(protocolRoute); in overrideRoutingTable()
875 mRoutingOptionManager.overrideDefaultOffHostRoute(technologyRoute); in overrideRoutingTable()
892 mRoutingOptionManager.recoverOverridedRoutingTable(); in recoverRoutingTable()
[all …]
DRegisteredServicesCache.java108 final RoutingOptionManager mRoutingOptionManager; field in RegisteredServicesCache
247 mRoutingOptionManager = routingOptionManager; in RegisteredServicesCache()
260 if (mRoutingOptionManager.isRoutingTableOverrided()) { in RegisteredServicesCache()