Home
last modified time | relevance | path

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

/system/bt/stack/avrc/
Davrc_pars_ct.c286 BE_STREAM_TO_UINT8(p_result->get_app_attr_txt.p_attrs[xx].attr_id, p); in avrc_ctrl_pars_vendor_rsp()
287 BE_STREAM_TO_UINT16(p_result->get_app_attr_txt.p_attrs[xx].charset_id, p); in avrc_ctrl_pars_vendor_rsp()
288 BE_STREAM_TO_UINT8(p_result->get_app_attr_txt.p_attrs[xx].str_len, p); in avrc_ctrl_pars_vendor_rsp()
289 if (p_result->get_app_attr_txt.p_attrs[xx].str_len != 0) in avrc_ctrl_pars_vendor_rsp()
291 UINT8 *p_str = (UINT8 *)osi_malloc(p_result->get_app_attr_txt.p_attrs[xx].str_len); in avrc_ctrl_pars_vendor_rsp()
292 BE_STREAM_TO_ARRAY(p, p_str, p_result->get_app_attr_txt.p_attrs[xx].str_len); in avrc_ctrl_pars_vendor_rsp()
293 p_result->get_app_attr_txt.p_attrs[xx].p_str = p_str; in avrc_ctrl_pars_vendor_rsp()
295 p_result->get_app_attr_txt.p_attrs[xx].p_str = NULL; in avrc_ctrl_pars_vendor_rsp()
317 BE_STREAM_TO_UINT8(p_result->get_app_val_txt.p_attrs[i].attr_id, p); in avrc_ctrl_pars_vendor_rsp()
318 BE_STREAM_TO_UINT16(p_result->get_app_val_txt.p_attrs[i].charset_id, p); in avrc_ctrl_pars_vendor_rsp()
[all …]
Davrc_bld_tg.c307 if (!p_rsp->p_attrs) in avrc_bld_app_setting_text_rsp()
337 if (len_left < (p_rsp->p_attrs[xx].str_len + 4)) in avrc_bld_app_setting_text_rsp()
340 __func__, xx, p_rsp->p_attrs[xx].str_len, len_left); in avrc_bld_app_setting_text_rsp()
345 if ( !p_rsp->p_attrs[xx].str_len || !p_rsp->p_attrs[xx].p_str ) in avrc_bld_app_setting_text_rsp()
350 UINT8_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].attr_id); in avrc_bld_app_setting_text_rsp()
351 UINT16_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].charset_id); in avrc_bld_app_setting_text_rsp()
352 UINT8_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].str_len); in avrc_bld_app_setting_text_rsp()
353 ARRAY_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].p_str, p_rsp->p_attrs[xx].str_len); in avrc_bld_app_setting_text_rsp()
460 if (!p_rsp->p_attrs) in avrc_bld_get_elem_attrs_rsp()
485 if (!AVRC_IS_VALID_MEDIA_ATTRIBUTE(p_rsp->p_attrs[xx].attr_id)) in avrc_bld_get_elem_attrs_rsp()
[all …]
Davrc_sdp.c136 if(p_db->p_attrs == NULL || p_db->num_attr == 0) in AVRC_FindService()
138 p_db->p_attrs = a2d_attr_list; in AVRC_FindService()
143 p_db->p_attrs); in AVRC_FindService()
/system/bt/stack/a2dp/
Da2d_api.c295 if(p_db->p_attrs == NULL || p_db->num_attr == 0) in A2D_FindService()
297 p_db->p_attrs = a2d_attr_list; in A2D_FindService()
305 p_db->p_attrs); in A2D_FindService()
/system/bt/stack/include/
Da2d_api.h105 … UINT16 *p_attrs; /* The attributes filter. If NULL, A2DP API sets the attribute filter member
Davrc_api.h135 …UINT16 *p_attrs; /* The attributes filter. If NULL, AVRCP API sets the attribute filter member
Davrc_defs.h1249 tAVRC_APP_SETTING_TEXT *p_attrs; member
1259 tAVRC_ATTR_ENTRY *p_attrs; member
/system/bt/btif/src/
Dbtif_rc.c1669 static bt_status_t get_element_attr_rsp(uint8_t num_attr, btrc_element_attr_val_t *p_attrs) in get_element_attr_rsp() argument
1684 element_attrs[i].attr_id = p_attrs[i].attr_id; in get_element_attr_rsp()
1686 element_attrs[i].name.str_len = (UINT16)strlen((char *)p_attrs[i].text); in get_element_attr_rsp()
1687 element_attrs[i].name.p_str = p_attrs[i].text; in get_element_attr_rsp()
1696 avrc_rsp.get_elem_attrs.p_attrs = element_attrs; in get_element_attr_rsp()
2833 if (p_app_settings->ext_attrs[x].attr_id == p_rsp->p_attrs[xx].attr_id) in handle_app_attr_txt_response()
2835 p_app_settings->ext_attrs[x].charset_id = p_rsp->p_attrs[xx].charset_id; in handle_app_attr_txt_response()
2836 p_app_settings->ext_attrs[x].str_len = p_rsp->p_attrs[xx].str_len; in handle_app_attr_txt_response()
2837 p_app_settings->ext_attrs[x].p_str = p_rsp->p_attrs[xx].p_str; in handle_app_attr_txt_response()
2915 if (p_ext_attr->ext_attr_val[x].val == p_rsp->p_attrs[xx].attr_id) in handle_app_attr_val_txt_response()
[all …]
/system/bt/bta/av/
Dbta_av_act.c2084 db_params.p_attrs = attr_list; in bta_av_rc_disc()
Dbta_av_aact.c1020 db_params.p_attrs = attr_list; in bta_av_do_disc_a2d()