Home
last modified time | relevance | path

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

/system/nfc/src/nfa/dm/
Dnfa_dm_ndef.cc138 if (p_reg_info->tnf == NFA_TNF_DEFAULT) { in nfa_dm_ndef_reg_hdlr()
236 tNFA_DM_API_REG_NDEF_HDLR* p_init_handler, uint8_t tnf, in nfa_dm_ndef_find_next_handler() argument
253 if ((p_cb->p_ndef_handler[i]) && (p_cb->p_ndef_handler[i]->tnf == tnf)) { in nfa_dm_ndef_find_next_handler()
371 uint8_t tnf, type_len, rec_hdr_flags, id_len; in nfa_dm_ndef_handle_message() local
440 p_type = NDEF_RecGetType(p_rec, &tnf, &type_len); in nfa_dm_ndef_handle_message()
449 p_handler = nfa_dm_ndef_find_next_handler(nullptr, tnf, p_type, type_len, in nfa_dm_ndef_handle_message()
466 p_handler, tnf, p_type, type_len, p_payload, payload_len); in nfa_dm_ndef_handle_message()
532 p_handler, tnf, p_type, type_len, p_payload, payload_len); in nfa_dm_ndef_handle_message()
Dnfa_dm_api.cc878 tNFA_STATUS NFA_RegisterNDefTypeHandler(bool handle_whole_message, tNFA_TNF tnf, in NFA_RegisterNDefTypeHandler() argument
887 handle_whole_message, tnf); in NFA_RegisterNDefTypeHandler()
902 p_msg->tnf = tnf; in NFA_RegisterNDefTypeHandler()
971 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.cc463 uint8_t* NDEF_MsgGetFirstRecByType(uint8_t* p_msg, uint8_t tnf, uint8_t* p_type, in NDEF_MsgGetFirstRecByType() argument
492 if (((rec_hdr & NDEF_TNF_MASK) == tnf) && (type_len == tlen) && in NDEF_MsgGetFirstRecByType()
517 uint8_t* NDEF_MsgGetNextRecByType(uint8_t* p_cur_rec, uint8_t tnf, in NDEF_MsgGetNextRecByType() argument
550 if (((rec_hdr & NDEF_TNF_MASK) == tnf) && (type_len == tlen) && in NDEF_MsgGetNextRecByType()
824 uint32_t* p_cur_size, uint8_t tnf, in NDEF_MsgAddRec() argument
833 if (tnf > NDEF_TNF_RESERVED) { in NDEF_MsgAddRec()
834 tnf = NDEF_TNF_UNKNOWN; in NDEF_MsgAddRec()
847 *p_rec = tnf | NDEF_MB_MASK | NDEF_ME_MASK; in NDEF_MsgAddRec()
855 *p_rec = tnf | NDEF_ME_MASK; in NDEF_MsgAddRec()
1330 uint8_t type_len, id_len, tnf; in NDEF_MsgCopyAndDechunk() local
[all …]
/system/nfc/src/fuzzers/ndef/
Dmain.cc30 .tnf = NFA_TNF_DEFAULT,
/system/nfc/src/nfa/include/
Dnfa_dm_int.h157 tNFA_TNF tnf; /* Type-name field of record-type that was registered. */ member
Dnfa_api.h1128 tNFA_TNF tnf,