Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/avrc/
Davrc_pars_tg.cc512 BE_STREAM_TO_UINT8(p_result->get_attrs.scope, p); in avrc_pars_browsing_cmd()
514 if (p_result->get_attrs.scope > AVRC_SCOPE_NOW_PLAYING) { in avrc_pars_browsing_cmd()
518 BE_STREAM_TO_ARRAY(p, p_result->get_attrs.uid, AVRC_UID_SIZE); in avrc_pars_browsing_cmd()
519 BE_STREAM_TO_UINT16(p_result->get_attrs.uid_counter, p); in avrc_pars_browsing_cmd()
520 BE_STREAM_TO_UINT8(p_result->get_attrs.attr_count, p); in avrc_pars_browsing_cmd()
521 p_result->get_attrs.p_attr_list = NULL; in avrc_pars_browsing_cmd()
522 if (p_result->get_attrs.attr_count && p_buf) { in avrc_pars_browsing_cmd()
523 p_result->get_attrs.p_attr_list = (uint32_t*)p_buf; in avrc_pars_browsing_cmd()
524 count = p_result->get_attrs.attr_count; in avrc_pars_browsing_cmd()
526 p_result->get_attrs.attr_count = count = (buf_len >> 2); in avrc_pars_browsing_cmd()
[all …]
Davrc_pars_ct.cc410 tAVRC_GET_ATTRS_RSP* get_attr_rsp = &(p_rsp->get_attrs); in avrc_pars_browse_rsp()
761 p_result->get_attrs.num_attrs = 0; in avrc_ctrl_pars_vendor_rsp()
766 p_result->get_attrs.num_attrs = num_attrs; in avrc_ctrl_pars_vendor_rsp()
777 p_result->get_attrs.num_attrs = 0; in avrc_ctrl_pars_vendor_rsp()
789 p_result->get_attrs.num_attrs = 0; in avrc_ctrl_pars_vendor_rsp()
801 p_result->get_attrs.p_attrs = p_attrs; in avrc_ctrl_pars_vendor_rsp()
Davrc_bld_ct.cc676 status = avrc_bld_get_item_attributes_cmd(p_pkt, &(p_cmd->get_attrs)); in AVRC_BldCommand()
Davrc_bld_tg.cc1476 status = avrc_bld_get_elem_attrs_rsp(&p_rsp->get_attrs, p_pkt); in AVRC_BldResponse()
1524 status = avrc_bld_get_item_attrs_rsp(&p_rsp->get_attrs, p_pkt); in AVRC_BldResponse()
/packages/modules/Bluetooth/system/stack/test/fuzzers/avrc/
Dfuzz_avrc.cc64 for (int i = 0; i < result.get_attrs.num_attrs; i++) { in free_avrc_response()
65 osi_free_and_reset((void**)&result.get_attrs.p_attrs[i].name.p_str); in free_avrc_response()
67 osi_free_and_reset((void**)&result.get_attrs.p_attrs); in free_avrc_response()
133 for (int i = 0; i < result.get_attrs.num_attrs; i++) { in free_avrc_response()
134 osi_free_and_reset((void**)&result.get_attrs.p_attrs[i].name.p_str); in free_avrc_response()
136 osi_free_and_reset((void**)&result.get_attrs.p_attrs); in free_avrc_response()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_rc.cc1805 pavrc_cmd->get_attrs.attr_count, pavrc_cmd->get_attrs.p_attr_list, in btif_rc_upstreams_evt()
1815 HAL_CBACK(bt_rc_callbacks, get_item_attr_cb, pavrc_cmd->get_attrs.scope, in btif_rc_upstreams_evt()
1816 pavrc_cmd->get_attrs.uid, pavrc_cmd->get_attrs.uid_counter, in btif_rc_upstreams_evt()
2073 avrc_rsp.get_attrs.num_attrs = num_attr; in get_element_attr_rsp()
2074 avrc_rsp.get_attrs.p_attrs = element_attrs; in get_element_attr_rsp()
2075 avrc_rsp.get_attrs.pdu = AVRC_PDU_GET_ELEMENT_ATTR; in get_element_attr_rsp()
2076 avrc_rsp.get_attrs.opcode = opcode_from_pdu(AVRC_PDU_GET_ELEMENT_ATTR); in get_element_attr_rsp()
2588 avrc_rsp.get_attrs.status = status_code_map[rsp_status]; in get_item_attr_rsp()
2593 avrc_rsp.get_attrs.num_attrs = num_attr; in get_item_attr_rsp()
2594 avrc_rsp.get_attrs.p_attrs = item_attrs; in get_item_attr_rsp()
[all …]
/packages/modules/Bluetooth/system/stack/include/
Davrc_defs.h1320 tAVRC_GET_ATTRS_CMD get_attrs; /* GetItemAttrs */ member
1536 tAVRC_GET_ATTRS_RSP get_attrs; /* GetItemAttrs, GetElemAttrs */ member