/packages/modules/Bluetooth/system/stack/avrc/ |
D | avrc_pars_ct.cc | 418 get_attr_rsp->p_attrs = (tAVRC_ATTR_ENTRY*)osi_calloc( in avrc_pars_browse_rsp() 421 tAVRC_ATTR_ENTRY* attr_entry = &(get_attr_rsp->p_attrs[i]); in avrc_pars_browse_rsp() 665 p_result->get_app_attr_txt.p_attrs = (tAVRC_APP_SETTING_TEXT*)osi_calloc( in avrc_ctrl_pars_vendor_rsp() 671 osi_free(p_result->get_app_attr_txt.p_attrs[j].p_str); in avrc_ctrl_pars_vendor_rsp() 673 osi_free_and_reset((void**)&p_result->get_app_attr_txt.p_attrs); in avrc_ctrl_pars_vendor_rsp() 677 BE_STREAM_TO_UINT8(p_result->get_app_attr_txt.p_attrs[xx].attr_id, p); in avrc_ctrl_pars_vendor_rsp() 678 BE_STREAM_TO_UINT16(p_result->get_app_attr_txt.p_attrs[xx].charset_id, in avrc_ctrl_pars_vendor_rsp() 680 BE_STREAM_TO_UINT8(p_result->get_app_attr_txt.p_attrs[xx].str_len, p); in avrc_ctrl_pars_vendor_rsp() 681 min_len += p_result->get_app_attr_txt.p_attrs[xx].str_len; in avrc_ctrl_pars_vendor_rsp() 684 osi_free(p_result->get_app_attr_txt.p_attrs[j].p_str); in avrc_ctrl_pars_vendor_rsp() [all …]
|
D | avrc_bld_tg.cc | 295 if (!p_rsp->p_attrs) { in avrc_bld_app_setting_text_rsp() 320 if (len_left < (p_rsp->p_attrs[xx].str_len + 4)) { in avrc_bld_app_setting_text_rsp() 322 p_rsp->p_attrs[xx].str_len, len_left); in avrc_bld_app_setting_text_rsp() 327 if (!p_rsp->p_attrs[xx].str_len || !p_rsp->p_attrs[xx].p_str) { in avrc_bld_app_setting_text_rsp() 331 UINT8_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].attr_id); in avrc_bld_app_setting_text_rsp() 332 UINT16_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].charset_id); in avrc_bld_app_setting_text_rsp() 333 UINT8_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].str_len); in avrc_bld_app_setting_text_rsp() 334 ARRAY_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].p_str, in avrc_bld_app_setting_text_rsp() 335 p_rsp->p_attrs[xx].str_len); in avrc_bld_app_setting_text_rsp() 417 tAVRC_ATTR_ENTRY* p_attrs, in avrc_build_attribute_entries() argument [all …]
|
D | avrc_sdp.cc | 138 if (p_db->p_attrs == NULL || p_db->num_attr == 0) { in AVRC_FindService() 139 p_db->p_attrs = a2dp_attr_list_sdp; in AVRC_FindService() 145 p_db->p_db, p_db->db_len, 1, &uuid_list, p_db->num_attr, p_db->p_attrs); in AVRC_FindService()
|
/packages/modules/Bluetooth/system/stack/test/fuzzers/avrc/ |
D | fuzz_avrc.cc | 45 osi_free_and_reset((void**)&result.get_app_attr_txt.p_attrs[i].p_str); in free_avrc_response() 47 osi_free_and_reset((void**)&result.get_app_attr_txt.p_attrs); in free_avrc_response() 52 osi_free_and_reset((void**)&result.get_app_val_txt.p_attrs[i].p_str); in free_avrc_response() 54 osi_free_and_reset((void**)&result.get_app_val_txt.p_attrs); 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() 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/include/hardware/ |
D | bt_rc.h | 271 btrc_element_attr_val_t* p_attrs; member 306 btrc_player_attr_t* p_attrs, 313 uint8_t num_attr, btrc_player_attr_t* p_attrs, const RawAddress& bd_addr); 330 btrc_media_attr_t* p_attrs, 377 btrc_media_attr_t* p_attrs, 451 btrc_player_attr_t* p_attrs); 470 btrc_player_setting_text_t* p_attrs); 487 btrc_element_attr_val_t* p_attrs); 544 btrc_element_attr_val_t* p_attrs); 599 btrc_element_attr_val_t* p_attrs);
|
/packages/modules/Bluetooth/system/btif/test/ |
D | btif_rc_test.cc | 143 btrc_element_attr_val_t p_attrs[BTRC_MAX_ELEM_ATTR_SIZE]; in TEST_F() local 146 ASSERT_EQ(get_element_attr_rsp(kDeviceAddress, num_attr, p_attrs), in TEST_F() 440 uint8_t num_attr, btrc_element_attr_val_t* p_attrs) { in SetUp() argument 448 uint8_t num_attr, btrc_element_attr_val_t* p_attrs) {}; in TearDown() argument 491 .p_attrs = nullptr, in TEST_F()
|
/packages/modules/Bluetooth/system/stack/a2dp/ |
D | a2dp_api.cc | 325 if (p_db->p_attrs == NULL || p_db->num_attr == 0) { in A2DP_FindService() 326 p_db->p_attrs = a2dp_attr_list; in A2DP_FindService() 335 p_db->p_attrs)) { in A2DP_FindService()
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_rc.cc | 545 btrc_element_attr_val_t* p_attrs) { in fill_avrc_attr_entry() argument 547 attr_vals[attr_cnt].attr_id = p_attrs[attr_cnt].attr_id; in fill_avrc_attr_entry() 550 (uint16_t)strlen((char*)p_attrs[attr_cnt].text); in fill_avrc_attr_entry() 551 attr_vals[attr_cnt].name.p_str = p_attrs[attr_cnt].text; in fill_avrc_attr_entry() 2040 btrc_element_attr_val_t* p_attrs) { in get_element_attr_rsp() argument 2060 element_attrs[i].attr_id = p_attrs[i].attr_id; in get_element_attr_rsp() 2063 (uint16_t)strnlen((char*)p_attrs[i].text, BTRC_MAX_ATTR_STR_LEN); in get_element_attr_rsp() 2064 element_attrs[i].name.p_str = p_attrs[i].text; in get_element_attr_rsp() 2074 avrc_rsp.get_attrs.p_attrs = element_attrs; in get_element_attr_rsp() 2279 cur_item->media.p_attrs); in get_folder_items_list_rsp() [all …]
|
/packages/modules/Bluetooth/system/stack/test/fuzzers/a2dp/ |
D | a2dpFuzzHelpers.h | 42 db_params.p_attrs = attr_list.empty() ? nullptr : attr_list.data(); in generateDBParams()
|
/packages/modules/Bluetooth/system/stack/include/ |
D | a2dp_api.h | 61 uint16_t* p_attrs; /* The attributes filter. If NULL, A2DP API sets the member
|
D | avrc_api.h | 202 uint16_t* p_attrs; /* The attributes filter. If NULL, AVRCP API sets the member
|
D | avrc_defs.h | 1375 tAVRC_APP_SETTING_TEXT* p_attrs; member 1477 tAVRC_ATTR_ENTRY* p_attrs; member
|
/packages/modules/Bluetooth/android/app/jni/ |
D | com_android_bluetooth_avrcp_controller.cpp | 247 btrc_element_attr_val_t* p_attrs) { in btavrcp_track_changed_callback() argument 289 sCallbackEnv->NewStringUTF((char*)(p_attrs[i].text))); in btavrcp_track_changed_callback() 295 (jint*)&(p_attrs[i].attr_id)); in btavrcp_track_changed_callback() 431 (jint*)&(item->media.p_attrs[j].attr_id)); in btavrcp_get_folder_items_callback() 434 sCallbackEnv->NewStringUTF((char*)(item->media.p_attrs[j].text))); in btavrcp_get_folder_items_callback()
|
/packages/modules/Bluetooth/system/profile/avrcp/ |
D | connection_handler.cc | 205 db_params.p_attrs = attr_list; in SdpLookup()
|
/packages/modules/Bluetooth/system/btif/avrcp/ |
D | avrcp_service.cc | 69 .p_attrs = attr_list, in find_audio_sink_service()
|
/packages/modules/Bluetooth/system/bta/av/ |
D | bta_av_act.cc | 2662 db_params.p_attrs = attr_list; in bta_av_rc_disc()
|
D | bta_av_aact.cc | 820 db_params.p_attrs = attr_list; in bta_av_do_disc_a2dp()
|