Searched refs:tnf (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/java/android/nfc/
H A DNdefRecord.java221 * @param tnf a 3-bit TNF constant
227 public NdefRecord(short tnf, byte[] type, byte[] id, byte[] payload) { argument
233 this(tnf, type, id, payload, (byte)(FLAG_MB|FLAG_ME));
239 /*package*/ NdefRecord(short tnf, byte[] type, byte[] id, byte[] payload, byte flags) { argument
245 if (tnf < 0 || tnf > 0x07) {
246 throw new IllegalArgumentException("TNF out of range " + tnf);
260 mTnf = tnf;
447 short tnf = (short)in.readInt();
458 return new NdefRecord(tnf, typ
466 generate(short flags, short tnf, byte[] type, byte[] id, byte[] data) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_nfc_NdefRecord.cpp31 JNIEnv *e, jobject o, jshort flags, jshort tnf, jbyteArray type,
43 record.Tnf = (uint8_t)tnf;
30 android_nfc_NdefRecord_generate( JNIEnv *e, jobject o, jshort flags, jshort tnf, jbyteArray type, jbyteArray id, jbyteArray payload) argument

Completed in 108 milliseconds