Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/avrc/
Davrc_pars_ct.cc548 p_result->get_caps.count = 0; in avrc_ctrl_pars_vendor_rsp()
549 p_result->get_caps.capability_id = 0; in avrc_ctrl_pars_vendor_rsp()
554 BE_STREAM_TO_UINT8(p_result->get_caps.capability_id, p); in avrc_ctrl_pars_vendor_rsp()
555 BE_STREAM_TO_UINT8(p_result->get_caps.count, p); in avrc_ctrl_pars_vendor_rsp()
557 p_result->get_caps.capability_id, p_result->get_caps.count); in avrc_ctrl_pars_vendor_rsp()
558 if (p_result->get_caps.capability_id == AVRC_CAP_COMPANY_ID) { in avrc_ctrl_pars_vendor_rsp()
559 if (p_result->get_caps.count > AVRC_CAP_MAX_NUM_COMP_ID) { in avrc_ctrl_pars_vendor_rsp()
562 min_len += MIN(p_result->get_caps.count, AVRC_CAP_MAX_NUM_COMP_ID) * 3; in avrc_ctrl_pars_vendor_rsp()
564 for (int xx = 0; ((xx < p_result->get_caps.count) && in avrc_ctrl_pars_vendor_rsp()
567 BE_STREAM_TO_UINT24(p_result->get_caps.param.company_id[xx], p); in avrc_ctrl_pars_vendor_rsp()
[all …]
Davrc_pars_tg.cc153 p_result->get_caps.capability_id = *p++; in avrc_pars_vendor_cmd()
154 if (!AVRC_IS_VALID_CAP_ID(p_result->get_caps.capability_id)) in avrc_pars_vendor_cmd()
Davrc_bld_ct.cc632 avrc_bld_get_capability_cmd(p_pkt, p_cmd->get_caps.capability_id); in AVRC_BldCommand()
Davrc_bld_tg.cc1434 status = avrc_bld_get_capability_rsp(&p_rsp->get_caps, p_pkt); in AVRC_BldResponse()
/packages/modules/Bluetooth/system/bta/av/
Dbta_av_act.cc848 p_rc_rsp->get_caps.count = p_src_cfg->num_evt_ids; in bta_av_proc_rsp()
849 memcpy(p_rc_rsp->get_caps.param.event_id, p_src_cfg->p_meta_evt_ids, in bta_av_proc_rsp()
854 uint8_t evt_cnt = p_rc_rsp->get_caps.count; in bta_av_proc_rsp()
855 p_rc_rsp->get_caps.count += get_bta_avk_cfg()->num_evt_ids; in bta_av_proc_rsp()
861 p_rc_rsp->get_caps.param.event_id[evt_cnt + i] = in bta_av_proc_rsp()
922 p_rc_rsp->get_caps.status = AVRC_STS_INTERNAL_ERR; in bta_av_proc_meta_cmd()
927 p_rc_rsp->get_caps.capability_id = u8; in bta_av_proc_meta_cmd()
930 p_rc_rsp->get_caps.status = AVRC_STS_INTERNAL_ERR; in bta_av_proc_meta_cmd()
932 p_rc_rsp->get_caps.status = AVRC_STS_NO_ERROR; in bta_av_proc_meta_cmd()
935 p_rc_rsp->get_caps.count = p_bta_av_cfg->num_co_ids; in bta_av_proc_meta_cmd()
[all …]
/packages/modules/Bluetooth/system/stack/include/
Davrc_defs.h1300 tAVRC_GET_CAPS_CMD get_caps; /* GetCapability */ member
1518 tAVRC_GET_CAPS_RSP get_caps; /* GetCapability */ member
/packages/modules/Bluetooth/system/btif/src/
Dbtif_rc.cc4348 handle_get_capability_response(pmeta_msg, &avrc_response.get_caps); in handle_avk_rc_metamsg_rsp()
4544 avrc_cmd.get_caps.opcode = AVRC_OP_VENDOR; in getcapabilities_cmd()
4545 avrc_cmd.get_caps.capability_id = cap_id; in getcapabilities_cmd()
4546 avrc_cmd.get_caps.pdu = AVRC_PDU_GET_CAPABILITIES; in getcapabilities_cmd()
4547 avrc_cmd.get_caps.status = AVRC_STS_NO_ERROR; in getcapabilities_cmd()
5590 avrc_response.get_caps.status = BTIF_RC_STS_TIMEOUT; in vendor_cmd_timeout_handler()
5591 handle_get_capability_response(&meta_msg, &avrc_response.get_caps); in vendor_cmd_timeout_handler()