Searched refs:type_len (Results 1 – 5 of 5) sorted by relevance
/system/nfc/src/nfc/ndef/ |
D | ndef_utils.cc | 79 uint8_t rec_hdr = 0, type_len, id_len; in NDEF_MsgValidate() local 108 type_len = *p_rec++; in NDEF_MsgValidate() 112 if ((rec_hdr & NDEF_CF_MASK) && (rec_hdr & NDEF_MB_MASK) && type_len == 0 && in NDEF_MsgValidate() 146 if ((type_len != 0) || (id_len != 0) || in NDEF_MsgValidate() 159 if ((type_len != 0) || (id_len != 0) || in NDEF_MsgValidate() 173 if ((type_len != 0) || (id_len != 0) || (payload_len != 0)) in NDEF_MsgValidate() 178 if (type_len != 0) return (NDEF_MSG_LENGTH_MISMATCH); in NDEF_MsgValidate() 183 if (type_len == 0) return (NDEF_MSG_LENGTH_MISMATCH); in NDEF_MsgValidate() 191 if ((p_rec_type + type_len) > p_end) return (NDEF_MSG_TOO_SHORT); in NDEF_MsgValidate() 193 for (int type_index = 0; type_index < type_len; type_index++) { in NDEF_MsgValidate() [all …]
|
/system/nfc/src/nfa/dm/ |
D | nfa_dm_ndef.cc | 369 uint8_t tnf, type_len, rec_hdr_flags, id_len; in nfa_dm_ndef_handle_message() local 438 p_type = NDEF_RecGetType(p_rec, &tnf, &type_len); in nfa_dm_ndef_handle_message() 447 p_handler = nfa_dm_ndef_find_next_handler(nullptr, tnf, p_type, type_len, in nfa_dm_ndef_handle_message() 464 p_handler, tnf, p_type, type_len, p_payload, payload_len); in nfa_dm_ndef_handle_message() 486 type_len = *p_rec_end++; in nfa_dm_ndef_handle_message() 530 p_handler, tnf, p_type, type_len, p_payload, payload_len); in nfa_dm_ndef_handle_message()
|
/system/bt/btif/src/ |
D | btif_sock_sdp.cc | 174 uint8_t type_len = UUID_MAX_LENGTH; in add_sdp_by_uuid() local 194 &type, &type_len, &type_buf_ptr)) in add_sdp_by_uuid() 279 uint8_t type_len[OBEX_PUSH_NUM_FORMATS]; in add_ops_sdp() local 305 type_len[j++] = 1; in add_ops_sdp() 311 desc_type, type_len, type_value)) in add_ops_sdp()
|
D | btif_sdp_server.cc | 669 uint8_t type_len[rec->supported_formats_list_len]; in add_opps_sdp() local 721 type_len[j++] = 1; in add_opps_sdp() 727 type_len, type_value); in add_opps_sdp()
|
/system/nfc/src/nfc/include/ |
D | ndef_utils.h | 264 uint8_t* p_type, uint8_t type_len,
|