Home
last modified time | relevance | path

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

/system/bt/stack/avrc/
Davrc_pars_tg.cc454 STREAM_TO_UINT8(p_result->get_items.attr_count, p); in avrc_pars_browsing_cmd()
456 if (p_result->get_items.attr_count && p_buf && in avrc_pars_browsing_cmd()
457 (p_result->get_items.attr_count != AVRC_FOLDER_ITEM_COUNT_NONE)) { in avrc_pars_browsing_cmd()
459 count = p_result->get_items.attr_count; in avrc_pars_browsing_cmd()
461 p_result->get_items.attr_count = count = (buf_len >> 2); in avrc_pars_browsing_cmd()
500 BE_STREAM_TO_UINT8(p_result->get_attrs.attr_count, p); in avrc_pars_browsing_cmd()
502 if (p_result->get_attrs.attr_count && p_buf) { in avrc_pars_browsing_cmd()
504 count = p_result->get_attrs.attr_count; in avrc_pars_browsing_cmd()
506 p_result->get_attrs.attr_count = count = (buf_len >> 2); in avrc_pars_browsing_cmd()
507 for (int idx = 0, count = 0; idx < p_result->get_attrs.attr_count; in avrc_pars_browsing_cmd()
[all …]
Davrc_bld_ct.cc441 UINT16_TO_BE_STREAM(p_data, 12 + 4 * cmd->attr_count); in avrc_bld_get_item_attributes_cmd()
447 UINT8_TO_BE_STREAM(p_data, cmd->attr_count); in avrc_bld_get_item_attributes_cmd()
448 ARRAY_TO_BE_STREAM(p_data, cmd->p_attr_list, 4 * cmd->attr_count); in avrc_bld_get_item_attributes_cmd()
Davrc_pars_ct.cc367 BE_STREAM_TO_UINT8(media->attr_count, p); in avrc_pars_browse_rsp()
370 media->name.str_len, media->attr_count); in avrc_pars_browse_rsp()
373 media->attr_count * sizeof(tAVRC_ATTR_ENTRY)); in avrc_pars_browse_rsp()
374 for (int jk = 0; jk < media->attr_count; jk++) { in avrc_pars_browse_rsp()
Davrc_bld_tg.cc1023 if (p_media->attr_count > 0) { in avrc_bld_get_folder_items_rsp()
1025 for (yy = 0; yy < p_media->attr_count; yy++) { in avrc_bld_get_folder_items_rsp()
/system/bt/packet/avrcp/
Dget_folder_items.cc277 auto attr_count = GetNumAttributes(); in IsValid() local
280 if (attr_count == 0xFF) return true; in IsValid()
286 return (attr_count * sizeof(Attribute)) == (size_t)(end() - attr_start); in IsValid()
/system/extras/simpleperf/
Drecord_file_reader.cpp122 size_t attr_count = header_.attrs.size / header_.attr_size; in ReadAttrSection() local
127 if (attr_count == 0) { in ReadAttrSection()
135 for (size_t i = 0; i < attr_count; ++i) { in ReadAttrSection()
/system/bt/stack/include/
Davrc_defs.h1082 uint8_t attr_count; /* The number of attributes in p_attr_list */ member
1216 uint8_t attr_count; member
1238 uint8_t attr_count; member
/system/bt/btif/src/
Dbtif_rc.cc1565 num_attr = pavrc_cmd->get_items.attr_count; in btif_rc_upstreams_evt()
1656 pavrc_cmd->get_attrs.attr_count, pavrc_cmd->get_attrs.p_attr_list, in btif_rc_upstreams_evt()
2134 item.u.media.attr_count = cur_item->media.num_attrs; in get_folder_items_list_rsp()
2137 if (item.u.media.attr_count == 0) { in get_folder_items_list_rsp()
2142 fill_avrc_attr_entry(attr_vals, item.u.media.attr_count, in get_folder_items_list_rsp()
4002 btrc_item->media.num_attrs = avrc_item->u.media.attr_count; in handle_get_folder_items_response()
4119 for (int i = 0; i < avrc_item_media->attr_count; i++) { in get_folder_item_type_media()
4715 avrc_cmd.get_attrs.attr_count = 0; in get_item_attribute_cmd()
4888 avrc_cmd.get_items.attr_count = 0; /* p_attr_list does not matter hence */ in get_folder_items_cmd()
/system/bt/include/hardware/
Dbt_rc.h215 uint8_t attr_count; member