Home
last modified time | relevance | path

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

/system/bt/stack/avrc/
Davrc_int.h83 #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)
Davrc_api.c122 (BT_HDR *)GKI_getbuf((UINT16)(BT_HDR_SIZE + offset + pkt_len)); in avrc_copy_packet()
126 memcpy(p_pkt_copy, p_pkt, BT_HDR_SIZE); in avrc_copy_packet()
203 p_pkt = (BT_HDR *)GKI_getbuf((UINT16)(AVRC_PACKET_LEN + offset_len + BT_HDR_SIZE)); in avrc_send_continue_frag()
1050 + BT_HDR_SIZE)); in AVRC_MsgReq()
Davrc_bld_tg.c315 len_left = GKI_get_buf_size(p_pkt) - BT_HDR_SIZE - p_pkt->offset - p_pkt->len; in avrc_bld_app_setting_text_rsp()
/system/bt/hci/src/
Dhci_inject.c178 BT_HDR *buf = (BT_HDR *)buffer_allocator->alloc(BT_HDR_SIZE + packet_len); in read_ready()
Dhci_layer.c551 size_t buffer_size = BT_HDR_SIZE + incoming->index + incoming->bytes_remaining; in hal_says_data_ready()
/system/bt/include/
Dbt_target.h356 #define HCI_GET_CMD_BUF(paramlen) ((BT_HDR *)GKI_getbuf ((UINT16)(BT_HDR_SIZE + HCIC_PREAMBLE_SI…
/system/bt/stack/avct/
Davct_lcb_act.c544 UINT16 buf_size = p_lcb->peer_mtu + L2CAP_MIN_OFFSET + BT_HDR_SIZE; in avct_lcb_send_msg()
/system/bt/stack/include/
Dbt_types.h211 #define BT_HDR_SIZE (sizeof (BT_HDR)) macro
Dbtm_api.h551 #define BTM_HCI_EIR_OFFSET (BT_HDR_SIZE + 4)
/system/bt/stack/avdt/
Davdt_scb_act.c2126 buf_size = p_tbl->peer_mtu + BT_HDR_SIZE; in avdt_scb_queue_frags()
2133 mtu_used = buf_size - BT_HDR_SIZE; in avdt_scb_queue_frags()
/system/bt/stack/gap/
Dgap_conn.c1222 if ((p_msg = (BT_HDR*)GKI_getbuf(BT_HDR_SIZE)) != NULL) in gap_send_event()
/system/bt/bta/av/
Dbta_av_main.c1217 copy_size = BT_HDR_SIZE + p_buf->len + p_buf->offset; in bta_av_dup_audio_buf()
/system/bt/stack/l2cap/
Dl2c_utils.c796 …len = BT_HDR_SIZE + HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD + L2CAP_CONFI… in l2cu_send_peer_config_rej()
1061 maxlen -= (UINT16)(BT_HDR_SIZE + HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + in l2cu_send_peer_echo_rsp()
/system/bt/bta/hl/
Dbta_hl_utils.c300 UINT16 size = data_size + L2CAP_MIN_OFFSET + BT_HDR_SIZE; in bta_hl_get_buf()