Searched refs:TagTechnology (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/core/java/android/nfc/tech/
H A DIsoDep.java61 if (!tag.hasTech(TagTechnology.ISO_DEP)) return null;
72 super(tag, TagTechnology.ISO_DEP);
73 Bundle extras = tag.getTechExtras(TagTechnology.ISO_DEP);
94 int err = mTag.getTagService().setTimeout(TagTechnology.ISO_DEP, timeout);
112 return mTag.getTagService().getTimeout(TagTechnology.ISO_DEP);
H A DNfcA.java58 if (!tag.hasTech(TagTechnology.NFC_A)) return null;
68 super(tag, TagTechnology.NFC_A);
69 Bundle extras = tag.getTechExtras(TagTechnology.NFC_A);
147 int err = mTag.getTagService().setTimeout(TagTechnology.NFC_A, timeout);
165 return mTag.getTagService().getTimeout(TagTechnology.NFC_A);
H A DNfcF.java58 if (!tag.hasTech(TagTechnology.NFC_F)) return null;
68 super(tag, TagTechnology.NFC_F);
69 Bundle extras = tag.getTechExtras(TagTechnology.NFC_F);
151 int err = mTag.getTagService().setTimeout(TagTechnology.NFC_F, timeout);
169 return mTag.getTagService().getTimeout(TagTechnology.NFC_F);
H A DNfcB.java54 if (!tag.hasTech(TagTechnology.NFC_B)) return null;
64 super(tag, TagTechnology.NFC_B);
65 Bundle extras = tag.getTechExtras(TagTechnology.NFC_B);
H A DNfcBarcode.java51 if (!tag.hasTech(TagTechnology.NFC_BARCODE)) return null;
64 super(tag, TagTechnology.NFC_BARCODE);
65 Bundle extras = tag.getTechExtras(TagTechnology.NFC_BARCODE);
H A DNfcV.java55 if (!tag.hasTech(TagTechnology.NFC_V)) return null;
65 super(tag, TagTechnology.NFC_V);
66 Bundle extras = tag.getTechExtras(TagTechnology.NFC_V);
H A DMifareUltralight.java94 if (!tag.hasTech(TagTechnology.MIFARE_ULTRALIGHT)) return null;
104 super(tag, TagTechnology.MIFARE_ULTRALIGHT);
112 Bundle extras = tag.getTechExtras(TagTechnology.MIFARE_ULTRALIGHT);
243 TagTechnology.MIFARE_ULTRALIGHT, timeout);
261 return mTag.getTagService().getTimeout(TagTechnology.MIFARE_ULTRALIGHT);
H A DTagTechnology.java25 * {@link TagTechnology} is an interface to a technology in a {@link Tag}.
27 * Obtain a {@link TagTechnology} implementation by calling the static method <code>get()</code>
32 * {@link TagTechnology} implementations provide access to these different
38 * {@link TagTechnology} implementations.
48 * {@link TagTechnology} implementations. If it is not provided, the
59 * {@link TagTechnology} implementations provide methods that fall into two classes:
72 * {@link TagTechnology}, and it will cancel all other blocked I/O operations on other threads
74 * <li>Only one {@link TagTechnology} can be connected at a time. Other calls to
83 public interface TagTechnology extends Closeable { interface in inherits:Closeable
161 * Get the {@link Tag} object backing this {@link TagTechnology} objec
[all...]
H A DNdefFormatable.java59 if (!tag.hasTech(TagTechnology.NDEF_FORMATABLE)) return null;
72 super(tag, TagTechnology.NDEF_FORMATABLE);
H A DNdef.java146 if (!tag.hasTech(TagTechnology.NDEF)) return null;
159 super(tag, TagTechnology.NDEF);
160 Bundle extras = tag.getTechExtras(TagTechnology.NDEF);
H A DMifareClassic.java136 if (!tag.hasTech(TagTechnology.MIFARE_CLASSIC)) return null;
146 super(tag, TagTechnology.MIFARE_CLASSIC);
603 int err = mTag.getTagService().setTimeout(TagTechnology.MIFARE_CLASSIC, timeout);
621 return mTag.getTagService().getTimeout(TagTechnology.MIFARE_CLASSIC);
H A DBasicTagTechnology.java30 abstract class BasicTagTechnology implements TagTechnology {
/frameworks/base/core/java/android/nfc/
H A DTag.java30 import android.nfc.tech.TagTechnology;
44 * the time of discovery. It can be used as a handle to {@link TagTechnology} classes
51 * only the most recent tag object can be successfully used to create a {@link TagTechnology}.
90 * Technologies are defined as sub-classes of {@link TagTechnology}, see the package
108 * code executing on the tag. Use {@link TagTechnology} classes to access a broad
162 case TagTechnology.ISO_DEP:
165 case TagTechnology.MIFARE_CLASSIC:
168 case TagTechnology.MIFARE_ULTRALIGHT:
171 case TagTechnology.NDEF:
174 case TagTechnology
[all...]

Completed in 103 milliseconds