Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/avrc/
Davrc_pars_tg.cc474 STREAM_TO_UINT8(p_result->get_items.attr_count, p); in avrc_pars_browsing_cmd()
476 if (p_result->get_items.attr_count && p_buf && in avrc_pars_browsing_cmd()
477 (p_result->get_items.attr_count != AVRC_FOLDER_ITEM_COUNT_NONE)) { in avrc_pars_browsing_cmd()
479 count = p_result->get_items.attr_count; in avrc_pars_browsing_cmd()
481 p_result->get_items.attr_count = count = (buf_len >> 2); in avrc_pars_browsing_cmd()
520 BE_STREAM_TO_UINT8(p_result->get_attrs.attr_count, p); in avrc_pars_browsing_cmd()
522 if (p_result->get_attrs.attr_count && p_buf) { in avrc_pars_browsing_cmd()
524 count = p_result->get_attrs.attr_count; in avrc_pars_browsing_cmd()
526 p_result->get_attrs.attr_count = count = (buf_len >> 2); in avrc_pars_browsing_cmd()
527 for (int idx = 0, count = 0; idx < p_result->get_attrs.attr_count; in avrc_pars_browsing_cmd()
[all …]
Davrc_bld_ct.cc449 UINT16_TO_BE_STREAM(p_data, 12 + 4 * cmd->attr_count); in avrc_bld_get_item_attributes_cmd()
455 UINT8_TO_BE_STREAM(p_data, cmd->attr_count); in avrc_bld_get_item_attributes_cmd()
456 ARRAY_TO_BE_STREAM(p_data, cmd->p_attr_list, 4 * cmd->attr_count); in avrc_bld_get_item_attributes_cmd()
Davrc_pars_ct.cc352 BE_STREAM_TO_UINT8(media->attr_count, p); in avrc_pars_browse_rsp()
355 media->name.str_len, media->attr_count); in avrc_pars_browse_rsp()
358 media->attr_count * sizeof(tAVRC_ATTR_ENTRY)); in avrc_pars_browse_rsp()
359 for (int jk = 0; jk < media->attr_count; jk++) { in avrc_pars_browse_rsp()
Davrc_bld_tg.cc1057 for (yy = 0; yy < p_media->attr_count; yy++) { in avrc_bld_get_folder_items_rsp()
/packages/modules/Bluetooth/system/packet/avrcp/
Dget_folder_items.cc282 auto attr_count = GetNumAttributes(); in IsValid() local
285 if (attr_count == 0xFF) return true; in IsValid()
291 return (attr_count * sizeof(Attribute)) == (size_t)(end() - attr_start); in IsValid()
/packages/modules/Bluetooth/system/stack/test/fuzzers/avrc/
Dfuzz_avrc.cc116 j < result.get_items.p_item_list[i].u.media.attr_count; j++) { in free_avrc_response()
/packages/modules/Bluetooth/system/stack/include/
Davrc_defs.h1087 uint8_t attr_count; /* The number of attributes in p_attr_list */ member
1221 uint8_t attr_count; member
1243 uint8_t attr_count; member
/packages/modules/Bluetooth/system/btif/src/
Dbtif_rc.cc1714 num_attr = pavrc_cmd->get_items.attr_count; in btif_rc_upstreams_evt()
1805 pavrc_cmd->get_attrs.attr_count, pavrc_cmd->get_attrs.p_attr_list, in btif_rc_upstreams_evt()
2270 item.u.media.attr_count = cur_item->media.num_attrs; in get_folder_items_list_rsp()
2273 if (item.u.media.attr_count == 0) { in get_folder_items_list_rsp()
2278 fill_avrc_attr_entry(attr_vals, item.u.media.attr_count, in get_folder_items_list_rsp()
3984 btrc_item->media.num_attrs = avrc_item->u.media.attr_count; in handle_get_folder_items_response()
4099 for (int i = 0; i < avrc_item_media->attr_count; i++) { in get_folder_item_type_media()
4708 avrc_cmd.get_attrs.attr_count = 0; in get_item_attribute_cmd()
4881 avrc_cmd.get_items.attr_count = 0; /* p_attr_list does not matter hence */ in get_folder_items_cmd()
/packages/modules/Bluetooth/system/include/hardware/
Dbt_rc.h216 uint8_t attr_count; member