Home
last modified time | relevance | path

Searched refs:tnf (Results 1 – 6 of 6) sorted by relevance

/system/nfc/src/nfa/dm/
Dnfa_dm_ndef.cc141 if (p_reg_info->tnf == NFA_TNF_DEFAULT) { in nfa_dm_ndef_reg_hdlr()
240 tNFA_DM_API_REG_NDEF_HDLR* p_init_handler, uint8_t tnf, in nfa_dm_ndef_find_next_handler() argument
257 if ((p_cb->p_ndef_handler[i]) && (p_cb->p_ndef_handler[i]->tnf == tnf)) { in nfa_dm_ndef_find_next_handler()
375 uint8_t tnf, type_len, rec_hdr_flags, id_len; in nfa_dm_ndef_handle_message() local
444 p_type = NDEF_RecGetType(p_rec, &tnf, &type_len); in nfa_dm_ndef_handle_message()
453 p_handler = nfa_dm_ndef_find_next_handler(nullptr, tnf, p_type, type_len, in nfa_dm_ndef_handle_message()
470 p_handler, tnf, p_type, type_len, p_payload, payload_len); in nfa_dm_ndef_handle_message()
536 p_handler, tnf, p_type, type_len, p_payload, payload_len); in nfa_dm_ndef_handle_message()
Dnfa_dm_api.cc994 tNFA_STATUS NFA_RegisterNDefTypeHandler(bool handle_whole_message, tNFA_TNF tnf, in NFA_RegisterNDefTypeHandler() argument
1003 handle_whole_message, tnf); in NFA_RegisterNDefTypeHandler()
1018 p_msg->tnf = tnf; in NFA_RegisterNDefTypeHandler()
1087 p_msg->tnf = NFA_TNF_WKT; in NFA_RegisterNDefUriHandler()
/system/nfc/src/nfc/include/
Dndef_utils.h156 extern uint8_t* NDEF_MsgGetFirstRecByType(uint8_t* p_msg, uint8_t tnf,
169 extern uint8_t* NDEF_MsgGetNextRecByType(uint8_t* p_cur_rec, uint8_t tnf,
263 uint32_t* p_cur_size, uint8_t tnf,
/system/nfc/src/nfc/ndef/
Dndef_utils.cc462 uint8_t* NDEF_MsgGetFirstRecByType(uint8_t* p_msg, uint8_t tnf, uint8_t* p_type, in NDEF_MsgGetFirstRecByType() argument
491 if (((rec_hdr & NDEF_TNF_MASK) == tnf) && (type_len == tlen) && in NDEF_MsgGetFirstRecByType()
516 uint8_t* NDEF_MsgGetNextRecByType(uint8_t* p_cur_rec, uint8_t tnf, in NDEF_MsgGetNextRecByType() argument
549 if (((rec_hdr & NDEF_TNF_MASK) == tnf) && (type_len == tlen) && in NDEF_MsgGetNextRecByType()
823 uint32_t* p_cur_size, uint8_t tnf, in NDEF_MsgAddRec() argument
832 if (tnf > NDEF_TNF_RESERVED) { in NDEF_MsgAddRec()
833 tnf = NDEF_TNF_UNKNOWN; in NDEF_MsgAddRec()
846 *p_rec = tnf | NDEF_MB_MASK | NDEF_ME_MASK; in NDEF_MsgAddRec()
854 *p_rec = tnf | NDEF_ME_MASK; in NDEF_MsgAddRec()
1329 uint8_t type_len, id_len, tnf; in NDEF_MsgCopyAndDechunk() local
[all …]
/system/nfc/src/nfa/include/
Dnfa_dm_int.h155 tNFA_TNF tnf; /* Type-name field of record-type that was registered. */ member
Dnfa_api.h1214 tNFA_TNF tnf,