Home
last modified time | relevance | path

Searched refs:mDefaultRoute (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DAidRoutingManager.java56 int mDefaultRoute; field in AidRoutingManager
94 mDefaultRoute = mRoutingOptionManager.getDefaultRoute(); in AidRoutingManager()
96 Log.d(TAG, "mDefaultRoute=0x" + Integer.toHexString(mDefaultRoute)); in AidRoutingManager()
224 if((aidEntry.getValue() != mDefaultRoute) && in checkUnrouteAid()
240 if((aidEntry.getValue() != mDefaultRoute) && in checkRouteAid()
254 mDefaultRoute = mRoutingOptionManager.getOverrideDefaultRoute(); in configureRouting()
256 mDefaultRoute = mRoutingOptionManager.getDefaultRoute(); in configureRouting()
259 seList.add(mDefaultRoute); in configureRouting()
260 if (mDefaultRoute != ROUTE_HOST) { in configureRouting()
319 mDefaultRoute = seList.get(index); in configureRouting()
[all …]
DRoutingOptionManager.java34 int mDefaultRoute; field in RoutingOptionManager
70 mDefaultRoute = doGetDefaultRouteDestination(); in RoutingOptionManager()
72 Log.d(TAG, "mDefaultRoute=0x" + Integer.toHexString(mDefaultRoute)); in RoutingOptionManager()
117 return mDefaultRoute; in getDefaultRoute()
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DAidRoutingManagerTest.java252 assertThat(manager.mDefaultRoute).isEqualTo(OVERRIDE_DEFAULT_ROUTE); in testConfigureRoutingTestCase1_CommitsCache()
295 assertThat(manager.mDefaultRoute).isEqualTo(OFFHOST_ROUTE_ESE[1]); in testConfigureRoutingTestCase2_WritesError()
346 assertThat(manager.mDefaultRoute).isEqualTo(DEFAULT_ROUTE); in testConfigureRoutingTestCase3_DoNothing()
450 assertThat(manager.mDefaultRoute).isEqualTo(OVERRIDE_DEFAULT_ROUTE); in testConfigureRoutingTestCase5_CommitsCache()
517 assertThat(manager.mDefaultRoute).isEqualTo(OVERRIDE_DEFAULT_ROUTE); in testConfigureRoutingTestCase6_CommitsCache()
567 assertThat(manager.mDefaultRoute).isEqualTo(DEFAULT_ROUTE); in testConfigureRoutingTestCase7_CommitsCache()
DRoutingOptionManagerTest.java113 Assert.assertEquals(DEFAULT_ROUTE, manager.mDefaultRoute); in testConstructor()