Searched refs:BT_HDR_SIZE (Results 1 – 13 of 13) sorted by relevance
83 #define AVRC_MIN_VENDOR_SIZE (AVRC_MSG_VENDOR_OFFSET + BT_HDR_SIZE + AVRC_MIN_META_HDR_SIZE)87 #define AVRC_MIN_PASS_THRU_SIZE (AVRC_MSG_PASS_THRU_OFFSET + BT_HDR_SIZE + 4)89 #define AVRC_MIN_BROWSE_SIZE (AVCT_BROWSE_OFFSET + BT_HDR_SIZE + AVRC_MIN_BROWSE_HDR_SIZE)
121 BT_HDR *p_pkt_copy = (BT_HDR *)osi_malloc(BT_HDR_SIZE + offset + pkt_len); in avrc_copy_packet()124 memcpy(p_pkt_copy, p_pkt, BT_HDR_SIZE); in avrc_copy_packet()198 p_pkt = (BT_HDR *)osi_malloc(AVRC_PACKET_LEN + offset_len + BT_HDR_SIZE); in avrc_send_continue_frag()1016 (BT_HDR *)osi_malloc(AVRC_PACKET_LEN + offset_len + BT_HDR_SIZE); in AVRC_MsgReq()
320 len_left = BT_DEFAULT_BUFFER_SIZE - BT_HDR_SIZE - p_pkt->offset - p_pkt->len; in avrc_bld_app_setting_text_rsp()
174 BT_HDR *buf = (BT_HDR *)buffer_allocator->alloc(BT_HDR_SIZE + packet_len); in read_ready()
570 size_t buffer_size = BT_HDR_SIZE + incoming->index + incoming->bytes_remaining; in hal_says_data_ready()
536 UINT16 buf_size = p_lcb->peer_mtu + L2CAP_MIN_OFFSET + BT_HDR_SIZE; in avct_lcb_send_msg()
206 #define BT_HDR_SIZE (sizeof (BT_HDR)) macro
549 #define BTM_HCI_EIR_OFFSET (BT_HDR_SIZE + 4)
2115 buf_size = p_tbl->peer_mtu + BT_HDR_SIZE; in avdt_scb_queue_frags()2122 mtu_used = buf_size - BT_HDR_SIZE; in avdt_scb_queue_frags()
1249 BT_HDR *p_msg = (BT_HDR *)osi_malloc(BT_HDR_SIZE); in gap_send_event()
1187 UINT16 copy_size = BT_HDR_SIZE + p_buf->len + p_buf->offset; in bta_av_dup_audio_buf()
805 …len = BT_HDR_SIZE + HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD + L2CAP_CONFI… in l2cu_send_peer_config_rej()1062 maxlen -= (UINT16)(BT_HDR_SIZE + HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + in l2cu_send_peer_echo_rsp()
271 size_t size = data_size + L2CAP_MIN_OFFSET + BT_HDR_SIZE + L2CAP_FCS_LEN in bta_hl_get_buf()