Home
last modified time | relevance | path

Searched refs:p_attrs (Results 1 – 18 of 18) sorted by relevance

/system/bt/stack/avrc/
Davrc_pars_ct.cc660 p_result->get_app_attr_txt.p_attrs = (tAVRC_APP_SETTING_TEXT*)osi_calloc( in avrc_ctrl_pars_vendor_rsp()
666 osi_free(p_result->get_app_attr_txt.p_attrs[j].p_str); in avrc_ctrl_pars_vendor_rsp()
668 osi_free_and_reset((void**)&p_result->get_app_attr_txt.p_attrs); in avrc_ctrl_pars_vendor_rsp()
672 BE_STREAM_TO_UINT8(p_result->get_app_attr_txt.p_attrs[xx].attr_id, p); in avrc_ctrl_pars_vendor_rsp()
673 BE_STREAM_TO_UINT16(p_result->get_app_attr_txt.p_attrs[xx].charset_id, in avrc_ctrl_pars_vendor_rsp()
675 BE_STREAM_TO_UINT8(p_result->get_app_attr_txt.p_attrs[xx].str_len, p); in avrc_ctrl_pars_vendor_rsp()
676 min_len += p_result->get_app_attr_txt.p_attrs[xx].str_len; in avrc_ctrl_pars_vendor_rsp()
679 osi_free(p_result->get_app_attr_txt.p_attrs[j].p_str); in avrc_ctrl_pars_vendor_rsp()
681 osi_free_and_reset((void**)&p_result->get_app_attr_txt.p_attrs); in avrc_ctrl_pars_vendor_rsp()
685 if (p_result->get_app_attr_txt.p_attrs[xx].str_len != 0) { in avrc_ctrl_pars_vendor_rsp()
[all …]
Davrc_bld_tg.cc287 if (!p_rsp->p_attrs) { in avrc_bld_app_setting_text_rsp()
312 if (len_left < (p_rsp->p_attrs[xx].str_len + 4)) { in avrc_bld_app_setting_text_rsp()
314 p_rsp->p_attrs[xx].str_len, len_left); in avrc_bld_app_setting_text_rsp()
319 if (!p_rsp->p_attrs[xx].str_len || !p_rsp->p_attrs[xx].p_str) { in avrc_bld_app_setting_text_rsp()
323 UINT8_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].attr_id); in avrc_bld_app_setting_text_rsp()
324 UINT16_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].charset_id); in avrc_bld_app_setting_text_rsp()
325 UINT8_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].str_len); in avrc_bld_app_setting_text_rsp()
326 ARRAY_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].p_str, in avrc_bld_app_setting_text_rsp()
327 p_rsp->p_attrs[xx].str_len); in avrc_bld_app_setting_text_rsp()
409 tAVRC_ATTR_ENTRY* p_attrs, in avrc_build_attribute_entries() argument
[all …]
Davrc_sdp.cc125 if (p_db->p_attrs == NULL || p_db->num_attr == 0) { in AVRC_FindService()
126 p_db->p_attrs = a2dp_attr_list_sdp; in AVRC_FindService()
132 p_db->num_attr, p_db->p_attrs); in AVRC_FindService()
/system/bt/service/hal/
Dbluetooth_avrcp_interface.h43 btrc_player_attr_t* p_attrs,
46 btrc_player_attr_t* p_attrs,
55 btrc_media_attr_t* p_attrs,
76 btrc_media_attr_t* p_attrs,
114 btrc_element_attr_val_t* p_attrs);
Dbluetooth_avrcp_interface.cc106 void GetPlayerAppValueCallback(uint8_t num_attr, btrc_player_attr_t* p_attrs, in GetPlayerAppValueCallback() argument
112 observer.GetPlayerAppValueCallback(num_attr, p_attrs, bd_addr); in GetPlayerAppValueCallback()
117 btrc_player_attr_t* p_attrs, in GetPlayerAppAttrsTextCallback() argument
123 observer.GetPlayerAppAttrsTextCallback(num_attr, p_attrs, bd_addr); in GetPlayerAppAttrsTextCallback()
148 void GetElementAttrCallback(uint8_t num_attr, btrc_media_attr_t* p_attrs, in GetElementAttrCallback() argument
154 observer.GetElementAttrCallback(num_attr, p_attrs, bd_addr); in GetElementAttrCallback()
228 uint8_t num_attr, btrc_media_attr_t* p_attrs, in GetItemAttrCallback() argument
234 observer.GetItemAttrCallback(scope, uid, uid_counter, num_attr, p_attrs, in GetItemAttrCallback()
370 btrc_element_attr_val_t* p_attrs) { in CtrlTrackChangedCallback() argument
375 observer.CtrlTrackChangedCallback(bd_addr, num_attr, p_attrs); in CtrlTrackChangedCallback()
[all …]
/system/bt/include/hardware/
Dbt_rc.h268 btrc_element_attr_val_t* p_attrs; member
303 btrc_player_attr_t* p_attrs,
310 uint8_t num_attr, btrc_player_attr_t* p_attrs, const RawAddress& bd_addr);
327 btrc_media_attr_t* p_attrs,
374 btrc_media_attr_t* p_attrs,
448 btrc_player_attr_t* p_attrs);
467 btrc_player_setting_text_t* p_attrs);
484 btrc_element_attr_val_t* p_attrs);
541 btrc_element_attr_val_t* p_attrs);
596 btrc_element_attr_val_t* p_attrs);
/system/bt/service/
Davrcp_target.cc274 btrc_player_attr_t* p_attrs, in GetPlayerAppValueCallback() argument
279 for (auto* it = p_attrs; it != p_attrs + num_attr; ++it) { in GetPlayerAppValueCallback()
288 btrc_player_attr_t* p_attrs, in GetPlayerAppAttrsTextCallback() argument
293 for (auto* it = p_attrs; it != p_attrs + num_attr; ++it) { in GetPlayerAppAttrsTextCallback()
330 btrc_media_attr_t* p_attrs, in GetElementAttrCallback() argument
335 for (auto* it = p_attrs; it != p_attrs + num_attr; ++it) { in GetElementAttrCallback()
Davrcp_target.h126 void GetPlayerAppValueCallback(uint8_t num_attr, btrc_player_attr_t* p_attrs,
129 btrc_player_attr_t* p_attrs,
136 void GetElementAttrCallback(uint8_t num_attr, btrc_media_attr_t* p_attrs,
Davrcp_control.cc162 btrc_element_attr_val_t* p_attrs) { in CtrlTrackChangedCallback() argument
174 auto attr_text = reinterpret_cast<char*>(p_attrs[i].text); in CtrlTrackChangedCallback()
175 switch (p_attrs[i].attr_id) { in CtrlTrackChangedCallback()
Davrcp_control.h97 btrc_element_attr_val_t* p_attrs) override;
/system/bt/stack/a2dp/
Da2dp_api.cc297 if (p_db->p_attrs == NULL || p_db->num_attr == 0) { in A2DP_FindService()
298 p_db->p_attrs = a2dp_attr_list; in A2DP_FindService()
307 p_db->num_attr, p_db->p_attrs); in A2DP_FindService()
/system/bt/stack/include/
Da2dp_api.h58 uint16_t* p_attrs; /* The attributes filter. If NULL, A2DP API sets the member
Davrc_api.h153 uint16_t* p_attrs; /* The attributes filter. If NULL, AVRCP API sets the member
Davrc_defs.h1369 tAVRC_APP_SETTING_TEXT* p_attrs; member
1471 tAVRC_ATTR_ENTRY* p_attrs; member
/system/bt/btif/src/
Dbtif_rc.cc436 btrc_element_attr_val_t* p_attrs) { in fill_avrc_attr_entry() argument
438 attr_vals[attr_cnt].attr_id = p_attrs[attr_cnt].attr_id; in fill_avrc_attr_entry()
441 (uint16_t)strlen((char*)p_attrs[attr_cnt].text); in fill_avrc_attr_entry()
442 attr_vals[attr_cnt].name.p_str = p_attrs[attr_cnt].text; in fill_avrc_attr_entry()
1830 btrc_element_attr_val_t* p_attrs) { in get_element_attr_rsp() argument
1845 element_attrs[i].attr_id = p_attrs[i].attr_id; in get_element_attr_rsp()
1847 element_attrs[i].name.str_len = (uint16_t)strlen((char*)p_attrs[i].text); in get_element_attr_rsp()
1848 element_attrs[i].name.p_str = p_attrs[i].text; in get_element_attr_rsp()
1858 avrc_rsp.get_attrs.p_attrs = element_attrs; in get_element_attr_rsp()
2062 cur_item->media.p_attrs); in get_folder_items_list_rsp()
[all …]
/system/bt/profile/avrcp/
Dconnection_handler.cc175 db_params.p_attrs = attr_list; in SdpLookup()
/system/bt/bta/av/
Dbta_av_act.cc2075 db_params.p_attrs = attr_list; in bta_av_rc_disc()
Dbta_av_aact.cc856 db_params.p_attrs = attr_list; in bta_av_do_disc_a2dp()