/system/bt/bta/hd/ |
D | bta_hd_api.cc | 58 tBTA_HD_API_ENABLE* p_buf = in BTA_HdEnable() local 83 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR)); in BTA_HdDisable() local 103 tBTA_HD_REGISTER_APP* p_buf = in BTA_HdRegisterApp() local 156 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR)); in BTA_HdUnregisterApp() local 182 tBTA_HD_SEND_REPORT* p_buf = in BTA_HdSendReport() local 207 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR)); in BTA_HdVirtualCableUnplug() local 226 tBTA_HD_DEVICE_CTRL* p_buf = in BTA_HdConnect() local 246 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR)); in BTA_HdDisconnect() local 263 tBTA_HD_DEVICE_CTRL* p_buf = in BTA_HdAddDevice() local 283 tBTA_HD_DEVICE_CTRL* p_buf = in BTA_HdRemoveDevice() local [all …]
|
/system/bt/bta/av/ |
D | bta_av_api.cc | 64 tBTA_AV_API_ENABLE* p_buf = in BTA_AvEnable() local 88 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR)); in BTA_AvDisable() local 112 tBTA_AV_API_REG* p_buf = in BTA_AvRegister() local 138 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR)); in BTA_AvDeregister() local 163 tBTA_AV_API_OPEN* p_buf = in BTA_AvOpen() local 189 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR)); in BTA_AvClose() local 209 tBTA_AV_API_DISCNT* p_buf = in BTA_AvDisconnect() local 230 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR)); in BTA_AvStart() local 250 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR)); in BTA_AvOffloadStart() local 268 tBTA_AV_API_STATUS_RSP* p_buf = in BTA_AvOffloadStartRsp() local [all …]
|
D | bta_av_ci.cc | 49 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR)); in bta_av_ci_src_data_ready() local 79 tBTA_AV_CI_SETCONFIG* p_buf = in bta_av_ci_setconfig() local
|
/system/bt/bta/gatt/ |
D | bta_gatts_api.cc | 60 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR)); in BTA_GATTS_Disable() local 81 tBTA_GATTS_API_REG* p_buf = in BTA_GATTS_AppRegister() local 107 tBTA_GATTS_API_DEREG* p_buf = in BTA_GATTS_AppDeregister() local 190 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR)); in BTA_GATTS_DeleteService() local 210 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR)); in BTA_GATTS_StopService() local 237 tBTA_GATTS_API_INDICATION* p_buf = in BTA_GATTS_HandleValueIndication() local 269 tBTA_GATTS_API_RSP* p_buf = (tBTA_GATTS_API_RSP*)osi_calloc(len); in BTA_GATTS_SendRsp() local 301 tBTA_GATTS_API_OPEN* p_buf = in BTA_GATTS_Open() local 329 tBTA_GATTS_API_CANCEL_OPEN* p_buf = (tBTA_GATTS_API_CANCEL_OPEN*)osi_malloc( in BTA_GATTS_CancelOpen() local 352 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR)); in BTA_GATTS_Close() local
|
D | bta_gattc_api.cc | 131 tBTA_GATTC_API_OPEN* p_buf = in BTA_GATTC_Open() local 162 tBTA_GATTC_API_CANCEL_OPEN* p_buf = (tBTA_GATTC_API_CANCEL_OPEN*)osi_malloc( in BTA_GATTC_CancelOpen() local 185 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR)); in BTA_GATTC_Close() local 207 tBTA_GATTC_API_CFG_MTU* p_buf = in BTA_GATTC_ConfigureMTU() local 236 tBTA_GATTC_API_SEARCH* p_buf = (tBTA_GATTC_API_SEARCH*)osi_calloc(len); in BTA_GATTC_ServiceSearchRequest() local 359 tBTA_GATTC_API_READ* p_buf = in BTA_GATTC_ReadCharacteristic() local 380 tBTA_GATTC_API_READ* p_buf = in BTA_GATTC_ReadUsingCharUuid() local 411 tBTA_GATTC_API_READ* p_buf = in BTA_GATTC_ReadCharDescr() local 439 tBTA_GATTC_API_READ_MULTI* p_buf = in BTA_GATTC_ReadMultiple() local 473 tBTA_GATTC_API_WRITE* p_buf = (tBTA_GATTC_API_WRITE*)osi_calloc( in BTA_GATTC_WriteCharValue() local [all …]
|
/system/bt/stack/rfcomm/ |
D | rfc_ts_frames.cc | 45 BT_HDR* p_buf = (BT_HDR*)osi_malloc(RFCOMM_CMD_BUF_SIZE); in rfc_send_sabme() local 73 BT_HDR* p_buf = (BT_HDR*)osi_malloc(RFCOMM_CMD_BUF_SIZE); in rfc_send_ua() local 100 BT_HDR* p_buf = (BT_HDR*)osi_malloc(RFCOMM_CMD_BUF_SIZE); in rfc_send_dm() local 127 BT_HDR* p_buf = (BT_HDR*)osi_malloc(RFCOMM_CMD_BUF_SIZE); in rfc_send_disc() local 151 void rfc_send_buf_uih(tRFC_MCB* p_mcb, uint8_t dlci, BT_HDR* p_buf) { in rfc_send_buf_uih() 211 BT_HDR* p_buf = (BT_HDR*)osi_malloc(RFCOMM_CMD_BUF_SIZE); in rfc_send_pn() local 253 BT_HDR* p_buf = (BT_HDR*)osi_malloc(RFCOMM_CMD_BUF_SIZE); in rfc_send_fcon() local 276 BT_HDR* p_buf = (BT_HDR*)osi_malloc(RFCOMM_CMD_BUF_SIZE); in rfc_send_fcoff() local 303 BT_HDR* p_buf = (BT_HDR*)osi_malloc(RFCOMM_CMD_BUF_SIZE); in rfc_send_msc() local 347 BT_HDR* p_buf = (BT_HDR*)osi_malloc(RFCOMM_CMD_BUF_SIZE); in rfc_send_rls() local [all …]
|
D | port_api.cc | 678 BT_HDR* p_buf; in PORT_ReadData() local 771 static int port_write(tPORT* p_port, BT_HDR* p_buf) { in port_write() 832 BT_HDR* p_buf; in PORT_WriteDataCO() local 990 BT_HDR* p_buf; in PORT_WriteData() local
|
/system/bt/bta/hf_client/ |
D | bta_hf_client_api.cc | 82 tBTA_HF_CLIENT_API_OPEN* p_buf = in BTA_HfClientOpen() local 110 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR)); in BTA_HfClientClose() local 130 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR)); in BTA_HfClientAudioOpen() local 150 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR)); in BTA_HfClientAudioClose() local 170 tBTA_HF_CLIENT_DATA_VAL* p_buf = in BTA_HfClientSendAT() local
|
D | bta_hf_client_rfc.cc | 57 tBTA_HF_CLIENT_RFC* p_buf = in bta_hf_client_port_cback() local 89 tBTA_HF_CLIENT_RFC* p_buf = in bta_hf_client_mgmt_cback() local 287 tBTA_HF_CLIENT_RFC* p_buf = in bta_hf_client_rfc_do_close() local
|
/system/bt/bta/pan/ |
D | bta_pan_api.cc | 55 tBTA_PAN_API_ENABLE* p_buf = in BTA_PanEnable() local 78 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR)); in BTA_PanDisable() local 100 tBTA_PAN_API_SET_ROLE* p_buf = in BTA_PanSetRole() local 147 tBTA_PAN_API_OPEN* p_buf = in BTA_PanOpen() local 169 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR)); in BTA_PanClose() local
|
D | bta_pan_ci.cc | 55 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR)); in bta_pan_ci_tx_ready() local 77 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR)); in bta_pan_ci_rx_ready() local 101 tBTA_PAN_CI_TX_FLOW* p_buf = in bta_pan_ci_tx_flow() local 126 BT_HDR* p_buf = (BT_HDR*)osi_malloc(PAN_BUF_SIZE); in bta_pan_ci_rx_write() local 162 BT_HDR* p_buf, bool ext) { in bta_pan_ci_rx_writebuf() 187 BT_HDR* p_buf; in bta_pan_ci_readbuf() local 245 UNUSED_ATTR BT_HDR* p_buf, UNUSED_ATTR bool ext) {} in bta_pan_ci_rx_writebuf()
|
D | bta_pan_act.cc | 93 tBTA_PAN_CONN* p_buf = (tBTA_PAN_CONN*)osi_malloc(sizeof(tBTA_PAN_CONN)); in bta_pan_conn_state_cback() local 150 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR)); in bta_pan_data_flow_cb() local 173 BT_HDR* p_buf, bool ext, bool forward) { in bta_pan_data_buf_ind_cback() 404 BT_HDR* p_buf; in bta_pan_disable() local 477 tBTA_PAN_CONN* p_buf = (tBTA_PAN_CONN*)osi_malloc(sizeof(tBTA_PAN_CONN)); in bta_pan_api_close() local 550 BT_HDR* p_buf; in bta_pan_conn_close() local 607 BT_HDR* p_buf = (BT_HDR*)fixed_queue_try_dequeue(p_scb->data_queue); in bta_pan_tx_path() local
|
/system/bt/bta/hh/ |
D | bta_hh_api.cc | 63 tBTA_HH_API_ENABLE* p_buf = in BTA_HhEnable() local 89 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR)); in BTA_HhDisable() local 107 BT_HDR* p_buf = (BT_HDR*)osi_calloc(sizeof(BT_HDR)); in BTA_HhClose() local 127 tBTA_HH_API_CONN* p_buf = in BTA_HhOpen() local 147 tBTA_HH_CMD_DATA* p_buf = in bta_hh_snd_write_dev() local 305 BT_HDR* p_buf = (BT_HDR*)osi_calloc(sizeof(BT_HDR)); in BTA_HhGetDscpInfo() local 329 tBTA_HH_MAINT_DEV* p_buf = (tBTA_HH_MAINT_DEV*)osi_calloc(len); in BTA_HhAddDev() local 364 tBTA_HH_MAINT_DEV* p_buf = in BTA_HhRemoveDev() local
|
/system/bt/stack/gatt/ |
D | att_protocol.cc | 50 BT_HDR* p_buf = in attp_build_mtu_cmd() local 72 BT_HDR* p_buf = (BT_HDR*)osi_malloc(GATT_DATA_BUF_SIZE); in attp_build_exec_write_cmd() local 103 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR) + L2CAP_MIN_OFFSET + 5); in attp_build_err_cmd() local 131 BT_HDR* p_buf = in attp_build_browse_cmd() local 160 BT_HDR* p_buf = in attp_build_read_by_type_value_cmd() local 194 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR) + num_handle * 2 + 1 + in attp_build_read_multi_cmd() local 222 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR) + 5 + L2CAP_MIN_OFFSET); in attp_build_handle_cmd() local 252 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR) + 1 + L2CAP_MIN_OFFSET); in attp_build_opcode_cmd() local 276 BT_HDR* p_buf = in attp_build_value_cmd() local
|
/system/bt/stack/l2cap/ |
D | l2c_fcr.cc | 134 static uint16_t l2c_fcr_tx_get_fcs(BT_HDR* p_buf) { in l2c_fcr_tx_get_fcs() 149 static uint16_t l2c_fcr_rx_get_fcs(BT_HDR* p_buf) { in l2c_fcr_rx_get_fcs() 341 BT_HDR* l2c_fcr_clone_buf(BT_HDR* p_buf, uint16_t new_offset, in l2c_fcr_clone_buf() 408 static void prepare_I_frame(tL2C_CCB* p_ccb, BT_HDR* p_buf, in prepare_I_frame() 531 BT_HDR* p_buf = (BT_HDR*)osi_malloc(L2CAP_CMD_BUF_SIZE); in l2c_fcr_send_S_frame() local 600 void l2c_fcr_proc_pdu(tL2C_CCB* p_ccb, BT_HDR* p_buf) { in l2c_fcr_proc_pdu() 817 void l2c_lcc_proc_pdu(tL2C_CCB* p_ccb, BT_HDR* p_buf) { in l2c_lcc_proc_pdu() 1067 static void process_s_frame(tL2C_CCB* p_ccb, BT_HDR* p_buf, in process_s_frame() 1148 static void process_i_frame(tL2C_CCB* p_ccb, BT_HDR* p_buf, uint16_t ctrl_word, in process_i_frame() 1330 static void process_stream_frame(tL2C_CCB* p_ccb, BT_HDR* p_buf) { in process_stream_frame() [all …]
|
D | l2c_utils.cc | 191 BT_HDR* p_buf = static_cast<BT_HDR*>(list_front(p_lcb->link_xmit_data_q)); in l2cu_release_lcb() local 223 tL2CAP_SEC_DATA* p_buf = in l2cu_release_lcb() local 319 BT_HDR* p_buf = (BT_HDR*)osi_malloc(L2CAP_CMD_BUF_SIZE); in l2cu_build_header() local 386 BT_HDR* p_buf; in l2cu_send_peer_cmd_reject() local 427 BT_HDR* p_buf; in l2cu_send_peer_connect_req() local 464 BT_HDR* p_buf; in l2cu_send_peer_connect_rsp() local 506 BT_HDR* p_buf; in l2cu_reject_connection() local 538 BT_HDR* p_buf; in l2cu_send_peer_config_req() local 639 BT_HDR* p_buf; in l2cu_send_peer_config_rsp() local 746 BT_HDR* p_buf = (BT_HDR*)osi_malloc(len + rej_len); in l2cu_send_peer_config_rej() local [all …]
|
/system/bt/stack/smp/ |
D | smp_utils.cc | 308 const uint8_t* p_buf, size_t buf_len) { in smp_log_metrics() 365 BT_HDR* p_buf; in smp_send_cmd() local 450 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR) + SMP_PAIRING_REQ_SIZE + in smp_build_pairing_cmd() local 481 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR) + SMP_CONFIRM_CMD_SIZE + in smp_build_confirm_cmd() local 506 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR) + SMP_RAND_CMD_SIZE + in smp_build_rand_cmd() local 531 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR) + SMP_ENC_INFO_SIZE + in smp_build_encrypt_info_cmd() local 556 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR) + SMP_MASTER_ID_SIZE + in smp_build_master_id_cmd() local 582 BT_HDR* p_buf = in smp_build_identity_info_cmd() local 610 BT_HDR* p_buf = in smp_build_id_addr_cmd() local 636 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR) + SMP_SIGN_INFO_SIZE + in smp_build_signing_info_cmd() local [all …]
|
/system/bt/stack/bnep/ |
D | bnep_utils.cc | 168 BT_HDR* p_buf = (BT_HDR*)osi_malloc(BNEP_BUF_SIZE); in bnep_send_conn_req() local 220 BT_HDR* p_buf = (BT_HDR*)osi_malloc(BNEP_BUF_SIZE); in bnep_send_conn_responce() local 252 BT_HDR* p_buf = (BT_HDR*)osi_malloc(BNEP_BUF_SIZE); in bnepu_send_peer_our_filters() local 294 BT_HDR* p_buf = (BT_HDR*)osi_malloc(BNEP_BUF_SIZE); in bnepu_send_peer_our_multi_filters() local 338 BT_HDR* p_buf = (BT_HDR*)osi_malloc(BNEP_BUF_SIZE); in bnepu_send_peer_filter_rsp() local 369 BT_HDR* p_buf = (BT_HDR*)osi_malloc(BNEP_BUF_SIZE); in bnep_send_command_not_understood() local 403 void bnepu_check_send_packet(tBNEP_CONN* p_bcb, BT_HDR* p_buf) { in bnepu_check_send_packet() 431 void bnepu_build_bnep_hdr(tBNEP_CONN* p_bcb, BT_HDR* p_buf, uint16_t protocol, in bnepu_build_bnep_hdr() 498 static uint8_t* bnepu_init_hdr(BT_HDR* p_buf, uint16_t hdr_len, in bnepu_init_hdr() 1128 BT_HDR* p_buf = (BT_HDR*)osi_malloc(BNEP_BUF_SIZE); in bnepu_send_peer_multicast_filter_rsp() local
|
/system/nfc/src/gki/common/ |
D | gki_buffer.cc | 397 void GKI_freebuf(void* p_buf) { in GKI_freebuf() 453 uint16_t GKI_get_buf_size(void* p_buf) { in GKI_get_buf_size() 476 bool gki_chk_buf_damage(void* p_buf) { in gki_chk_buf_damage() 564 void* p_buf = nullptr; in GKI_read_mbox() local 598 void GKI_enqueue(BUFFER_Q* p_q, void* p_buf) { in GKI_enqueue() 649 void GKI_enqueue_head(BUFFER_Q* p_q, void* p_buf) { in GKI_enqueue_head() 740 void* GKI_remove_from_queue(BUFFER_Q* p_q, void* p_buf) { in GKI_remove_from_queue() 817 void* GKI_getnext(void* p_buf) { in GKI_getnext() 1029 void GKI_change_buf_owner(void* p_buf, uint8_t task_id) { in GKI_change_buf_owner()
|
/system/bt/btif/src/ |
D | btif_a2dp_sink.cc | 389 tBTIF_MEDIA_SINK_DECODER_UPDATE* p_buf = in btif_a2dp_sink_update_decoder() local 406 BT_HDR* p_buf = reinterpret_cast<BT_HDR*>(osi_malloc(sizeof(BT_HDR))); in btif_a2dp_sink_on_idle() local 418 BT_HDR* p_buf = reinterpret_cast<BT_HDR*>(osi_malloc(sizeof(BT_HDR))); in btif_a2dp_sink_on_stopped() local 429 BT_HDR* p_buf = reinterpret_cast<BT_HDR*>(osi_malloc(sizeof(BT_HDR))); in btif_a2dp_sink_on_suspended() local 441 BT_HDR* p_buf = reinterpret_cast<BT_HDR*>(osi_malloc(sizeof(BT_HDR))); in btif_a2dp_sink_on_start() local 584 tBTIF_MEDIA_SINK_DECODER_UPDATE* p_buf) { in btif_a2dp_sink_decoder_update_event() 684 BT_HDR* p_buf = reinterpret_cast<BT_HDR*>(osi_malloc(sizeof(BT_HDR))); in btif_a2dp_sink_audio_rx_flush_req() local 696 tBTIF_MEDIA_SINK_FOCUS_UPDATE* p_buf = in btif_a2dp_sink_set_focus_state_req() local 731 BT_HDR* p_buf = reinterpret_cast<BT_HDR*>(osi_malloc(sizeof(BT_HDR))); in btif_a2dp_sink_clear_track_event_req() local
|
/system/bt/stack/avrc/ |
D | avrc_opt.cc | 181 BT_HDR* p_buf = avrc_vendor_msg(p_msg); in AVRC_VendorCmd() local 216 BT_HDR* p_buf = avrc_vendor_msg(p_msg); in AVRC_VendorRsp() local
|
D | avrc_pars_tg.cc | 97 tAVRC_COMMAND* p_result, uint8_t* p_buf, in avrc_pars_vendor_cmd() 412 tAVRC_COMMAND* p_result, uint8_t* p_buf, in avrc_pars_browsing_cmd() 583 uint8_t* p_buf, uint16_t buf_len) { in AVRC_ParsCommand()
|
/system/bt/audio_hal_interface/ |
D | hearing_aid_software_encoding.cc | 61 uint8_t p_buf[AUDIO_STREAM_OUTPUT_BUFFER_SZ * 2]; in SuspendRequest() local 73 uint8_t p_buf[AUDIO_STREAM_OUTPUT_BUFFER_SZ * 2]; in StopRequest() local 235 size_t read(uint8_t* p_buf, uint32_t len) { in read()
|
/system/bt/bta/mce/ |
D | bta_mce_api.cc | 69 tBTA_MCE_API_ENABLE* p_buf = in BTA_MceEnable() local
|
/system/bt/stack/avct/ |
D | avct_lcb_act.cc | 51 static BT_HDR* avct_lcb_msg_asmbl(tAVCT_LCB* p_lcb, BT_HDR* p_buf) { in avct_lcb_msg_asmbl() 423 BT_HDR* p_buf; in avct_lcb_cong_ind() local 495 BT_HDR* p_buf; in avct_lcb_send_msg() local 635 BT_HDR* p_buf = (BT_HDR*)osi_malloc(AVCT_CMD_BUF_SIZE); in avct_lcb_msg_ind() local
|