Home
last modified time | relevance | path

Searched refs:num_attrs (Results 1 – 9 of 9) sorted by relevance

/system/bt/stack/avrc/
Davrc_pars_ct.cc437 BE_STREAM_TO_UINT8(get_attr_rsp->num_attrs, p); in avrc_pars_browse_rsp()
439 get_attr_rsp->num_attrs * sizeof(tAVRC_ATTR_ENTRY)); in avrc_pars_browse_rsp()
440 for (int i = 0; i < get_attr_rsp->num_attrs; i++) { in avrc_pars_browse_rsp()
676 uint8_t num_attrs; in avrc_ctrl_pars_vendor_rsp() local
683 BE_STREAM_TO_UINT8(num_attrs, p); in avrc_ctrl_pars_vendor_rsp()
684 if (num_attrs > AVRC_MAX_APP_ATTR_SIZE) { in avrc_ctrl_pars_vendor_rsp()
685 num_attrs = AVRC_MAX_APP_ATTR_SIZE; in avrc_ctrl_pars_vendor_rsp()
689 p_result->get_app_attr_txt.num_attr = num_attrs; in avrc_ctrl_pars_vendor_rsp()
692 num_attrs * sizeof(tAVRC_APP_SETTING_TEXT)); in avrc_ctrl_pars_vendor_rsp()
693 for (int xx = 0; xx < num_attrs; xx++) { in avrc_ctrl_pars_vendor_rsp()
[all …]
Davrc_bld_tg.cc408 static void avrc_build_attribute_entries(int num_attrs, in avrc_build_attribute_entries() argument
414 num_attrs, remaining_buffer_capacity); in avrc_build_attribute_entries()
417 for (int index = 0; index < num_attrs; index++) { in avrc_build_attribute_entries()
430 __func__, index, p_attrs[index].attr_id, num_attrs - index); in avrc_build_attribute_entries()
451 __func__, num_attrs, remaining_buffer_capacity); in avrc_build_attribute_entries()
505 avrc_build_attribute_entries(p_rsp->num_attrs, p_rsp->p_attrs, in avrc_bld_get_elem_attrs_rsp()
1177 avrc_build_attribute_entries(p_rsp->num_attrs, p_rsp->p_attrs, in avrc_bld_get_item_attrs_rsp()
/system/bt/btif/src/
Dbtif_rc.cc161 uint8_t num_attrs; member
306 uint8_t* attrs, uint8_t num_attrs, btif_rc_device_cb_t* p_dev);
499 void fill_avrc_attr_entry(tAVRC_ATTR_ENTRY* attr_vals, int num_attrs, in fill_avrc_attr_entry() argument
501 for (int attr_cnt = 0; attr_cnt < num_attrs; attr_cnt++) { in fill_avrc_attr_entry()
1927 avrc_rsp.get_attrs.num_attrs = num_attr; in get_element_attr_rsp()
2123 item.u.media.attr_count = cur_item->media.num_attrs; in get_folder_items_list_rsp()
2448 avrc_rsp.get_attrs.num_attrs = num_attr; in get_item_attr_rsp()
3452 p_dev->rc_app_settings.num_attrs = 0; in handle_app_attr_response()
3463 st_index = p_dev->rc_app_settings.num_attrs; in handle_app_attr_response()
3465 p_dev->rc_app_settings.num_attrs++; in handle_app_attr_response()
[all …]
/system/bt/stack/test/fuzzers/sdp/
DsdpFuzzHelpers.h86 uint16_t num_attrs = fdp->ConsumeIntegralInRange<uint16_t>(0, SDP_MAX_ATTRS); in generateArbitraryAttrList() local
89 for (uint16_t i = 0; i < num_attrs; i++) { in generateArbitraryAttrList()
/system/bt/stack/sdp/
Dsdpint.h202 uint16_t num_attrs);
Dsdp_utils.cc399 uint16_t num_attrs) { in sdpu_build_attrib_seq() argument
407 xx = num_attrs * 3; in sdpu_build_attrib_seq()
426 for (xx = 0; xx < num_attrs; xx++, p_attr++) { in sdpu_build_attrib_seq()
/system/bt/bta/gatt/
Dbta_gattc_cache.cc339 uint16_t num_attrs = 2; in bta_gattc_sdp_service_disc() local
355 num_attrs, attr_list); in bta_gattc_sdp_service_disc()
/system/bt/include/hardware/
Dbt_rc.h269 int num_attrs; member
/system/bt/stack/include/
Davrc_defs.h1473 uint8_t num_attrs; member