/frameworks/base/core/java/android/nfc/ |
D | NfcActivityManager.java | 24 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 …]
|
D | NfcManager.java | 41 private final NfcAdapter mAdapter; 47 NfcAdapter adapter; in NfcManager() 54 adapter = NfcAdapter.getNfcAdapter(context); in NfcManager() 66 public NfcAdapter getDefaultAdapter() { in getDefaultAdapter()
|
D | NfcAdapter.java | 60 public final class NfcAdapter { class 307 static HashMap<Context, NfcAdapter> sNfcAdapters = new HashMap(); //guard by NfcAdapter.class 314 static NfcAdapter sNullContextNfcAdapter; // protected by NfcAdapter.class 442 public static synchronized NfcAdapter getNfcAdapter(Context context) { in getNfcAdapter() 480 sNullContextNfcAdapter = new NfcAdapter(null); in getNfcAdapter() 484 NfcAdapter adapter = sNfcAdapters.get(context); in getNfcAdapter() 486 adapter = new NfcAdapter(context); in getNfcAdapter() 515 public static NfcAdapter getDefaultAdapter(Context context) { in getDefaultAdapter() 542 public static NfcAdapter getDefaultAdapter() { in getDefaultAdapter() 550 return NfcAdapter.getNfcAdapter(null); in getDefaultAdapter() [all …]
|
D | NfcEvent.java | 39 public final NfcAdapter nfcAdapter; 51 NfcEvent(NfcAdapter nfcAdapter, byte peerLlcpVersion) { in NfcEvent()
|
/frameworks/base/nfc-extras/java/com/android/nfc_extras/ |
D | NfcAdapterExtras.java | 23 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/docs/html/guide/topics/connectivity/nfc/ |
D | nfc.jd | 150 android.nfc.NfcAdapter#ACTION_NDEF_DISCOVERED} intent along with the actual payload. However, there 155 encapsulated inside of a {@link android.nfc.NfcAdapter#ACTION_TECH_DISCOVERED} intent instead.</p> 161 {@link android.nfc.NfcAdapter#ACTION_TECH_DISCOVERED}. 166 android.nfc.NfcAdapter#ACTION_NDEF_DISCOVERED} intent along with other information about the tag, 184 <td>Falls back to {@link android.nfc.NfcAdapter#ACTION_TECH_DISCOVERED}.</td> 197 {@link android.nfc.NfcAdapter#ACTION_TECH_DISCOVERED}.</td> 200 <td>Falls back to {@link android.nfc.NfcAdapter#ACTION_TECH_DISCOVERED}.</td> 219 <td>Falls back to {@link android.nfc.NfcAdapter#ACTION_TECH_DISCOVERED}.</td> 222 <td>Falls back to {@link android.nfc.NfcAdapter#ACTION_TECH_DISCOVERED}.</td> 225 <td>Falls back to {@link android.nfc.NfcAdapter#ACTION_TECH_DISCOVERED}.</td> [all …]
|
D | advanced-nfc.jd | 122 android.nfc.NfcAdapter#ACTION_TECH_DISCOVERED} 123 intent. The {@link android.nfc.NfcAdapter#ACTION_TECH_DISCOVERED} is also used when a tag 129 <li>Filter for an {@link android.nfc.NfcAdapter#ACTION_TECH_DISCOVERED} intent specifying the 133 android.nfc.NfcAdapter#ACTION_TECH_DISCOVERED} intent when an NDEF message 139 <pre>Tag tagFromIntent = intent.getParcelableExtra(NfcAdapter.EXTRA_TAG);</pre></li> 147 MifareUltralight.get(intent.getParcelableExtra(NfcAdapter.EXTRA_TAG)); 248 IntentFilter ndef = new IntentFilter(NfcAdapter.ACTION_NDEF_DISCOVERED); 273 android.nfc.NfcAdapter#enableForegroundDispatch enableForegroundDispatch()} must be called from 291 Tag tagFromIntent = intent.getParcelableExtra(NfcAdapter.EXTRA_TAG);
|
/frameworks/base/docs/html/training/beam-files/ |
D | send-files.jd | 159 NfcAdapter mNfcAdapter; 185 mNfcAdapter = NfcAdapter.getDefaultAdapter(this); 204 {@link android.nfc.NfcAdapter.CreateBeamUrisCallback} interface and its method 205 {@link android.nfc.NfcAdapter.CreateBeamUrisCallback#createBeamUris createBeamUris()}. The 219 NfcAdapter.CreateBeamUrisCallback { 235 calling {@link android.nfc.NfcAdapter#setBeamPushUrisCallback setBeamPushUrisCallback()}. The 249 mNfcAdapter = NfcAdapter.getDefaultAdapter(this); 264 directly to the NFC framework through your app's {@link android.nfc.NfcAdapter} instance. Choose 266 To learn more about this approach, see {@link android.nfc.NfcAdapter#setBeamPushUris 267 NfcAdapter.setBeamPushUris()}.
|
D | index.jd | 2 page.tags=NfcAdapter,Android Beam,share,file transfer
|
/frameworks/base/core/java/android/nfc/cardemulation/ |
D | NfcFCardEmulation.java | 26 import android.nfc.NfcAdapter; 66 public static synchronized NfcFCardEmulation getInstance(NfcAdapter adapter) { in getInstance() 474 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in recoverService()
|
D | CardEmulation.java | 28 import android.nfc.NfcAdapter; 145 public static synchronized CardEmulation getInstance(NfcAdapter adapter) { in getInstance() 639 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in recoverService()
|
/frameworks/base/nfc-extras/tests/src/com/android/nfc_extras/tests/ |
D | BasicNfcEeTest.java | 20 import android.nfc.NfcAdapter; 52 mAdapterExtras = NfcAdapterExtras.get(NfcAdapter.getDefaultAdapter(mContext)); in setUp()
|
/frameworks/base/docs/html/about/versions/ |
D | android-2.3.3.jd | 77 other applications (<code>android.nfc.NfcAdapter.enableForegroundDispatch()</code>). 88 <li>{@link android.nfc.NfcAdapter}, which represents the NFC hardware on the device.</li> 93 {@link android.nfc.NfcAdapter#ACTION_NDEF_DISCOVERED NDEF_DISCOVERED}, 94 {@link android.nfc.NfcAdapter#ACTION_TECH_DISCOVERED TECH_DISCOVERED}, or 95 {@link android.nfc.NfcAdapter#ACTION_TAG_DISCOVERED TAG_DISCOVERED} Intents.</li> 111 {@link android.nfc.NfcAdapter#getDefaultAdapter(android.content.Context)
|
D | android-4.1.jd | 449 to transfer with either the new {@link android.nfc.NfcAdapter#setBeamPushUris setBeamPushUris()} 450 method or the new callback interface {@link android.nfc.NfcAdapter.CreateBeamUrisCallback}, Android 456 <p>The {@link android.nfc.NfcAdapter#setBeamPushUris setBeamPushUris()} method takes an array of 458 Alternatively, you can implement the {@link android.nfc.NfcAdapter.CreateBeamUrisCallback} 460 android.nfc.NfcAdapter#setBeamPushUrisCallback setBeamPushUrisCallback()}.</p> 464 android.nfc.NfcAdapter.CreateBeamUrisCallback#createBeamUris createBeamUris()} method when the 467 activity, whereas calling {@link android.nfc.NfcAdapter#setBeamPushUris setBeamPushUris()} is
|
D | android-2.3.jd | 100 <ul><li>{@link android.nfc.NfcAdapter}, which represents the NFC hardware on the device.</li> 104 android.nfc.NfcAdapter#ACTION_TAG_DISCOVERED}</code> Intents.</li> 113 applications can call {@link android.nfc.NfcAdapter#isEnabled isEnabled()} to 114 query the {@link android.nfc.NfcAdapter}. The NFC API is always present,
|
D | android-4.0.jd | 549 <p>Call {@link android.nfc.NfcAdapter#setNdefPushMessage setNdefPushMessage()} at any time to set 556 <p>Implement {@link android.nfc.NfcAdapter.CreateNdefMessageCallback}, in which your 558 android.nfc.NfcAdapter.CreateNdefMessageCallback#createNdefMessage createNdefMessage()} 560 android.nfc.NfcAdapter.CreateNdefMessageCallback} implementation to {@link 561 android.nfc.NfcAdapter#setNdefPushMessageCallback setNdefPushMessageCallback()}.</p> 564 android.nfc.NfcAdapter.CreateNdefMessageCallback#createNdefMessage createNdefMessage()} to retrieve 572 android.nfc.NfcAdapter.OnNdefPushCompleteCallback} and set it with {@link 573 android.nfc.NfcAdapter#setOnNdefPushCompleteCallback setNdefPushCompleteCallback()}. The system will 574 then call {@link android.nfc.NfcAdapter.OnNdefPushCompleteCallback#onNdefPushComplete 578 tags. The system invokes an intent with the {@link android.nfc.NfcAdapter#ACTION_NDEF_DISCOVERED}
|
D | android-4.4.jd | 252 …th {@link android.nfc.NfcAdapter#enableReaderMode enableReaderMode()}, providing an implementation…
|
D | android-5.0.jd | 633 calling {@link android.nfc.NfcAdapter#invokeBeam(android.app.Activity) invokeBeam()}.
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | ShutdownThread.java | 28 import android.nfc.NfcAdapter; 535 nfc.getState() == NfcAdapter.STATE_OFF; in shutdownRadios() 602 nfcOff = nfc.getState() == NfcAdapter.STATE_OFF; in shutdownRadios()
|
/frameworks/base/docs/html-intl/intl/zh-tw/about/versions/ |
D | android-5.0.jd | 443 <li>透過呼叫 {@link android.nfc.NfcAdapter#invokeBeam(android.app.Activity) invokeBeam()},您的應用程式可以在使用者的…
|
/frameworks/base/docs/html-intl/intl/ja/about/versions/ |
D | android-5.0.jd | 443 <li>ユーザーの端末でアプリから Android Beam を起動し、{@link android.nfc.NfcAdapter#invokeBeam(android.app.Activity) …
|
/frameworks/base/docs/html-intl/intl/ko/about/versions/ |
D | android-5.0.jd | 444 <li>{@link android.nfc.NfcAdapter#invokeBeam(android.app.Activity) invokeBeam()}을 호출하는 방식으로 앱이 사용자의…
|
/frameworks/base/docs/html-intl/intl/zh-cn/about/versions/ |
D | android-5.0.jd | 445 <li>您的应用可以通过调用 {@link android.nfc.NfcAdapter#invokeBeam(android.app.Activity) invokeBeam()} 在用户的设备上…
|
/frameworks/base/docs/html-intl/intl/ru/about/versions/ |
D | android-5.0.jd | 444 …id Beam на пользовательском устройстве путем вызова {@link android.nfc.NfcAdapter#invokeBeam(andro…
|
/frameworks/base/ |
D | compiled-classes-phone | 2930 android.nfc.NfcAdapter 2931 android.nfc.NfcAdapter$1 2932 android.nfc.NfcAdapter$CreateBeamUrisCallback 2933 android.nfc.NfcAdapter$CreateNdefMessageCallback 2934 android.nfc.NfcAdapter$NfcUnlockHandler 2935 android.nfc.NfcAdapter$OnNdefPushCompleteCallback
|