Home
last modified time | relevance | path

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

/system/bt/stack/avdt/
Davdt_msg.c585 UINT8 elem_len; in avdt_msg_prs_cfg() local
616 elem_len = *p++; in avdt_msg_prs_cfg()
635 p += elem_len; in avdt_msg_prs_cfg()
636 AVDT_TRACE_DEBUG("skipping unknown service category=%d len: %d", elem, elem_len); in avdt_msg_prs_cfg()
641 if ((elem_len > avdt_msg_ie_len_max[elem]) || in avdt_msg_prs_cfg()
642 (elem_len < avdt_msg_ie_len_min[elem])) in avdt_msg_prs_cfg()
650 AVDT_TRACE_DEBUG("elem=%d elem_len: %d psc_mask=0x%x", elem, elem_len, p_cfg->psc_mask); in avdt_msg_prs_cfg()
674 if ((elem_len + protect_offset) < AVDT_PROTECT_SIZE) in avdt_msg_prs_cfg()
677 p_cfg->protect_info[protect_offset] = elem_len; in avdt_msg_prs_cfg()
679 memcpy(&p_cfg->protect_info[protect_offset], p, elem_len); in avdt_msg_prs_cfg()
[all …]