Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/nfc/
DNfcAdapter.java64 public final class NfcAdapter { class
379 static HashMap<Context, NfcAdapter> sNfcAdapters = new HashMap(); //guard by NfcAdapter.class
386 static NfcAdapter sNullContextNfcAdapter; // protected by NfcAdapter.class
594 public static synchronized NfcAdapter getNfcAdapter(Context context) { in getNfcAdapter()
636 sNullContextNfcAdapter = new NfcAdapter(null); in getNfcAdapter()
640 NfcAdapter adapter = sNfcAdapters.get(context); in getNfcAdapter()
642 adapter = new NfcAdapter(context); in getNfcAdapter()
671 public static NfcAdapter getDefaultAdapter(Context context) { in getDefaultAdapter()
699 public static NfcAdapter getDefaultAdapter() { in getDefaultAdapter()
707 return NfcAdapter.getNfcAdapter(null); in getDefaultAdapter()
[all …]
DNfcActivityManager.java25 import android.nfc.NfcAdapter.ReaderCallback;
45 static final String TAG = NfcAdapter.TAG;
49 final NfcAdapter mAdapter;
114 NfcAdapter.CreateNdefMessageCallback ndefMessageCallback = null;
115 NfcAdapter.OnNdefPushCompleteCallback onNdefPushCompleteCallback = null;
116 NfcAdapter.CreateBeamUrisCallback uriCallback = null;
120 NfcAdapter.ReaderCallback readerCallback = null;
199 public NfcActivityManager(NfcAdapter adapter) { in NfcActivityManager()
242 NfcAdapter.sService.setReaderMode(token, this, flags, extras); in setReaderMode()
266 NfcAdapter.CreateBeamUrisCallback callback) { in setNdefPushContentUriCallback()
[all …]
DNfcManager.java44 private final NfcAdapter mAdapter;
51 NfcAdapter adapter; in NfcManager()
58 adapter = NfcAdapter.getNfcAdapter(context); in NfcManager()
70 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.java25 import android.nfc.NfcAdapter;
43 private NfcAdapter mAdapter;
62 new IntentFilter(NfcAdapter.ACTION_ADAPTER_STATE_CHANGED)); in handleSetListening()
130 private NfcAdapter getAdapter() { in getAdapter()
133 mAdapter = NfcAdapter.getNfcAdapter(mContext); in getAdapter()
/frameworks/base/core/java/android/nfc/cardemulation/
DCardEmulation.java31 import android.nfc.NfcAdapter;
149 public static synchronized CardEmulation getInstance(NfcAdapter adapter) { in getInstance()
370 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in unsetOffHostForService()
431 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in setOffHostForService()
876 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in recoverService()
DNfcFCardEmulation.java26 import android.nfc.NfcAdapter;
66 public static synchronized NfcFCardEmulation getInstance(NfcAdapter adapter) { in getInstance()
474 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/non-updatable-api/
Dsystem-lint-baseline.txt198 SamShouldBeLast: android.nfc.NfcAdapter#enableReaderMode(android.app.Activity, android.nfc.NfcAdapt…
200 SamShouldBeLast: android.nfc.NfcAdapter#ignore(android.nfc.Tag, int, android.nfc.NfcAdapter.OnTagRe…
202 SamShouldBeLast: android.nfc.NfcAdapter#setBeamPushUrisCallback(android.nfc.NfcAdapter.CreateBeamUr…
204 SamShouldBeLast: android.nfc.NfcAdapter#setNdefPushMessageCallback(android.nfc.NfcAdapter.CreateNde…
206 SamShouldBeLast: android.nfc.NfcAdapter#setOnNdefPushCompleteCallback(android.nfc.NfcAdapter.OnNdef…
Dsystem-current.txt5649 public final class NfcAdapter {
5650 ….WRITE_SECURE_SETTINGS) public boolean addNfcUnlockHandler(android.nfc.NfcAdapter.NfcUnlockHandler…
5657 …ITE_SECURE_SETTINGS) public boolean removeNfcUnlockHandler(android.nfc.NfcAdapter.NfcUnlockHandler…
5662 public static interface NfcAdapter.NfcUnlockHandler {
Dcurrent.txt30921 public final class NfcAdapter {
30927 …method public void enableReaderMode(android.app.Activity, android.nfc.NfcAdapter.ReaderCallback, i…
30928 method public static android.nfc.NfcAdapter getDefaultAdapter(android.content.Context);
30929 …method public boolean ignore(android.nfc.Tag, int, android.nfc.NfcAdapter.OnTagRemovedListener, an…
30936 …method @Deprecated public void setBeamPushUrisCallback(android.nfc.NfcAdapter.CreateBeamUrisCallba…
30938 …method @Deprecated public void setNdefPushMessageCallback(android.nfc.NfcAdapter.CreateNdefMessage…
30939 …method @Deprecated public void setOnNdefPushCompleteCallback(android.nfc.NfcAdapter.OnNdefPushComp…
30971 @Deprecated public static interface NfcAdapter.CreateBeamUrisCallback {
30975 @Deprecated public static interface NfcAdapter.CreateNdefMessageCallback {
30979 @Deprecated public static interface NfcAdapter.OnNdefPushCompleteCallback {
[all …]
/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/api/
Dsystem-lint-baseline.txt273 SamShouldBeLast: android.nfc.NfcAdapter#enableReaderMode(android.app.Activity, android.nfc.NfcAdapt…
275 SamShouldBeLast: android.nfc.NfcAdapter#ignore(android.nfc.Tag, int, android.nfc.NfcAdapter.OnTagRe…
277 SamShouldBeLast: android.nfc.NfcAdapter#setBeamPushUrisCallback(android.nfc.NfcAdapter.CreateBeamUr…
279 SamShouldBeLast: android.nfc.NfcAdapter#setNdefPushMessageCallback(android.nfc.NfcAdapter.CreateNde…
281 SamShouldBeLast: android.nfc.NfcAdapter#setOnNdefPushCompleteCallback(android.nfc.NfcAdapter.OnNdef…
Dlint-baseline.txt212 BroadcastBehavior: android.nfc.NfcAdapter#ACTION_ADAPTER_STATE_CHANGED:
214 BroadcastBehavior: android.nfc.NfcAdapter#ACTION_TRANSACTION_DETECTED:
835 RequiresPermission: android.nfc.NfcAdapter#disableForegroundDispatch(android.app.Activity):
837 RequiresPermission: android.nfc.NfcAdapter#disableForegroundNdefPush(android.app.Activity):
839 RequiresPermission: android.nfc.NfcAdapter#enableForegroundDispatch(android.app.Activity, android.a…
841 RequiresPermission: android.nfc.NfcAdapter#enableForegroundNdefPush(android.app.Activity, android.n…
843 RequiresPermission: android.nfc.NfcAdapter#setBeamPushUris(android.net.Uri[], android.app.Activity):
845 RequiresPermission: android.nfc.NfcAdapter#setBeamPushUrisCallback(android.nfc.NfcAdapter.CreateBea…
847 RequiresPermission: android.nfc.NfcAdapter#setNdefPushMessage(android.nfc.NdefMessage, android.app.…
849 RequiresPermission: android.nfc.NfcAdapter#setNdefPushMessageCallback(android.nfc.NfcAdapter.Create…
[all …]
Dsystem-current.txt5743 public final class NfcAdapter {
5744 ….WRITE_SECURE_SETTINGS) public boolean addNfcUnlockHandler(android.nfc.NfcAdapter.NfcUnlockHandler…
5751 …ITE_SECURE_SETTINGS) public boolean removeNfcUnlockHandler(android.nfc.NfcAdapter.NfcUnlockHandler…
5756 public static interface NfcAdapter.NfcUnlockHandler {
Dcurrent.txt31065 public final class NfcAdapter {
31071 …method public void enableReaderMode(android.app.Activity, android.nfc.NfcAdapter.ReaderCallback, i…
31072 method public static android.nfc.NfcAdapter getDefaultAdapter(android.content.Context);
31073 …method public boolean ignore(android.nfc.Tag, int, android.nfc.NfcAdapter.OnTagRemovedListener, an…
31080 …method @Deprecated public void setBeamPushUrisCallback(android.nfc.NfcAdapter.CreateBeamUrisCallba…
31082 …method @Deprecated public void setNdefPushMessageCallback(android.nfc.NfcAdapter.CreateNdefMessage…
31083 …method @Deprecated public void setOnNdefPushCompleteCallback(android.nfc.NfcAdapter.OnNdefPushComp…
31115 @Deprecated public static interface NfcAdapter.CreateBeamUrisCallback {
31119 @Deprecated public static interface NfcAdapter.CreateNdefMessageCallback {
31123 @Deprecated public static interface NfcAdapter.OnNdefPushCompleteCallback {
[all …]
/frameworks/base/nfc-extras/api/
Dcurrent.txt36 method public static com.android.nfc_extras.NfcAdapterExtras get(android.nfc.NfcAdapter);
/frameworks/base/config/
Dpreloaded-classes2662 android.nfc.NfcAdapter$1
2663 android.nfc.NfcAdapter$CreateNdefMessageCallback
2664 android.nfc.NfcAdapter
Dhiddenapi-greylist-max-o.txt48115 Landroid/nfc/NfcActivityManager$NfcActivityState;->ndefMessageCallback:Landroid/nfc/NfcAdapter$Crea…
48116 …vityManager$NfcActivityState;->onNdefPushCompleteCallback:Landroid/nfc/NfcAdapter$OnNdefPushComple…
48117 Landroid/nfc/NfcActivityManager$NfcActivityState;->readerCallback:Landroid/nfc/NfcAdapter$ReaderCal…
48122 Landroid/nfc/NfcActivityManager$NfcActivityState;->uriCallback:Landroid/nfc/NfcAdapter$CreateBeamUr…
48128 Landroid/nfc/NfcActivityManager;-><init>(Landroid/nfc/NfcAdapter;)V
48133 Landroid/nfc/NfcActivityManager;->enableReaderMode(Landroid/app/Activity;Landroid/nfc/NfcAdapter$Re…
48145 …ger;->setNdefPushContentUriCallback(Landroid/app/Activity;Landroid/nfc/NfcAdapter$CreateBeamUrisCa…
48147 …anager;->setNdefPushMessageCallback(Landroid/app/Activity;Landroid/nfc/NfcAdapter$CreateNdefMessag…
48148 …ger;->setOnNdefPushCompleteCallback(Landroid/app/Activity;Landroid/nfc/NfcAdapter$OnNdefPushComple…
48153 Landroid/nfc/NfcAdapter;-><init>(Landroid/content/Context;)V
[all …]
Dboot-image-profile.txt11046 HSPLandroid/nfc/NfcAdapter;-><init>(Landroid/content/Context;)V
11047 HSPLandroid/nfc/NfcAdapter;->getDefaultAdapter(Landroid/content/Context;)Landroid/nfc/NfcAdapter;
11048 HSPLandroid/nfc/NfcAdapter;->getNfcAdapter(Landroid/content/Context;)Landroid/nfc/NfcAdapter;
11049 HSPLandroid/nfc/NfcAdapter;->hasBeamFeature()Z
11050 HSPLandroid/nfc/NfcAdapter;->hasNfcFeature()Z
11051 HSPLandroid/nfc/NfcAdapter;->hasNfcHceFeature()Z
11052 HSPLandroid/nfc/NfcAdapter;->isEnabled()Z
11053 HSPLandroid/nfc/NfcAdapter;->isSecureNfcSupported()Z
35090 Landroid/nfc/NfcAdapter$1;
35091 Landroid/nfc/NfcAdapter$CreateNdefMessageCallback;
[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 …]