HomeSort by relevance Sort by last modified time
    Searched refs:CardEmulation (Results 1 - 24 of 24) sorted by null

  /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
BaseEmulatorActivity.java 14 import android.nfc.cardemulation.CardEmulation;
30 CardEmulation mCardEmulation;
57 mCardEmulation = CardEmulation.getInstance(mAdapter);
88 CardEmulation.CATEGORY_PAYMENT)) {
96 Intent changeDefault = new Intent(CardEmulation.ACTION_CHANGE_DEFAULT);
97 changeDefault.putExtra(CardEmulation.EXTRA_CATEGORY, CardEmulation.CATEGORY_PAYMENT);
98 changeDefault.putExtra(CardEmulation.EXTRA_SERVICE_COMPONENT, defaultComponent);
160 CardEmulation.CATEGORY_PAYMENT)
    [all...]
ConflictingNonPaymentPrefixEmulatorActivity.java 6 import android.nfc.cardemulation.CardEmulation;
34 mCardEmulation.registerAidsForService(PrefixTransportService1.COMPONENT, CardEmulation.CATEGORY_OTHER, service_aids);
35 mCardEmulation.registerAidsForService(PrefixTransportService2.COMPONENT, CardEmulation.CATEGORY_OTHER, service_aids);
LargeNumAidsEmulatorActivity.java 6 import android.nfc.cardemulation.CardEmulation;
39 CardEmulation.CATEGORY_OTHER, aids);
DualNonPaymentPrefixEmulatorActivity.java 6 import android.nfc.cardemulation.CardEmulation;
36 mCardEmulation.registerAidsForService(PrefixTransportService1.COMPONENT, CardEmulation.CATEGORY_OTHER, service1_aids);
37 mCardEmulation.registerAidsForService(PrefixAccessService.COMPONENT, CardEmulation.CATEGORY_OTHER, service2_aids);
DynamicAidEmulatorActivity.java 6 import android.nfc.cardemulation.CardEmulation;
39 CardEmulation.CATEGORY_PAYMENT, paymentAids);
ForegroundPaymentEmulatorActivity.java 7 import android.nfc.cardemulation.CardEmulation;
28 if (!mCardEmulation.categoryAllowsForegroundPreference(CardEmulation.CATEGORY_PAYMENT)) {
HceReaderTestActivity.java 20 import android.nfc.cardemulation.CardEmulation;
111 CardEmulation cardEmulation = CardEmulation.getInstance(nfcAdapter);
112 if (cardEmulation.supportsAidPrefixRegistration()) {
DualPaymentEmulatorActivity.java 7 import android.nfc.cardemulation.CardEmulation;
HceEmulatorTestActivity.java 27 import android.nfc.cardemulation.CardEmulation;
44 CardEmulation cardEmulation = CardEmulation.getInstance(nfcAdapter);
115 if (cardEmulation.supportsAidPrefixRegistration()) {
  /packages/apps/Settings/src/com/android/settings/nfc/
PaymentBackend.java 24 import android.nfc.cardemulation.ApduServiceInfo;
25 import android.nfc.cardemulation.CardEmulation;
44 private final CardEmulation mCardEmuManager;
50 mCardEmuManager = CardEmulation.getInstance(mAdapter);
56 mCardEmuManager.getServices(CardEmulation.CATEGORY_PAYMENT);
PaymentDefaultDialog.java 22 import android.nfc.cardemulation.CardEmulation;
48 CardEmulation.EXTRA_SERVICE_COMPONENT);
49 String category = intent.getStringExtra(CardEmulation.EXTRA_CATEGORY);
76 if (!CardEmulation.CATEGORY_PAYMENT.equals(category)) {
  /packages/apps/Nfc/src/com/android/nfc/cardemulation/
CardEmulationManager.java 16 package com.android.nfc.cardemulation;
26 import android.nfc.cardemulation.AidGroup;
27 import android.nfc.cardemulation.ApduServiceInfo;
28 import android.nfc.cardemulation.CardEmulation;
36 import com.android.nfc.cardemulation.RegisteredServicesCache;
125 getDefaultServiceForCategory(userId, CardEmulation.CATEGORY_PAYMENT, false);
130 if (serviceInfo == null || !serviceInfo.hasCategory(CardEmulation.CATEGORY_PAYMENT)) {
133 } else if (!serviceInfo.hasCategory(CardEmulation.CATEGORY_PAYMENT)) {
139 if (service.hasCategory(CardEmulation.CATEGORY_PAYMENT))
    [all...]
TapAgainDialog.java 17 package com.android.nfc.cardemulation;
26 import android.nfc.cardemulation.ApduServiceInfo;
27 import android.nfc.cardemulation.CardEmulation;
44 private CardEmulation mCardEmuManager;
61 mCardEmuManager = CardEmulation.getInstance(adapter);
84 if (CardEmulation.CATEGORY_PAYMENT.equals(category)) {
AppChooserActivity.java 17 package com.android.nfc.cardemulation;
37 import android.nfc.cardemulation.ApduServiceInfo;
38 import android.nfc.cardemulation.CardEmulation;
64 private CardEmulation mCardEmuManager;
95 boolean isPayment = CardEmulation.CATEGORY_PAYMENT.equals(mCategory);
98 mCardEmuManager = CardEmulation.getInstance(adapter);
132 if (CardEmulation.CATEGORY_PAYMENT.equals(category)) {
202 mIsPayment = CardEmulation.CATEGORY_PAYMENT.equals(mCategory);
RegisteredAidCache.java 17 package com.android.nfc.cardemulation;
22 import android.nfc.cardemulation.ApduServiceInfo;
23 import android.nfc.cardemulation.CardEmulation;
159 resolveInfo.category = CardEmulation.CATEGORY_OTHER;
231 resolveInfo.category = CardEmulation.CATEGORY_OTHER;
237 CardEmulation.CATEGORY_PAYMENT.equals(serviceAidInfo.category);
241 resolveInfo.category = CardEmulation.CATEGORY_PAYMENT;
247 resolveInfo.category = CardEmulation.CATEGORY_PAYMENT;
297 CardEmulation.CATEGORY_PAYMENT.equals(serviceAidInfo.category)
    [all...]
PreferredServices.java 16 package com.android.nfc.cardemulation;
29 import android.nfc.cardemulation.ApduServiceInfo;
30 import android.nfc.cardemulation.CardEmulation;
235 if (serviceInfo.hasCategory(CardEmulation.CATEGORY_PAYMENT)) {
251 if (CardEmulation.CATEGORY_PAYMENT.equals(resolveInfo.category) &&
RegisteredServicesCache.java 17 package com.android.nfc.cardemulation;
33 import android.nfc.cardemulation.AidGroup;
34 import android.nfc.cardemulation.ApduServiceInfo;
35 import android.nfc.cardemulation.CardEmulation;
36 import android.nfc.cardemulation.HostApduService;
37 import android.nfc.cardemulation.OffHostApduService;
468 if (!CardEmulation.isValidAid(aid)) {
HostEmulationManager.java 17 package com.android.nfc.cardemulation;
25 import android.nfc.cardemulation.ApduServiceInfo;
26 import android.nfc.cardemulation.CardEmulation;
27 import android.nfc.cardemulation.HostApduService;
38 import com.android.nfc.cardemulation.RegisteredAidCache.AidResolveInfo;
  /frameworks/base/core/java/android/nfc/cardemulation/
AidGroup.java 1 package android.nfc.cardemulation;
40 * @param category The category of this group, e.g. {@link CardEmulation#CATEGORY_PAYMENT}
50 if (!CardEmulation.isValidAid(aid)) {
57 this.category = CardEmulation.CATEGORY_OTHER;
184 return CardEmulation.CATEGORY_PAYMENT.equals(category) ||
185 CardEmulation.CATEGORY_OTHER.equals(category);
CardEmulation.java 17 package android.nfc.cardemulation;
50 public final class CardEmulation {
51 static final String TAG = "CardEmulation";
64 "android.nfc.cardemulation.action.ACTION_CHANGE_DEFAULT";
129 static HashMap<Context, CardEmulation> sCardEmus = new HashMap<Context, CardEmulation>();
134 private CardEmulation(Context context, INfcCardEmulation service) {
145 public static synchronized CardEmulation getInstance(NfcAdapter adapter) {
169 CardEmulation manager = sCardEmus.get(context);
177 manager = new CardEmulation(context, service)
    [all...]
ApduServiceInfo.java 17 package android.nfc.cardemulation;
191 if (!CardEmulation.CATEGORY_PAYMENT.equals(groupCategory)) {
192 groupCategory = CardEmulation.CATEGORY_OTHER;
196 if (!CardEmulation.CATEGORY_OTHER.equals(groupCategory)) {
221 if (CardEmulation.isValidAid(aid) && !currentGroup.aids.contains(aid)) {
235 if (CardEmulation.isValidAid(aid) && !currentGroup.aids.contains(aid)) {
  /development/build/
sdk.atree 278 developers/build/prebuilts/gradle/CardEmulation samples/${PLATFORM_NAME}/connectivity/CardEmulation
    [all...]
  /prebuilts/sdk/19/
android.jar 
  /prebuilts/sdk/21/
android.jar 

Completed in 264 milliseconds