OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Ndef
(Results
1 - 18
of
18
) 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
29
import android.nfc.tech.
Ndef
;
37
TagVerifierActivity.getTagTestId(
Ndef
.class);
63
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
;
320
return (ndefType ==
Ndef
.TYPE_1 || ndefType ==
Ndef
.TYPE_2 ||
321
ndefType ==
Ndef
.TYPE_MIFARE_CLASSIC);
407
* Notifies
Ndef
Message (TODO: rename into notifyTargetDiscovered)
NativeNfcTag.java
26
import android.nfc.tech.
Ndef
;
171
// 2) We are connecting to the
ndef
technology - always
173
if ((technology == TagTechnology.
NDEF
) ||
504
// This method exists to "patch in" the
ndef
technologies,
512
addTechnology(TagTechnology.
NDEF
, handle, libnfcType);
515
extras.putParcelable(
Ndef
.EXTRA_NDEF_MSG, msg);
516
extras.putInt(
Ndef
.EXTRA_NDEF_MAXLENGTH, maxLength);
517
extras.putInt(
Ndef
.EXTRA_NDEF_CARDSTATE, cardState);
518
extras.putInt(
Ndef
.EXTRA_NDEF_TYPE, getNdefType(libnfcType, javaType));
522
// including a NULL ref for the
NDEF
tech we generated above
[
all
...]
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
NativeNfcManager.java
24
import android.nfc.tech.
Ndef
;
256
return (ndefType ==
Ndef
.TYPE_1 || ndefType ==
Ndef
.TYPE_2);
347
* Notifies
Ndef
Message (TODO: rename into notifyTargetDiscovered)
NativeNfcTag.java
26
import android.nfc.tech.
Ndef
;
171
// 2) We are connecting to the
ndef
technology - always
173
if ((technology == TagTechnology.
NDEF
) ||
175
// special case for
NDEF
, this will cause switch to ISO_DEP frame intf
506
// This method exists to "patch in" the
ndef
technologies,
514
addTechnology(TagTechnology.
NDEF
, handle, libnfcType);
517
extras.putParcelable(
Ndef
.EXTRA_NDEF_MSG, msg);
518
extras.putInt(
Ndef
.EXTRA_NDEF_MAXLENGTH, maxLength);
519
extras.putInt(
Ndef
.EXTRA_NDEF_CARDSTATE, cardState);
520
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
;
60
* Intent to start an activity when a tag with
NDEF
payload is discovered.
70
* <p>If the tag has an
NDEF
payload this intent is started before
109
* {@link MifareClassic}, and {@link
Ndef
}:
120
* <!-- capture all MIFARE Classics with
NDEF
payloads -->
124
* <tech>android.nfc.tech.
Ndef
</tech>
164
* {@link NdefMessage} element. Most
NDEF
tags have only one
NDEF
message,
240
* platform from performing an
NDEF
check on the tags it
332
* Called on successful
NDEF
push
[
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
62
import android.nfc.tech.
Ndef
;
[
all
...]
/prebuilts/sdk/14/
android.jar
/prebuilts/sdk/15/
android.jar
/prebuilts/sdk/17/
android.jar
/prebuilts/sdk/18/
android.jar
/prebuilts/sdk/19/
android.jar
/prebuilts/sdk/current/
android.jar
Completed in 781 milliseconds