Home
last modified time | relevance | path

Searched refs:BT_HDR_SIZE (Results 1 – 13 of 13) 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.c121 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()
Davrc_bld_tg.c320 len_left = BT_DEFAULT_BUFFER_SIZE - BT_HDR_SIZE - p_pkt->offset - p_pkt->len; in avrc_bld_app_setting_text_rsp()
/system/bt/hci/src/
Dhci_inject.c174 BT_HDR *buf = (BT_HDR *)buffer_allocator->alloc(BT_HDR_SIZE + packet_len); in read_ready()
Dhci_layer.c570 size_t buffer_size = BT_HDR_SIZE + incoming->index + incoming->bytes_remaining; in hal_says_data_ready()
/system/bt/stack/avct/
Davct_lcb_act.c536 UINT16 buf_size = p_lcb->peer_mtu + L2CAP_MIN_OFFSET + BT_HDR_SIZE; in avct_lcb_send_msg()
/system/bt/stack/include/
Dbt_types.h206 #define BT_HDR_SIZE (sizeof (BT_HDR)) macro
Dbtm_api.h549 #define BTM_HCI_EIR_OFFSET (BT_HDR_SIZE + 4)
/system/bt/stack/avdt/
Davdt_scb_act.c2115 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()
/system/bt/stack/gap/
Dgap_conn.c1249 BT_HDR *p_msg = (BT_HDR *)osi_malloc(BT_HDR_SIZE); in gap_send_event()
/system/bt/bta/av/
Dbta_av_main.c1187 UINT16 copy_size = BT_HDR_SIZE + p_buf->len + p_buf->offset; in bta_av_dup_audio_buf()
/system/bt/stack/l2cap/
Dl2c_utils.c805 …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()
/system/bt/bta/hl/
Dbta_hl_utils.c271 size_t size = data_size + L2CAP_MIN_OFFSET + BT_HDR_SIZE + L2CAP_FCS_LEN in bta_hl_get_buf()