Home
last modified time | relevance | path

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

/system/bt/stack/avrc/
Davrc_opt.cc53 CHECK(AVRC_META_CMD_BUF_SIZE > (AVRC_MIN_CMD_LEN + p_msg->vendor_len)); in avrc_vendor_msg()
63 if (p_msg->vendor_len && p_msg->p_vendor_data) in avrc_vendor_msg()
64 memcpy(p_data, p_msg->p_vendor_data, p_msg->vendor_len); in avrc_vendor_msg()
65 p_cmd->len = (uint16_t)(p_data + p_msg->vendor_len - (uint8_t*)(p_cmd + 1) - in avrc_vendor_msg()
Davrc_pars_ct.cc56 if (p_msg->vendor_len == 0) return AVRC_STS_NO_ERROR; in avrc_pars_vendor_rsp()
59 if (p_msg->vendor_len < 4) { in avrc_pars_vendor_rsp()
62 __func__, p_msg->vendor_len); in avrc_pars_vendor_rsp()
71 p_msg->vendor_len); in avrc_pars_vendor_rsp()
72 if (p_msg->vendor_len < len + 4) { in avrc_pars_vendor_rsp()
75 __func__, p_msg->vendor_len, len + 4); in avrc_pars_vendor_rsp()
501 if (p_msg->vendor_len < 4) { in avrc_ctrl_pars_vendor_rsp()
504 __func__, p_msg->vendor_len); in avrc_ctrl_pars_vendor_rsp()
516 p_msg->hdr.ctype, p_result->pdu, len, p_msg->vendor_len); in avrc_ctrl_pars_vendor_rsp()
517 if (p_msg->vendor_len < len + 4) { in avrc_ctrl_pars_vendor_rsp()
[all …]
Davrc_pars_tg.cc57 if ((len + 4) != (p_msg->vendor_len)) { in avrc_ctrl_pars_vendor_cmd()
110 if (p_msg->vendor_len == 0) return AVRC_STS_NO_ERROR; in avrc_pars_vendor_cmd()
124 if ((len + 4) != (p_msg->vendor_len)) { in avrc_pars_vendor_cmd()
126 p_msg->vendor_len); in avrc_pars_vendor_cmd()
Davrc_api.cc555 p_msg->vendor_len = p_pkt_new->len - AVRC_VENDOR_HDR_SIZE; in avrc_proc_far_msg()
559 (p_msg->vendor_len - AVRC_MIN_META_HDR_SIZE)); in avrc_proc_far_msg()
781 p_msg->vendor_len = p_pkt->len - (p_data - p_begin); in avrc_msg_cback()
/system/bt/profile/avrcp/
Davrcp_message_converter.h79 for (uint8_t i = 0; i < msg->vendor_len; i++) { in Parse()
/system/bt/bta/av/
Dbta_av_api.cc478 p_buf->msg.vendor_len = len; in BTA_AvVendorCmd()
516 p_buf->msg.vendor_len = len; in BTA_AvVendorRsp()
Dbta_av_act.cc260 data_len = (uint16_t)p_msg->vendor.vendor_len; in bta_av_rc_msg_cback()
731 if ((u16 != 5) || (p_vendor->vendor_len != 9)) { in bta_av_chk_notif_evt_id()
769 if ((AVRC_MIN_META_CMD_LEN + p_vendor->vendor_len) > AVRC_META_CMD_BUF_SIZE) { in bta_av_proc_meta_cmd()
773 p_vendor->vendor_len); in bta_av_proc_meta_cmd()
783 p_vendor->vendor_len = 0; in bta_av_proc_meta_cmd()
796 if (p_vendor->vendor_len != 5) { in bta_av_proc_meta_cmd()
946 av.vendor_cmd.len = p_vendor->vendor_len; in bta_av_rc_msg()
/system/bt/btif/src/
Dbtif_av.cc817 (p_msg_src->vendor.p_vendor_data && p_msg_src->vendor.vendor_len)) { in DeepCopy()
819 (uint8_t*)osi_calloc(p_msg_src->vendor.vendor_len); in DeepCopy()
821 p_msg_src->vendor.p_vendor_data, p_msg_src->vendor.vendor_len); in DeepCopy()
/system/bt/stack/include/
Davrc_defs.h909 uint16_t vendor_len; /* Length in bytes of vendor dependent data. */ member