Home
last modified time | relevance | path

Searched refs:NfcAdapter (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/java/android/nfc/
DNfcAdapter.java60 public final class NfcAdapter { class
338 static HashMap<Context, NfcAdapter> sNfcAdapters = new HashMap(); //guard by NfcAdapter.class
345 static NfcAdapter sNullContextNfcAdapter; // protected by NfcAdapter.class
493 public static synchronized NfcAdapter getNfcAdapter(Context context) { in getNfcAdapter()
534 sNullContextNfcAdapter = new NfcAdapter(null); in getNfcAdapter()
538 NfcAdapter adapter = sNfcAdapters.get(context); in getNfcAdapter()
540 adapter = new NfcAdapter(context); in getNfcAdapter()
569 public static NfcAdapter getDefaultAdapter(Context context) { in getDefaultAdapter()
596 public static NfcAdapter getDefaultAdapter() { in getDefaultAdapter()
604 return NfcAdapter.getNfcAdapter(null); in getDefaultAdapter()
[all …]
DNfcActivityManager.java24 import android.nfc.NfcAdapter.ReaderCallback;
45 static final String TAG = NfcAdapter.TAG;
48 final NfcAdapter mAdapter;
113 NfcAdapter.CreateNdefMessageCallback ndefMessageCallback = null;
114 NfcAdapter.OnNdefPushCompleteCallback onNdefPushCompleteCallback = null;
115 NfcAdapter.CreateBeamUrisCallback uriCallback = null;
119 NfcAdapter.ReaderCallback readerCallback = null;
198 public NfcActivityManager(NfcAdapter adapter) { in NfcActivityManager()
241 NfcAdapter.sService.setReaderMode(token, this, flags, extras); in setReaderMode()
265 NfcAdapter.CreateBeamUrisCallback callback) { in setNdefPushContentUriCallback()
[all …]
DNfcManager.java42 private final NfcAdapter mAdapter;
48 NfcAdapter adapter; in NfcManager()
55 adapter = NfcAdapter.getNfcAdapter(context); in NfcManager()
67 public NfcAdapter getDefaultAdapter() { in getDefaultAdapter()
DNfcEvent.java39 public final NfcAdapter nfcAdapter;
51 NfcEvent(NfcAdapter nfcAdapter, byte peerLlcpVersion) { in NfcEvent()
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
DNfcAdapterExtras.java23 import android.nfc.NfcAdapter;
67 private static final HashMap<NfcAdapter, NfcAdapterExtras> sNfcExtras = new HashMap();
72 private final NfcAdapter mAdapter;
76 private static void initService(NfcAdapter adapter) { in initService()
93 public static NfcAdapterExtras get(NfcAdapter adapter) { in get()
113 private NfcAdapterExtras(NfcAdapter adapter) { in NfcAdapterExtras()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DNfcTile.java26 import android.nfc.NfcAdapter;
40 private NfcAdapter mAdapter;
58 new IntentFilter(NfcAdapter.ACTION_ADAPTER_STATE_CHANGED)); in handleSetListening()
124 private NfcAdapter getAdapter() { in getAdapter()
127 mAdapter = NfcAdapter.getNfcAdapter(mContext); in getAdapter()
/frameworks/base/core/java/android/nfc/cardemulation/
DNfcFCardEmulation.java26 import android.nfc.NfcAdapter;
66 public static synchronized NfcFCardEmulation getInstance(NfcAdapter adapter) { in getInstance()
474 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in recoverService()
DCardEmulation.java28 import android.nfc.NfcAdapter;
145 public static synchronized CardEmulation getInstance(NfcAdapter adapter) { in getInstance()
641 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in recoverService()
/frameworks/base/core/java/android/nfc/dta/
DNfcDta.java21 import android.nfc.NfcAdapter;
50 public static synchronized NfcDta getInstance(NfcAdapter adapter) { in getInstance()
/frameworks/base/nfc-extras/tests/src/com/android/nfc_extras/tests/
DBasicNfcEeTest.java20 import android.nfc.NfcAdapter;
52 mAdapterExtras = NfcAdapterExtras.get(NfcAdapter.getDefaultAdapter(mContext)); in setUp()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt3806 Landroid/nfc/NfcActivityManager;->mAdapter:Landroid/nfc/NfcAdapter;
3807 Landroid/nfc/NfcAdapter;->attemptDeadServiceRecovery(Ljava/lang/Exception;)V
3808 Landroid/nfc/NfcAdapter;->getAdapterState()I
3809 Landroid/nfc/NfcAdapter;->getContext()Landroid/content/Context;
3810 Landroid/nfc/NfcAdapter;->getDefaultAdapter()Landroid/nfc/NfcAdapter;
3811 Landroid/nfc/NfcAdapter;->getNfcAdapter(Landroid/content/Context;)Landroid/nfc/NfcAdapter;
3812 Landroid/nfc/NfcAdapter;->getNfcAdapterExtrasInterface()Landroid/nfc/INfcAdapterExtras;
3813 Landroid/nfc/NfcAdapter;->getService()Landroid/nfc/INfcAdapter;
3814 Landroid/nfc/NfcAdapter;->setNdefPushMessageCallback(Landroid/nfc/NfcAdapter$CreateNdefMessageCallb…
3815 Landroid/nfc/NfcAdapter;->sService:Landroid/nfc/INfcAdapter;
Dhiddenapi-public-dex.txt27273 Landroid/nfc/cardemulation/CardEmulation;->getInstance(Landroid/nfc/NfcAdapter;)Landroid/nfc/cardem…
27308 Landroid/nfc/cardemulation/NfcFCardEmulation;->getInstance(Landroid/nfc/NfcAdapter;)Landroid/nfc/ca…
27372 Landroid/nfc/NfcAdapter$CreateBeamUrisCallback;
27373 Landroid/nfc/NfcAdapter$CreateBeamUrisCallback;->createBeamUris(Landroid/nfc/NfcEvent;)[Landroid/ne…
27374 Landroid/nfc/NfcAdapter$CreateNdefMessageCallback;
27375 Landroid/nfc/NfcAdapter$CreateNdefMessageCallback;->createNdefMessage(Landroid/nfc/NfcEvent;)Landro…
27376 Landroid/nfc/NfcAdapter$NfcUnlockHandler;
27377 Landroid/nfc/NfcAdapter$NfcUnlockHandler;->onUnlockAttempted(Landroid/nfc/Tag;)Z
27378 Landroid/nfc/NfcAdapter$OnNdefPushCompleteCallback;
27379 Landroid/nfc/NfcAdapter$OnNdefPushCompleteCallback;->onNdefPushComplete(Landroid/nfc/NfcEvent;)V
[all …]
Dpreloaded-classes2351 android.nfc.NfcAdapter
2352 android.nfc.NfcAdapter$1
2353 android.nfc.NfcAdapter$CreateNdefMessageCallback
Dboot-image-profile.txt4113 HPLandroid/nfc/NfcAdapter$NfcUnlockHandler;->onUnlockAttempted(Landroid/nfc/Tag;)Z
26818 …anager;->setNdefPushMessageCallback(Landroid/app/Activity;Landroid/nfc/NfcAdapter$CreateNdefMessag…
26819 …ger;->setOnNdefPushCompleteCallback(Landroid/app/Activity;Landroid/nfc/NfcAdapter$OnNdefPushComple…
26821 HSPLandroid/nfc/NfcAdapter$CreateNdefMessageCallback;->createNdefMessage(Landroid/nfc/NfcEvent;)Lan…
26822 HSPLandroid/nfc/NfcAdapter$OnNdefPushCompleteCallback;->onNdefPushComplete(Landroid/nfc/NfcEvent;)V
26823 HSPLandroid/nfc/NfcAdapter;-><init>(Landroid/content/Context;)V
26824 HSPLandroid/nfc/NfcAdapter;->getDefaultAdapter(Landroid/content/Context;)Landroid/nfc/NfcAdapter;
26825 HSPLandroid/nfc/NfcAdapter;->getNfcAdapter(Landroid/content/Context;)Landroid/nfc/NfcAdapter;
26826 HSPLandroid/nfc/NfcAdapter;->hasNfcFeature()Z
26827 HSPLandroid/nfc/NfcAdapter;->hasNfcHceFeature()Z
[all …]
/frameworks/base/api/
Dsystem-current.txt3640 public final class NfcAdapter {
3641 …method public boolean addNfcUnlockHandler(android.nfc.NfcAdapter.NfcUnlockHandler, java.lang.Strin…
3647 method public boolean removeNfcUnlockHandler(android.nfc.NfcAdapter.NfcUnlockHandler);
3652 public static abstract interface NfcAdapter.NfcUnlockHandler {
Dcurrent.txt28789 public final class NfcAdapter {
28795 …method public void enableReaderMode(android.app.Activity, android.nfc.NfcAdapter.ReaderCallback, i…
28796 method public static android.nfc.NfcAdapter getDefaultAdapter(android.content.Context);
28797 …method public boolean ignore(android.nfc.Tag, int, android.nfc.NfcAdapter.OnTagRemovedListener, an…
28802 …method public void setBeamPushUrisCallback(android.nfc.NfcAdapter.CreateBeamUrisCallback, android.…
28804 …method public void setNdefPushMessageCallback(android.nfc.NfcAdapter.CreateNdefMessageCallback, an…
28805 …method public void setOnNdefPushCompleteCallback(android.nfc.NfcAdapter.OnNdefPushCompleteCallback…
28832 public static abstract interface NfcAdapter.CreateBeamUrisCallback {
28836 public static abstract interface NfcAdapter.CreateNdefMessageCallback {
28840 public static abstract interface NfcAdapter.OnNdefPushCompleteCallback {
[all …]
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt18387 public final class NfcAdapter {
18393 …method public void enableReaderMode(android.app.Activity, android.nfc.NfcAdapter.ReaderCallback, i…
18394 method public static android.nfc.NfcAdapter getDefaultAdapter(android.content.Context);
18399 …method public void setBeamPushUrisCallback(android.nfc.NfcAdapter.CreateBeamUrisCallback, android.…
18401 …method public void setNdefPushMessageCallback(android.nfc.NfcAdapter.CreateNdefMessageCallback, an…
18402 …method public void setOnNdefPushCompleteCallback(android.nfc.NfcAdapter.OnNdefPushCompleteCallback…
18425 public static abstract interface NfcAdapter.CreateBeamUrisCallback {
18429 public static abstract interface NfcAdapter.CreateNdefMessageCallback {
18433 public static abstract interface NfcAdapter.OnNdefPushCompleteCallback {
18437 public static abstract interface NfcAdapter.ReaderCallback {
[all …]