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

  /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/
NdefTagTester.java 26 import android.nfc.tech.Ndef;
34 * {@link TagTester} for NDEF tags. It writes a semi-random NDEF tag with a random id but
43 private static final String PAYLOAD = "CTS Verifier NDEF Tag";
55 if (tech.equals(Ndef.class.getName())) {
56 Ndef ndef = Ndef.get(tag); local
57 return ndef != null && ndef.isWritable()
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
NfcTestActivity.java 27 import android.nfc.tech.Ndef;
35 TagVerifierActivity.getTagTestId(Ndef.class);
61 NDEF_ID, getTagIntent(Ndef.class), null));
TagVerifierActivity.java 37 import android.nfc.tech.Ndef;
141 if (Ndef.class.equals(techClass)) {
  /frameworks/base/core/java/android/nfc/tech/
Ndef.java 33 * Provides access to NDEF content and operations on a {@link Tag}.
35 * <p>Acquire a {@link Ndef} object using {@link #get}.
37 * <p>NDEF is an NFC Forum data format. The data formats are implemented in
44 * formatted to contain NDEF data.
52 * {@link Ndef} on NFC Forum Tag Types 1-4, and implement all NDEF operations
55 * <p>Some vendors have there own well defined specifications for storing NDEF data
57 * should enumerate and implement {@link Ndef} under these vendor specifications
60 * <code>com.nxp.ndef.mifareclassic</code>.
63 * implement {@link Ndef} on MIFARE Classic tags formatted to NDEF
    [all...]
  /packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/
NativeNfcManager.java 27 import android.nfc.tech.Ndef;
290 return (ndefType == Ndef.TYPE_1 || ndefType == Ndef.TYPE_2 ||
291 ndefType == Ndef.TYPE_MIFARE_CLASSIC);
365 * Notifies Ndef Message (TODO: rename into notifyTargetDiscovered)
NativeNfcTag.java 26 import android.nfc.tech.Ndef;
173 // 2) We are connecting to the ndef technology - always
175 if ((technology == TagTechnology.NDEF) ||
503 // This method exists to "patch in" the ndef technologies,
511 addTechnology(TagTechnology.NDEF, handle, libnfcType);
514 extras.putParcelable(Ndef.EXTRA_NDEF_MSG, msg);
515 extras.putInt(Ndef.EXTRA_NDEF_MAXLENGTH, maxLength);
516 extras.putInt(Ndef.EXTRA_NDEF_CARDSTATE, cardState);
517 extras.putInt(Ndef.EXTRA_NDEF_TYPE, getNdefType(libnfcType, javaType));
521 // including a NULL ref for the NDEF tech we generated above
    [all...]
  /packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
NativeNfcManager.java 27 import android.nfc.tech.Ndef;
240 return (ndefType == Ndef.TYPE_1 || ndefType == Ndef.TYPE_2);
316 * Notifies Ndef Message (TODO: rename into notifyTargetDiscovered)
NativeNfcTag.java 26 import android.nfc.tech.Ndef;
173 // 2) We are connecting to the ndef technology - always
175 if ((technology == TagTechnology.NDEF) ||
177 // special case for NDEF, this will cause switch to ISO_DEP frame intf
508 // This method exists to "patch in" the ndef technologies,
516 addTechnology(TagTechnology.NDEF, handle, libnfcType);
519 extras.putParcelable(Ndef.EXTRA_NDEF_MSG, msg);
520 extras.putInt(Ndef.EXTRA_NDEF_MAXLENGTH, maxLength);
521 extras.putInt(Ndef.EXTRA_NDEF_CARDSTATE, cardState);
522 extras.putInt(Ndef.EXTRA_NDEF_TYPE, getNdefType(libnfcType, javaType))
    [all...]
  /frameworks/base/core/java/android/nfc/
Tag.java 23 import android.nfc.tech.Ndef;
73 * <h4>2. NDEF data dispatch</h4>
74 * If the tag contains NDEF data the system inspects the first {@link NdefRecord} in the first
80 * data on a tag since NDEF data can be stored on many types of tags and doesn't depend on a
83 * NDEF data, or if no activity is registered
170 case TagTechnology.NDEF:
171 strings[i] = Ndef.class.getName();
247 * tag as NDEF adds the {@link Ndef} technology. The {@link rediscover}
NfcAdapter.java 33 import android.nfc.tech.Ndef;
57 * Intent to start an activity when a tag with NDEF payload is discovered.
67 * <p>If the tag has an NDEF payload this intent is started before
106 * {@link MifareClassic}, and {@link Ndef}:
117 * &lt;!-- capture all MIFARE Classics with NDEF payloads --&gt;
121 * &lt;tech&gt;android.nfc.tech.Ndef&lt;/tech&gt;
161 * {@link NdefMessage} element. Most NDEF tags have only one NDEF message,
255 * Called on successful NDEF push.
266 * A callback to be invoked when another NFC device capable of NDEF push (Android Beam
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/
NfcDispatcher.java 42 import android.nfc.tech.Ndef;
206 Ndef ndef = Ndef.get(tag); local
207 if (ndef != null) {
208 message = ndef.getCachedNdefMessage();
241 // We only allow NDEF-based mimeType matching
266 // NDEF
273 if (DBG) Log.i(TAG, "matched NDEF override");
341 // Bail out if the intent does not contain filterable NDEF dat
    [all...]
NfcService.java 55 import android.nfc.tech.Ndef;
880 Log.i(TAG, "enabling NDEF Push")
    [all...]
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/15/
android.jar 
  /prebuilts/sdk/17/
android.jar 

Completed in 91 milliseconds