Searched refs:CardEmulationRoute (Results 1 – 3 of 3) sorted by relevance
25 import com.android.nfc_extras.NfcAdapterExtras.CardEmulationRoute;97 new CardEmulationRoute(CardEmulationRoute.ROUTE_ON_WHEN_SCREEN_ON, mEe)); in testEnableEe()98 CardEmulationRoute newRoute = mAdapterExtras.getCardEmulationRoute(); in testEnableEe()99 assertEquals(CardEmulationRoute.ROUTE_ON_WHEN_SCREEN_ON, newRoute.route); in testEnableEe()105 new CardEmulationRoute(CardEmulationRoute.ROUTE_OFF, null)); in testDisableEe()106 CardEmulationRoute newRoute = mAdapterExtras.getCardEmulationRoute(); in testDisableEe()107 assertEquals(CardEmulationRoute.ROUTE_OFF, newRoute.route); in testDisableEe()
67 private static final CardEmulationRoute ROUTE_OFF =68 new CardEmulationRoute(CardEmulationRoute.ROUTE_OFF, null);74 private final CardEmulationRoute mRouteOnWhenScreenOn;146 mRouteOnWhenScreenOn = new CardEmulationRoute(CardEmulationRoute.ROUTE_ON_WHEN_SCREEN_ON, in NfcAdapterExtras()153 public final static class CardEmulationRoute { class in NfcAdapterExtras177 public CardEmulationRoute(int route, NfcExecutionEnvironment nfcEe) { in CardEmulationRoute() method in NfcAdapterExtras.CardEmulationRoute219 public CardEmulationRoute getCardEmulationRoute() { in getCardEmulationRoute()222 return route == CardEmulationRoute.ROUTE_OFF ? in getCardEmulationRoute()241 public void setCardEmulationRoute(CardEmulationRoute route) { in setCardEmulationRoute()
37 … method public com.android.nfc_extras.NfcAdapterExtras.CardEmulationRoute getCardEmulationRoute();40 …thod public void setCardEmulationRoute(com.android.nfc_extras.NfcAdapterExtras.CardEmulationRoute);45 public static final class NfcAdapterExtras.CardEmulationRoute {46 …ctor public NfcAdapterExtras.CardEmulationRoute(int, com.android.nfc_extras.NfcExecutionEnvironmen…