Home
last modified time | relevance | path

Searched refs:item_len (Results 1 – 2 of 2) sorted by relevance

/system/bt/packet/avrcp/
Dget_folder_items.cc143 uint16_t item_len = item.size() - 3; in PushMediaPlayerItem() local
144 AddPayloadOctets2(pkt, base::ByteSwap(item_len)); // Item length in PushMediaPlayerItem()
186 uint16_t item_len = item.size() - 3; in PushFolderItem() local
187 AddPayloadOctets2(pkt, base::ByteSwap(item_len)); in PushFolderItem()
204 uint16_t item_len = item.size() - 3; in PushMediaElementItem() local
205 AddPayloadOctets2(pkt, base::ByteSwap(item_len)); in PushMediaElementItem()
/system/bt/stack/avrc/
Davrc_bld_tg.cc909 uint16_t item_len; in avrc_bld_get_folder_items_rsp() local
964 item_len = 0; in avrc_bld_get_folder_items_rsp()
970 item_len = AVRC_FEATURE_MASK_SIZE + p_player->name.str_len + 12; in avrc_bld_get_folder_items_rsp()
972 if ((len_left <= item_len) || !AVRC_ITEM_PLAYER_IS_VALID(p_player)) { in avrc_bld_get_folder_items_rsp()
991 item_len = AVRC_UID_SIZE + p_folder->name.str_len + 6; in avrc_bld_get_folder_items_rsp()
993 if ((len_left > item_len) && p_folder->name.p_str && in avrc_bld_get_folder_items_rsp()
1010 item_len = AVRC_UID_SIZE + p_media->name.str_len + 6; in avrc_bld_get_folder_items_rsp()
1012 if ((len_left >= item_len) && p_media->name.p_str && in avrc_bld_get_folder_items_rsp()
1022 len_left -= item_len; in avrc_bld_get_folder_items_rsp()
1035 item_len += (p_attr[yy].name.str_len + 8); in avrc_bld_get_folder_items_rsp()
[all …]