Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/avrc/
Davrc_pars_tg.cc177 BE_STREAM_TO_UINT8(p_result->get_cur_app_val.num_attr, p); in avrc_pars_vendor_cmd()
178 if (len != (p_result->get_cur_app_val.num_attr + 1)) { in avrc_pars_vendor_cmd()
183 if (p_result->get_cur_app_val.num_attr > AVRC_MAX_APP_ATTR_SIZE) { in avrc_pars_vendor_cmd()
184 p_result->get_cur_app_val.num_attr = AVRC_MAX_APP_ATTR_SIZE; in avrc_pars_vendor_cmd()
187 p_u8 = p_result->get_cur_app_val.attrs; in avrc_pars_vendor_cmd()
188 for (xx = 0, yy = 0; xx < p_result->get_cur_app_val.num_attr; xx++) { in avrc_pars_vendor_cmd()
193 p_result->get_cur_app_val.num_attr = yy; in avrc_pars_vendor_cmd()
Davrc_pars_ct.cc625 p_result->get_cur_app_val.num_val = 0; in avrc_ctrl_pars_vendor_rsp()
629 BE_STREAM_TO_UINT8(p_result->get_cur_app_val.num_val, p); in avrc_ctrl_pars_vendor_rsp()
630 log::verbose("attr count = {}", p_result->get_cur_app_val.num_val); in avrc_ctrl_pars_vendor_rsp()
632 if (p_result->get_cur_app_val.num_val > AVRC_MAX_APP_ATTR_SIZE) { in avrc_ctrl_pars_vendor_rsp()
633 p_result->get_cur_app_val.num_val = AVRC_MAX_APP_ATTR_SIZE; in avrc_ctrl_pars_vendor_rsp()
636 min_len += p_result->get_cur_app_val.num_val * 2; in avrc_ctrl_pars_vendor_rsp()
638 p_result->get_cur_app_val.num_val = 0; in avrc_ctrl_pars_vendor_rsp()
642 p_result->get_cur_app_val.num_val * sizeof(tAVRC_APP_SETTING)); in avrc_ctrl_pars_vendor_rsp()
643 for (int xx = 0; xx < p_result->get_cur_app_val.num_val; xx++) { in avrc_ctrl_pars_vendor_rsp()
647 p_result->get_cur_app_val.p_vals = app_sett; in avrc_ctrl_pars_vendor_rsp()
Davrc_bld_ct.cc643 p_pkt, p_cmd->get_cur_app_val.num_attr, p_cmd->get_cur_app_val.attrs); in AVRC_BldCommand()
Davrc_bld_tg.cc1448 status = avrc_bld_get_cur_app_setting_value_rsp(&p_rsp->get_cur_app_val, in AVRC_BldResponse()
/packages/modules/Bluetooth/system/stack/test/fuzzers/avrc/
Dfuzz_avrc.cc37 osi_free_and_reset((void**)&result.get_cur_app_val.p_vals); in free_avrc_response()
/packages/modules/Bluetooth/system/stack/include/
Davrc_defs.h1303 tAVRC_GET_CUR_APP_VALUE_CMD get_cur_app_val; /* GetCurAppValue */ member
1521 tAVRC_GET_CUR_APP_VALUE_RSP get_cur_app_val; /* GetCurAppValue */ member
/packages/modules/Bluetooth/system/btif/src/
Dbtif_rc.cc4360 handle_app_cur_val_response(pmeta_msg, &avrc_response.get_cur_app_val); in handle_avk_rc_metamsg_rsp()
4613 avrc_cmd.get_cur_app_val.opcode = AVRC_OP_VENDOR; in get_player_app_setting_cmd()
4614 avrc_cmd.get_cur_app_val.status = AVRC_STS_NO_ERROR; in get_player_app_setting_cmd()
4615 avrc_cmd.get_cur_app_val.num_attr = num_attrib; in get_player_app_setting_cmd()
4616 avrc_cmd.get_cur_app_val.pdu = AVRC_PDU_GET_CUR_PLAYER_APP_VALUE; in get_player_app_setting_cmd()
4619 avrc_cmd.get_cur_app_val.attrs[count] = attrib_ids[count]; in get_player_app_setting_cmd()
5605 avrc_response.get_cur_app_val.status = BTIF_RC_STS_TIMEOUT; in vendor_cmd_timeout_handler()
5606 handle_app_cur_val_response(&meta_msg, &avrc_response.get_cur_app_val); in vendor_cmd_timeout_handler()