Home
last modified time | relevance | path

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

/system/bt/stack/avrc/
Davrc_pars_tg.cc435 STREAM_TO_UINT8(p_result->get_items.attr_count, p); in avrc_pars_browsing_cmd()
437 if (p_result->get_items.attr_count && p_buf && in avrc_pars_browsing_cmd()
438 (p_result->get_items.attr_count != AVRC_FOLDER_ITEM_COUNT_NONE)) { in avrc_pars_browsing_cmd()
440 count = p_result->get_items.attr_count; in avrc_pars_browsing_cmd()
442 p_result->get_items.attr_count = count = (buf_len >> 2); in avrc_pars_browsing_cmd()
467 BE_STREAM_TO_UINT8(p_result->get_attrs.attr_count, p); in avrc_pars_browsing_cmd()
469 if (p_result->get_attrs.attr_count && p_buf) { in avrc_pars_browsing_cmd()
471 count = p_result->get_attrs.attr_count; in avrc_pars_browsing_cmd()
473 p_result->get_attrs.attr_count = count = (buf_len >> 2); in avrc_pars_browsing_cmd()
474 for (int idx = 0, count = 0; idx < p_result->get_attrs.attr_count; in avrc_pars_browsing_cmd()
[all …]
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.cpp120 size_t attr_count = header_.attrs.size / header_.attr_size; in ReadAttrSection() local
125 if (attr_count == 0) { in ReadAttrSection()
133 for (size_t i = 0; i < attr_count; ++i) { in ReadAttrSection()
/system/bt/stack/include/
Davrc_defs.h1081 uint8_t attr_count; /* The number of attributes in p_attr_list */ member
1215 uint8_t attr_count; member
1237 uint8_t attr_count; member
/system/bt/include/hardware/
Dbt_rc.h213 uint8_t attr_count; member
/system/bt/btif/src/
Dbtif_rc.cc1488 num_attr = pavrc_cmd->get_items.attr_count; in btif_rc_upstreams_evt()
1579 pavrc_cmd->get_attrs.attr_count, in btif_rc_upstreams_evt()
2053 item.u.media.attr_count = cur_item->media.num_attrs; in get_folder_items_list_rsp()
2056 if (item.u.media.attr_count == 0) { in get_folder_items_list_rsp()
2061 fill_avrc_attr_entry(attr_vals, item.u.media.attr_count, in get_folder_items_list_rsp()
3881 btrc_item->media.num_attrs = avrc_item->u.media.attr_count; in handle_get_folder_items_response()
3992 for (int i = 0; i < avrc_item_media->attr_count; i++) { in get_folder_item_type_media()
4764 avrc_cmd.get_items.attr_count = 0; /* p_attr_list does not matter hence */ in get_folder_items_cmd()