Home
last modified time | relevance | path

Searched refs:vendor_len (Results 1 – 10 of 10) 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()
532 if (p_msg->vendor_len < 4) { in avrc_ctrl_pars_vendor_rsp()
535 __func__, p_msg->vendor_len); in avrc_ctrl_pars_vendor_rsp()
547 p_msg->hdr.ctype, p_result->pdu, len, p_msg->vendor_len); in avrc_ctrl_pars_vendor_rsp()
548 if (p_msg->vendor_len < len + 4) { in avrc_ctrl_pars_vendor_rsp()
[all …]
Davrc_pars_tg.cc58 if ((len + 4) != (p_msg->vendor_len)) { in avrc_ctrl_pars_vendor_cmd()
119 if (p_msg->vendor_len == 0) return AVRC_STS_NO_ERROR; in avrc_pars_vendor_cmd()
122 if (p_msg->vendor_len < 4) { in avrc_pars_vendor_cmd()
125 __func__, p_msg->vendor_len); in avrc_pars_vendor_cmd()
140 if ((len + 4) != (p_msg->vendor_len)) { in avrc_pars_vendor_cmd()
142 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()
782 p_msg->vendor_len = p_pkt->len - (p_data - p_begin); in avrc_msg_cback()
/system/bt/profile/avrcp/
Davrcp_message_converter.h79 for (int i = 0; i < msg->vendor_len; i++) { in Parse()
/system/bt/stack/test/
Dstack_avrcp_test.cc146 .vendor_len = sizeof(data), in TEST_F()
/system/bt/bta/av/
Dbta_av_api.cc468 p_buf->msg.vendor_len = len; in BTA_AvVendorCmd()
506 p_buf->msg.vendor_len = len; in BTA_AvVendorRsp()
Dbta_av_act.cc255 data_len = (uint16_t)p_msg->vendor.vendor_len; in bta_av_rc_msg_cback()
728 if ((u16 != 5) || (p_vendor->vendor_len != 9)) { in bta_av_chk_notif_evt_id()
766 if ((AVRC_MIN_META_CMD_LEN + p_vendor->vendor_len) > AVRC_META_CMD_BUF_SIZE) { in bta_av_proc_meta_cmd()
770 p_vendor->vendor_len); in bta_av_proc_meta_cmd()
780 p_vendor->vendor_len = 0; in bta_av_proc_meta_cmd()
793 if (p_vendor->vendor_len != 5) { in bta_av_proc_meta_cmd()
943 av.vendor_cmd.len = p_vendor->vendor_len; in bta_av_rc_msg()
/system/bt/stack/include/
Davrc_defs.h912 uint16_t vendor_len; /* Length in bytes of vendor dependent data. */ member
/system/bt/btif/src/
Dbtif_av.cc829 (p_msg_src->vendor.p_vendor_data && p_msg_src->vendor.vendor_len)) { in DeepCopy()
831 (uint8_t*)osi_calloc(p_msg_src->vendor.vendor_len); in DeepCopy()
833 p_msg_src->vendor.p_vendor_data, p_msg_src->vendor.vendor_len); in DeepCopy()