OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CardEmulationRoute
(Results
1 - 2
of
2
) sorted by null
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
NfcAdapterExtras.java
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,
124
public final static class
CardEmulationRoute
{
148
public
CardEmulationRoute
(int route, NfcExecutionEnvironment nfcEe) {
178
public
CardEmulationRoute
getCardEmulationRoute() {
181
return route ==
CardEmulationRoute
.ROUTE_OFF
[
all
...]
/frameworks/base/nfc-extras/tests/src/com/android/nfc_extras/tests/
BasicNfcEeTest.java
25
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 206 milliseconds