Home
last modified time | relevance | path

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

/system/bt/stack/avrc/
Davrc_int.h95 (AVRC_MSG_VENDOR_OFFSET + BT_HDR_SIZE + AVRC_MIN_META_HDR_SIZE)
99 #define AVRC_MIN_PASS_THRU_SIZE (AVRC_MSG_PASS_THRU_OFFSET + BT_HDR_SIZE + 4)
102 (AVCT_BROWSE_OFFSET + BT_HDR_SIZE + AVRC_MIN_BROWSE_HDR_SIZE)
Davrc_bld_tg.cc299 len_left = BT_DEFAULT_BUFFER_SIZE - BT_HDR_SIZE - p_pkt->offset - p_pkt->len; in avrc_bld_app_setting_text_rsp()
474 BT_DEFAULT_BUFFER_SIZE - BT_HDR_SIZE - p_pkt->offset; in avrc_bld_get_elem_attrs_rsp()
840 len_left = BT_DEFAULT_BUFFER_SIZE - BT_HDR_SIZE; in avrc_bld_set_browsed_player_rsp()
926 len_left = BT_DEFAULT_BUFFER_SIZE - BT_HDR_SIZE; in avrc_bld_get_folder_items_rsp()
1133 BT_DEFAULT_BUFFER_SIZE - BT_HDR_SIZE - p_pkt->offset; in avrc_bld_get_item_attrs_rsp()
Davrc_api.cc240 BT_HDR* p_pkt_copy = (BT_HDR*)osi_malloc(BT_HDR_SIZE + offset + pkt_len); in avrc_copy_packet()
243 memcpy(p_pkt_copy, p_pkt, BT_HDR_SIZE); in avrc_copy_packet()
319 p_pkt = (BT_HDR*)osi_malloc(AVRC_PACKET_LEN + offset_len + BT_HDR_SIZE); in avrc_send_continue_frag()
1193 (BT_HDR*)osi_malloc(AVRC_PACKET_LEN + offset_len + BT_HDR_SIZE); in AVRC_MsgReq()
/system/bt/stack/test/common/
Dstack_test_packet_utils.cc59 size_t packet_size = buffer_length + BT_HDR_SIZE; in AllocateWrappedIncomingL2capAclPacket()
80 BT_HDR_SIZE + L2CAP_MIN_OFFSET + buffer_length - acl_l2cap_header_size; in AllocateWrappedOutgoingL2capAclPacket()
/system/bt/hci/src/
Dhci_inject.cc177 BT_HDR* buf = (BT_HDR*)buffer_allocator->alloc(BT_HDR_SIZE + packet_len); in read_ready()
Dhci_layer_android.cc79 size_t packet_size = data.size() + BT_HDR_SIZE; in WrapPacketAndCopy()
Dhci_layer_linux.cc122 size_t packet_size = buf_size + BT_HDR_SIZE; in monitor_socket()
/system/bt/stack/avct/
Davct_l2c_br.cc267 uint16_t max_mtu = BT_DEFAULT_BUFFER_SIZE - L2CAP_MIN_OFFSET - BT_HDR_SIZE; in avct_l2c_br_config_ind_cback()
Davct_lcb_act.cc478 uint16_t buf_size = p_lcb->peer_mtu + L2CAP_MIN_OFFSET + BT_HDR_SIZE; in avct_lcb_send_msg()
/system/bt/btif/src/
Dbtif_sock_l2cap.cc997 BT_HDR* msg = (BT_HDR*)osi_malloc(BT_HDR_SIZE + L2CAP_MIN_OFFSET + len + in malloc_l2cap_buf()
1005 return (uint8_t*)(msg) + BT_HDR_SIZE + msg->offset; in get_l2cap_sdu_start_ptr()
/system/bt/stack/include/
Dbt_types.h228 #define BT_HDR_SIZE (sizeof(BT_HDR)) macro
Dbtm_api_types.h435 #define BTM_HCI_EIR_OFFSET (BT_HDR_SIZE + 4)
/system/bt/bta/hearing_aid/
Dhearing_aid.cc99 BT_HDR* msg = (BT_HDR*)osi_malloc(BT_HDR_SIZE + L2CAP_MIN_OFFSET + in malloc_l2cap_buf()
107 return (uint8_t*)(msg) + BT_HDR_SIZE + L2CAP_MIN_OFFSET; in get_l2cap_sdu_start_ptr()
/system/bt/stack/l2cap/
Dl2c_fcr.cc860 p_data = (BT_HDR*)osi_malloc(BT_HDR_SIZE + sdu_length); in l2c_lcc_proc_pdu()
1463 BT_HDR_SIZE + OBX_BUF_MIN_OFFSET + p_fcrb->rx_sdu_len); in do_sar_reassembly()
Dl2c_utils.cc737 len = BT_HDR_SIZE + HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + in l2cu_send_peer_config_rej()
993 (uint16_t)(BT_HDR_SIZE + HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + in l2cu_send_peer_echo_rsp()
/system/bt/bta/av/
Dbta_av_main.cc1190 uint16_t copy_size = BT_HDR_SIZE + p_buf->len + p_buf->offset; in bta_av_dup_audio_buf()