Home
last modified time | relevance | path

Searched refs:str_len (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Bluetooth/system/stack/avrc/
Davrc_pars_ct.cc293 BE_STREAM_TO_UINT16(player->name.str_len, p); in avrc_pars_browse_rsp()
294 min_len += player->name.str_len; in avrc_pars_browse_rsp()
297 (player->name.str_len + 1) * sizeof(uint8_t)); in avrc_pars_browse_rsp()
298 BE_STREAM_TO_ARRAY(p, player->name.p_str, player->name.str_len); in avrc_pars_browse_rsp()
303 player->name.str_len); in avrc_pars_browse_rsp()
321 BE_STREAM_TO_UINT16(folder->name.str_len, p); in avrc_pars_browse_rsp()
322 min_len += folder->name.str_len; in avrc_pars_browse_rsp()
325 (folder->name.str_len + 1) * sizeof(uint8_t)); in avrc_pars_browse_rsp()
326 BE_STREAM_TO_ARRAY(p, folder->name.p_str, folder->name.str_len); in avrc_pars_browse_rsp()
329 folder->name.str_len); in avrc_pars_browse_rsp()
[all …]
Davrc_bld_tg.cc320 if (len_left < (p_rsp->p_attrs[xx].str_len + 4)) { in avrc_bld_app_setting_text_rsp()
322 p_rsp->p_attrs[xx].str_len, len_left); in avrc_bld_app_setting_text_rsp()
327 if (!p_rsp->p_attrs[xx].str_len || !p_rsp->p_attrs[xx].p_str) { in avrc_bld_app_setting_text_rsp()
333 UINT8_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].str_len); in avrc_bld_app_setting_text_rsp()
335 p_rsp->p_attrs[xx].str_len); in avrc_bld_app_setting_text_rsp()
431 p_attrs[index].name.str_len = 0; in avrc_build_attribute_entries()
441 if (remaining_buffer_capacity < p_attrs[index].name.str_len) { in avrc_build_attribute_entries()
445 p_attrs[index].name.str_len = remaining_buffer_capacity; in avrc_build_attribute_entries()
448 remaining_buffer_capacity -= p_attrs[index].name.str_len; in avrc_build_attribute_entries()
451 UINT16_TO_BE_STREAM(p_data, p_attrs[index].name.str_len); in avrc_build_attribute_entries()
[all …]
Davrc_pars_tg.cc565 BE_STREAM_TO_UINT16(p_result->search.string.str_len, p); in avrc_pars_browsing_cmd()
568 if (p_result->search.string.str_len > buf_len) { in avrc_pars_browsing_cmd()
569 p_result->search.string.str_len = buf_len; in avrc_pars_browsing_cmd()
571 min_len += p_result->search.string.str_len; in avrc_pars_browsing_cmd()
575 BE_STREAM_TO_ARRAY(p, p_buf, p_result->search.string.str_len); in avrc_pars_browsing_cmd()
/packages/modules/Bluetooth/system/include/hardware/
Dbt_rc.h192 uint16_t str_len; member
199 uint16_t str_len; member
284 uint16_t str_len; member
391 typedef void (*btrc_search_callback)(uint16_t charset_id, uint16_t str_len,
/packages/modules/Bluetooth/system/btif/src/
Dbtif_rc.cc549 attr_vals[attr_cnt].name.str_len = in fill_avrc_attr_entry()
555 attr_vals[attr_cnt].name.str_len, in fill_avrc_attr_entry()
1798 pavrc_cmd->search.string.str_len, in btif_rc_upstreams_evt()
2062 element_attrs[i].name.str_len = in get_element_attr_rsp()
2068 element_attrs[i].name.str_len, in get_element_attr_rsp()
2249 item.u.player.name.str_len = in get_folder_items_list_rsp()
2258 item.u.folder.name.str_len = strlen((char*)cur_item->folder.name); in get_folder_items_list_rsp()
2268 item.u.media.name.str_len = strlen((char*)cur_item->media.name); in get_folder_items_list_rsp()
2440 item.str_len = p_folders[item_cnt].str_len; in set_browsed_player_rsp()
3658 p_app_settings->ext_attrs[x].str_len = p_rsp->p_attrs[xx].str_len; in handle_app_attr_txt_response()
[all …]
/packages/modules/Bluetooth/system/stack/include/
Davrc_defs.h1014 uint16_t str_len; member
1019 uint16_t str_len; member
1044 uint8_t str_len; member