Searched refs:CardEmulationRoute (Results 1 – 3 of 3) sorted by relevance
63 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, in NfcAdapterExtras()124 public final static class CardEmulationRoute { class in NfcAdapterExtras148 public CardEmulationRoute(int route, NfcExecutionEnvironment nfcEe) { in CardEmulationRoute() method in NfcAdapterExtras.CardEmulationRoute178 public CardEmulationRoute getCardEmulationRoute() { in getCardEmulationRoute()181 return route == CardEmulationRoute.ROUTE_OFF ? in getCardEmulationRoute()200 public void setCardEmulationRoute(CardEmulationRoute route) { in setCardEmulationRoute()
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()
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…