Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/avrc/
Davrc_pars_ct.cc417 BE_STREAM_TO_UINT8(get_attr_rsp->num_attrs, p); in avrc_pars_browse_rsp()
419 get_attr_rsp->num_attrs * sizeof(tAVRC_ATTR_ENTRY)); in avrc_pars_browse_rsp()
420 for (int i = 0; i < get_attr_rsp->num_attrs; i++) { in avrc_pars_browse_rsp()
651 uint8_t num_attrs; in avrc_ctrl_pars_vendor_rsp() local
658 BE_STREAM_TO_UINT8(num_attrs, p); in avrc_ctrl_pars_vendor_rsp()
659 if (num_attrs > AVRC_MAX_APP_ATTR_SIZE) { in avrc_ctrl_pars_vendor_rsp()
660 num_attrs = AVRC_MAX_APP_ATTR_SIZE; in avrc_ctrl_pars_vendor_rsp()
663 p_result->get_app_attr_txt.num_attr = num_attrs; in avrc_ctrl_pars_vendor_rsp()
666 num_attrs * sizeof(tAVRC_APP_SETTING_TEXT)); in avrc_ctrl_pars_vendor_rsp()
667 for (int xx = 0; xx < num_attrs; xx++) { in avrc_ctrl_pars_vendor_rsp()
[all …]
Davrc_bld_tg.cc416 static void avrc_build_attribute_entries(int num_attrs, in avrc_build_attribute_entries() argument
421 log::verbose("num_attrs: {}, remaining_buffer_capacity: {}", num_attrs, in avrc_build_attribute_entries()
425 for (int index = 0; index < num_attrs; index++) { in avrc_build_attribute_entries()
438 index, p_attrs[index].attr_id, num_attrs - index); in avrc_build_attribute_entries()
512 avrc_build_attribute_entries(p_rsp->num_attrs, p_rsp->p_attrs, in avrc_bld_get_elem_attrs_rsp()
1202 avrc_build_attribute_entries(p_rsp->num_attrs, p_rsp->p_attrs, in avrc_bld_get_item_attrs_rsp()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_rc.cc148 uint8_t num_attrs; member
332 uint8_t* attrs, uint8_t num_attrs, btif_rc_device_cb_t* p_dev);
544 void fill_avrc_attr_entry(tAVRC_ATTR_ENTRY* attr_vals, int num_attrs, in fill_avrc_attr_entry() argument
546 for (int attr_cnt = 0; attr_cnt < num_attrs; attr_cnt++) { in fill_avrc_attr_entry()
2073 avrc_rsp.get_attrs.num_attrs = num_attr; in get_element_attr_rsp()
2270 item.u.media.attr_count = cur_item->media.num_attrs; in get_folder_items_list_rsp()
2593 avrc_rsp.get_attrs.num_attrs = num_attr; in get_item_attr_rsp()
3441 p_dev->rc_app_settings.num_attrs = 0; in handle_app_attr_response()
3452 st_index = p_dev->rc_app_settings.num_attrs; in handle_app_attr_response()
3454 p_dev->rc_app_settings.num_attrs++; in handle_app_attr_response()
[all …]
/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()
133 for (int i = 0; i < result.get_attrs.num_attrs; i++) { in free_avrc_response()
/packages/modules/Bluetooth/system/stack/test/fuzzers/sdp/
DsdpFuzzHelpers.h92 uint16_t num_attrs = fdp->ConsumeIntegralInRange<uint16_t>(0, SDP_MAX_ATTRS); in generateArbitraryAttrList() local
95 for (uint16_t i = 0; i < num_attrs; i++) { in generateArbitraryAttrList()
/packages/modules/Bluetooth/system/stack/sdp/
Dsdpint.h262 uint16_t num_attrs);
Dsdp_utils.cc586 uint16_t num_attrs) { in sdpu_build_attrib_seq() argument
594 xx = num_attrs * 3; in sdpu_build_attrib_seq()
613 for (xx = 0; xx < num_attrs; xx++, p_attr++) { in sdpu_build_attrib_seq()
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_avrcp_controller.cpp413 sCallbackEnv->NewIntArray(item->media.num_attrs)); in btavrcp_get_folder_items_callback()
421 item->media.num_attrs, in btavrcp_get_folder_items_callback()
428 for (int j = 0; j < item->media.num_attrs; j++) { in btavrcp_get_folder_items_callback()
/packages/modules/Bluetooth/system/bta/gatt/
Dbta_gattc_cache.cc428 uint16_t num_attrs = 2; in bta_gattc_sdp_service_disc() local
444 cb_data->p_sdp_db, BTA_GATT_SDP_DB_SIZE, 1, &uuid, num_attrs, in bta_gattc_sdp_service_disc()
/packages/modules/Bluetooth/system/btif/test/
Dbtif_rc_test.cc490 .num_attrs = 0, in TEST_F()
/packages/modules/Bluetooth/system/include/hardware/
Dbt_rc.h270 int num_attrs; member
/packages/modules/Bluetooth/system/stack/include/
Davrc_defs.h1476 uint8_t num_attrs; member