Home
last modified time | relevance | path

Searched refs:BT_HDR_SIZE (Results 1 – 14 of 14) sorted by relevance

/packages/modules/Bluetooth/system/stack/avrc/
Davrc_int.h96 (AVRC_MSG_VENDOR_OFFSET + BT_HDR_SIZE + AVRC_MIN_META_HDR_SIZE)
100 #define AVRC_MIN_PASS_THRU_SIZE (AVRC_MSG_PASS_THRU_OFFSET + BT_HDR_SIZE + 4)
103 (AVCT_BROWSE_OFFSET + BT_HDR_SIZE + AVRC_MIN_BROWSE_HDR_SIZE)
Davrc_bld_tg.cc307 len_left = BT_DEFAULT_BUFFER_SIZE - BT_HDR_SIZE - p_pkt->offset - p_pkt->len; in avrc_bld_app_setting_text_rsp()
481 BT_DEFAULT_BUFFER_SIZE - BT_HDR_SIZE - p_pkt->offset; in avrc_bld_get_elem_attrs_rsp()
846 len_left = BT_DEFAULT_BUFFER_SIZE - BT_HDR_SIZE; in avrc_bld_set_browsed_player_rsp()
932 len_left = BT_DEFAULT_BUFFER_SIZE - BT_HDR_SIZE; in avrc_bld_get_folder_items_rsp()
1158 BT_DEFAULT_BUFFER_SIZE - BT_HDR_SIZE - p_pkt->offset; in avrc_bld_get_item_attrs_rsp()
Davrc_api.cc263 BT_HDR* p_pkt_copy = (BT_HDR*)osi_calloc(BT_HDR_SIZE + offset + pkt_len); in avrc_copy_packet()
266 memcpy(p_pkt_copy, p_pkt, BT_HDR_SIZE); in avrc_copy_packet()
341 p_pkt = (BT_HDR*)osi_calloc(AVRC_PACKET_LEN + offset_len + BT_HDR_SIZE); in avrc_send_continue_frag()
1272 (BT_HDR*)osi_calloc(AVRC_PACKET_LEN + offset_len + BT_HDR_SIZE); in AVRC_MsgReq()
/packages/modules/Bluetooth/system/stack/test/common/
Dstack_test_packet_utils.cc63 size_t packet_size = buffer_length + BT_HDR_SIZE; in AllocateWrappedIncomingL2capAclPacket()
85 BT_HDR_SIZE + L2CAP_MIN_OFFSET + buffer_length - acl_l2cap_header_size; in AllocateWrappedOutgoingL2capAclPacket()
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_eir.h32 #define BTM_HCI_EIR_OFFSET (BT_HDR_SIZE + 4)
/packages/modules/Bluetooth/system/stack/include/
Dbt_hdr.h58 #define BT_HDR_SIZE (sizeof(BT_HDR)) macro
/packages/modules/Bluetooth/system/stack/avct/
Davct_lcb_act.cc557 uint16_t buf_size = p_lcb->peer_mtu + L2CAP_MIN_OFFSET + BT_HDR_SIZE; in avct_lcb_send_msg()
751 p_buf_len = BT_HDR_SIZE + p_data->p_buf->offset + p_data->p_buf->len; in avct_msg_ind_for_src_sink_coexist()
Davct_l2c_br.cc263 uint16_t max_mtu = BT_DEFAULT_BUFFER_SIZE - L2CAP_MIN_OFFSET - BT_HDR_SIZE; in avct_l2c_br_config_ind_cback()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_sock_l2cap.cc948 BT_HDR* msg = (BT_HDR*)osi_malloc(BT_HDR_SIZE + L2CAP_MIN_OFFSET + len + in malloc_l2cap_buf()
956 return (uint8_t*)(msg) + BT_HDR_SIZE + msg->offset; in get_l2cap_sdu_start_ptr()
Dbtif_hh.cc1369 memcpy(p_data, hdr, BT_HDR_SIZE + hdr->offset + hdr->len); in btif_hh_hsdata_rpt_copy_cb()
1408 param_len += BT_HDR_SIZE + hdr->offset + hdr->len; in bte_hh_evt()
/packages/modules/Bluetooth/system/stack/l2cap/
Dl2c_fcr.cc723 p_data = (BT_HDR*)osi_malloc(BT_HDR_SIZE + sdu_length); in l2c_lcc_proc_pdu()
1207 BT_HDR_SIZE + OBX_BUF_MIN_OFFSET + p_fcrb->rx_sdu_len); in do_sar_reassembly()
Dl2c_utils.cc764 len = BT_HDR_SIZE + HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + in l2cu_send_peer_config_rej()
980 (uint16_t)(BT_HDR_SIZE + HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + in l2cu_send_peer_echo_rsp()
/packages/modules/Bluetooth/system/bta/hearing_aid/
Dhearing_aid.cc124 BT_HDR* msg = (BT_HDR*)osi_malloc(BT_HDR_SIZE + L2CAP_MIN_OFFSET + in malloc_l2cap_buf()
132 return (uint8_t*)(msg) + BT_HDR_SIZE + L2CAP_MIN_OFFSET; in get_l2cap_sdu_start_ptr()
/packages/modules/Bluetooth/system/bta/av/
Dbta_av_main.cc1171 uint16_t copy_size = BT_HDR_SIZE + p_buf->len + p_buf->offset; in bta_av_dup_audio_buf()