Searched refs:CardEmulationRoute (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/nfc-extras/java/com/android/nfc_extras/
H A DNfcAdapterExtras.java63 private static final CardEmulationRoute ROUTE_OFF =
64 new CardEmulationRoute(CardEmulationRoute.ROUTE_OFF, null);
70 private final CardEmulationRoute mRouteOnWhenScreenOn;
117 mRouteOnWhenScreenOn = new CardEmulationRoute(CardEmulationRoute.ROUTE_ON_WHEN_SCREEN_ON,
124 public final static class CardEmulationRoute { class in class:NfcAdapterExtras
148 public CardEmulationRoute(int route, NfcExecutionEnvironment nfcEe) { method in class:NfcAdapterExtras.CardEmulationRoute
178 public CardEmulationRoute getCardEmulationRoute() {
181 return route == CardEmulationRoute
[all...]
/frameworks/base/nfc-extras/tests/src/com/android/nfc_extras/tests/
H A DBasicNfcEeTest.java25 import com.android.nfc_extras.NfcAdapterExtras.CardEmulationRoute;
97 new CardEmulationRoute(CardEmulationRoute.ROUTE_ON_WHEN_SCREEN_ON, mEe));
98 CardEmulationRoute newRoute = mAdapterExtras.getCardEmulationRoute();
99 assertEquals(CardEmulationRoute.ROUTE_ON_WHEN_SCREEN_ON, newRoute.route);
105 new CardEmulationRoute(CardEmulationRoute.ROUTE_OFF, null));
106 CardEmulationRoute newRoute = mAdapterExtras.getCardEmulationRoute();
107 assertEquals(CardEmulationRoute.ROUTE_OFF, newRoute.route);

Completed in 105 milliseconds