/external/libnfc-nci/src/nfa/dm/ |
nfa_dm_ndef.c | 142 if (p_reg_info->tnf == NFA_TNF_DEFAULT) 237 UINT8 tnf, 259 /* Check if TNF matches */ 261 &&(p_cb->p_ndef_handler[i]->tnf == tnf) ) 263 /* TNF matches. */ 371 UINT8 tnf, type_len, rec_hdr_flags, id_len; local 431 p_type = NDEF_RecGetType (p_rec, &tnf, &type_len); 440 if ((p_handler = nfa_dm_ndef_find_next_handler (NULL, tnf, p_type, type_len, p_payload, payload_len)) == NULL) 455 p_handler = nfa_dm_ndef_find_next_handler (p_handler, tnf, p_type, type_len, p_payload, payload_len) [all...] |
nfa_dm_api.c | 760 ** with tnf=NFA_TNF_DEFAULT. In this case, all un-registered 773 tNFA_TNF tnf, 780 NFA_TRACE_API2 ("NFA_RegisterNDefTypeHandler (): handle whole ndef message: %i, tnf=0x%02x", handle_whole_message, tnf); 795 p_msg->tnf = tnf; 813 ** with TNF=NFA_TNF_WKT, and type_name='U' (URI record); and allows 864 p_msg->tnf = NFA_TNF_WKT; [all...] |
/external/libnfc-nxp/src/ |
phFriNfc_NdefRecord.c | 147 /* Check for Tnf bits 0x07 is reserved for future use */ 151 /* TNF 07 Error */ 159 /* Check the First Record(MB = 0) for TNF = 0x06(Unchanged) */ 170 /* First Record i.e., MB = 1, TNF != 0x05 and TypeLength = 0 */ 281 TNF of present record is not 0x06 */ 286 /* CF or TNF Error */ 293 TNF of present record is 0x06 */ 298 /* CF or TNF Error */ 393 FlagCheck=phFriNfc_NdefRecord_NdefFlag(Record->Tnf,PH_FRINFC_NDEFRECORD_TNFBYTE_MASK); 394 /* Type length is present only for following TNF 715 uint8_t tnf = 0; local [all...] |
/frameworks/base/core/java/android/nfc/ |
NdefRecord.java | 49 * A logical NDEF Record always contains a 3-bit TNF (Type Name Field) 60 * NDEF Records with correctly set tnf, type, id and payload fields, please 96 * Use this tnf with RTD types such as {@link #RTD_TEXT}, {@link #RTD_URI}. 134 * Note this TNF should not be used with RTD_TEXT or RTD_URI constants. 161 * Reserved TNF type. 484 * Basic validation of the tnf, type, id and payload is performed 487 * <li>The tnf paramter must be a 3-bit value.</li> 488 * <li>Records with a tnf of {@link #TNF_EMPTY} cannot have a type, 490 * <li>Records with a tnf of {@link #TNF_UNKNOWN} or {@literal 0x07} 492 * <li>Records with a tnf of {@link #TNF_UNCHANGED} are not allowe 763 short tnf = (short)(flag & 0x07); local [all...] |
/external/libnfc-nci/src/nfc/ndef/ |
ndef_utils.c | 463 UINT8 *NDEF_MsgGetFirstRecByType (UINT8 *p_msg, UINT8 tnf, UINT8 *p_type, UINT8 tlen) 493 if ( ((rec_hdr & NDEF_TNF_MASK) == tnf) 520 UINT8 *NDEF_MsgGetNextRecByType (UINT8 *p_cur_rec, UINT8 tnf, UINT8 *p_type, UINT8 tlen) 554 if ( ((rec_hdr & NDEF_TNF_MASK) == tnf) 696 ** Returns Pointer to Type (NULL if none). TNF and len are filled in. 837 UINT8 tnf, UINT8 *p_type, UINT8 type_len, 846 if (tnf > NDEF_TNF_RESERVED) 848 tnf = NDEF_TNF_UNKNOWN; 860 *p_rec = tnf | NDEF_MB_MASK | NDEF_ME_MASK; 870 *p_rec = tnf | NDEF_ME_MASK 1524 UINT8 type_len, id_len, tnf; local [all...] |
ndef_cho_utils.c | 568 UINT8 id_len, tnf, type_len; local 577 p_type = NDEF_RecGetType (p_rec, &tnf, &type_len); 581 ||(tnf != NDEF_TNF_MEDIA)
|
/external/libnfc-nci/src/nfc/include/ |
ndef_utils.h | 173 EXPORT_NDEF_API extern UINT8 *NDEF_MsgGetFirstRecByType (UINT8 *p_msg, UINT8 tnf, UINT8 *p_type, UINT8 tlen); 185 EXPORT_NDEF_API extern UINT8 *NDEF_MsgGetNextRecByType (UINT8 *p_cur_rec, UINT8 tnf, UINT8 *p_type, UINT8 tlen); 217 ** Returns Pointer to Type (NULL if none). TNF and len are filled in. 270 UINT8 tnf, UINT8 *p_type, UINT8 type_len, 286 UINT8 tnf, UINT8 *p_type, UINT8 type_len,
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
HandoverManager.java | 478 short tnf = r.getTnf(); local 487 if (tnf == NdefRecord.TNF_WELL_KNOWN && 493 if (tnf == NdefRecord.TNF_EXTERNAL_TYPE && Arrays.equals(type, TYPE_NOKIA)) {
|
/external/libnfc-nci/src/nfa/include/ |
nfa_api.h | [all...] |
/external/libnfc-nci/src/nfa/int/ |
nfa_dm_int.h | 164 tNFA_TNF tnf; /* Type-name field of record-type that was registered. */ member in struct:__anon10377
|
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/15/ |
android.jar | |
/prebuilts/sdk/17/ |
android.jar | |