/system/bt/stack/avct/ |
D | avct_bcb_act.cc | 73 osi_free_and_reset((void**)&p_buf); in avct_bcb_msg_asmbl() 84 osi_free_and_reset((void**)&p_buf); in avct_bcb_msg_asmbl() 412 osi_free_and_reset((void**)&p_bcb->p_tx_msg); in avct_bcb_discard_msg() 416 osi_free_and_reset((void**)&p_data->ul_msg.p_buf); in avct_bcb_discard_msg() 458 osi_free_and_reset((void**)&p_data->ul_msg.p_buf); in avct_bcb_send_msg() 493 if (p_data) osi_free_and_reset((void**)&p_data->p_buf); in avct_bcb_free_msg_ind() 533 osi_free_and_reset((void**)&p_data->p_buf); in avct_bcb_msg_ind() 546 osi_free_and_reset((void**)&p_data->p_buf); in avct_bcb_msg_ind() 564 osi_free_and_reset((void**)&p_data->p_buf); in avct_bcb_msg_ind() 604 osi_free_and_reset((void**)&p_bcb->p_tx_msg); in avct_bcb_dealloc()
|
D | avct_lcb_act.cc | 78 osi_free_and_reset((void**)&p_lcb->p_rx_msg); in avct_lcb_msg_asmbl() 138 osi_free_and_reset((void**)&p_lcb->p_rx_msg); in avct_lcb_msg_asmbl() 458 osi_free_and_reset((void**)&p_data->ul_msg.p_buf); in avct_lcb_discard_msg() 574 osi_free_and_reset((void**)&p_data->p_buf); in avct_lcb_free_msg_ind() 613 osi_free_and_reset((void**)&p_data->p_buf); in avct_lcb_msg_ind() 631 osi_free_and_reset((void**)&p_data->p_buf); in avct_lcb_msg_ind()
|
/system/bt/btif/src/ |
D | btif_gatt_util.cc | 102 osi_free_and_reset((void**)&p_src->p_adv_pkt_data); in btif_gatt_move_track_adv_data() 109 osi_free_and_reset((void**)&p_src->p_scan_rsp_data); in btif_gatt_move_track_adv_data()
|
D | btif_rc.cc | 910 osi_free_and_reset((void**)&p_remote_rsp->p_data); in handle_rc_vendorunique_rsp() 2637 osi_free_and_reset((void**)&p_msg); in set_volume() 3589 osi_free_and_reset((void**)&p_rsp->p_vals); in handle_app_cur_val_response() 3615 osi_free_and_reset((void**)&p_rsp->p_vals); in handle_app_cur_val_response() 3656 osi_free_and_reset((void**)&p_app_settings->ext_attrs[xx].p_str); in handle_app_attr_txt_response() 3736 osi_free_and_reset((void**)&p_ext_attr->ext_attr_val[x].p_str); in handle_app_attr_val_txt_response() 3738 osi_free_and_reset((void**)&p_app_settings->ext_attrs[xx].p_str); in handle_app_attr_val_txt_response() 3815 osi_free_and_reset((void**)&p_ext_attr->ext_attr_val[x].p_str); in cleanup_app_attr_val_txt_response() 3818 osi_free_and_reset((void**)&p_app_settings->ext_attrs[xx].p_str); in cleanup_app_attr_val_txt_response() 3885 osi_free_and_reset((void**)&p_rsp->p_attrs[i].name.p_str); in handle_get_metadata_attr_response() [all …]
|
D | btif_gatt_server.cc | 118 if (p_data != NULL) osi_free_and_reset((void**)&p_data->req_data.p_data); in btapp_gatts_free_req_data()
|
/system/bt/osi/include/ |
D | allocator.h | 48 void osi_free_and_reset(void** p_ptr);
|
/system/bt/bta/hh/ |
D | bta_hh_utils.cc | 125 osi_free_and_reset((void**)&p_cb->dscp_info.descriptor.dsc_list); in bta_hh_clean_up_kdev() 191 osi_free_and_reset((void**)&p_cb->dscp_info.descriptor.dsc_list); in bta_hh_add_device_to_list() 441 osi_free_and_reset( in bta_hh_cleanup_disable() 448 osi_free_and_reset((void**)&bta_hh_cb.p_disc_db); in bta_hh_cleanup_disable()
|
D | bta_hh_act.cc | 229 osi_free_and_reset((void**)&bta_hh_cb.p_disc_db); in bta_hh_sdp_cback() 290 osi_free_and_reset((void**)&bta_hh_cb.p_disc_db); in bta_hh_di_sdp_cback() 364 osi_free_and_reset((void**)&bta_hh_cb.p_disc_db); in bta_hh_start_sdp() 631 osi_free_and_reset((void**)&pdata); in bta_hh_data_act() 731 osi_free_and_reset((void**)&pdata); in bta_hh_ctrl_dat_act() 780 osi_free_and_reset((void**)&pdata); in bta_hh_ctrl_dat_act() 1155 osi_free_and_reset((void**)&pdata); in bta_hh_cback()
|
D | bta_hh_main.cc | 273 osi_free_and_reset((void**)&p_data->api_sndcmd.p_data); in bta_hh_sm_execute() 309 osi_free_and_reset((void**)&p_data->hid_cback.p_data); in bta_hh_sm_execute()
|
/system/bt/stack/avdt/ |
D | avdt_scb_act.cc | 272 osi_free_and_reset((void**)&p_data->p_pkt); in avdt_scb_hdl_pkt_no_frag() 286 osi_free_and_reset((void**)&p_data->p_pkt); in avdt_scb_hdl_pkt_no_frag() 294 osi_free_and_reset((void**)&p_data->p_pkt); in avdt_scb_hdl_pkt_no_frag() 434 osi_free_and_reset((void**)&p_data->p_pkt); in avdt_scb_hdl_pkt() 452 osi_free_and_reset((void**)&p_data->p_pkt); in avdt_scb_drop_pkt() 775 osi_free_and_reset((void**)&p_scb->p_pkt); in avdt_scb_hdl_tc_close() 969 osi_free_and_reset((void**)&p_scb->p_pkt); in avdt_scb_hdl_write_req() 1071 osi_free_and_reset((void**)&p_scb->p_pkt); in avdt_scb_snd_stream_close() 1465 osi_free_and_reset((void**)&p_data->apiwrite.p_buf); in avdt_scb_free_pkt() 1504 osi_free_and_reset((void**)&p_scb->p_pkt); in avdt_scb_clr_pkt()
|
D | avdt_ccb_act.cc | 57 osi_free_and_reset((void**)&p_ccb->p_curr_msg); in avdt_ccb_clear_ccb() 60 osi_free_and_reset((void**)&p_ccb->p_rx_msg); in avdt_ccb_clear_ccb() 710 osi_free_and_reset((void**)&p_ccb->p_curr_cmd); in avdt_ccb_cmd_fail() 726 osi_free_and_reset((void**)&p_ccb->p_curr_cmd); in avdt_ccb_free_cmd()
|
D | avdt_msg.cc | 1236 osi_free_and_reset((void**)&p_ccb->p_rx_msg); in avdt_msg_asmbl() 1246 osi_free_and_reset((void**)&p_ccb->p_rx_msg); in avdt_msg_asmbl() 1296 osi_free_and_reset((void**)&p_ccb->p_rx_msg); in avdt_msg_asmbl()
|
/system/bt/osi/src/ |
D | allocator.cc | 76 void osi_free_and_reset(void** p_ptr) { in osi_free_and_reset() function
|
/system/bt/osi/test/fuzzers/allocator/ |
D | fuzz_allocator.cc | 66 osi_free_and_reset(&ptr); in callArbitraryFunction()
|
/system/bt/bta/hf_client/ |
D | bta_hf_client_sdp.cc | 339 osi_free_and_reset((void**)&client_cb->p_disc_db); in bta_hf_client_do_disc() 367 osi_free_and_reset((void**)&client_cb->p_disc_db); in bta_hf_client_free_db()
|
D | bta_hf_client_rfc.cc | 295 osi_free_and_reset((void**)&client_cb->p_disc_db); in bta_hf_client_rfc_do_close()
|
/system/bt/stack/btm/ |
D | btm_ble_privacy.cc | 926 osi_free_and_reset((void**)&p_q->resolve_q_random_pseudo); in btm_ble_resolving_list_cleanup() 927 osi_free_and_reset((void**)&p_q->resolve_q_action); in btm_ble_resolving_list_cleanup() 931 osi_free_and_reset((void**)&btm_cb.ble_ctr_cb.irk_list_mask); in btm_ble_resolving_list_cleanup()
|
/system/bt/bta/ag/ |
D | bta_ag_at.cc | 64 osi_free_and_reset((void**)&p_cb->p_cmd_buf); in bta_ag_at_reinit()
|
D | bta_ag_sdp.cc | 513 osi_free_and_reset((void**)&p_scb->p_disc_db); in bta_ag_free_db()
|
/system/bt/stack/avrc/ |
D | avrc_pars_ct.cc | 692 osi_free_and_reset((void**)&p_result->get_app_attr_txt.p_attrs); in avrc_ctrl_pars_vendor_rsp() 705 osi_free_and_reset((void**)&p_result->get_app_attr_txt.p_attrs); in avrc_ctrl_pars_vendor_rsp() 745 osi_free_and_reset((void**)&p_result->get_app_val_txt.p_attrs); in avrc_ctrl_pars_vendor_rsp() 757 osi_free_and_reset((void**)&p_result->get_app_val_txt.p_attrs); in avrc_ctrl_pars_vendor_rsp()
|
D | avrc_api.cc | 423 osi_free_and_reset((void**)&p_fcb->p_fmsg); in avrc_proc_vendor_command() 482 osi_free_and_reset((void**)&p_rcb->p_rmsg); in avrc_proc_far_msg() 578 osi_free_and_reset((void**)pp_pkt); in avrc_proc_far_msg() 1184 osi_free_and_reset((void**)&p_fcb->p_fmsg); in AVRC_MsgReq()
|
/system/bt/stack/a2dp/ |
D | a2dp_api.cc | 120 osi_free_and_reset((void**)&a2dp_cb.find.p_db); in a2dp_sdp_cback()
|
/system/bt/bta/gatt/ |
D | bta_gattc_act.cc | 721 if (p_q_cmd != p_clcb->p_q_cmd) osi_free_and_reset((void**)&p_q_cmd); in bta_gattc_disc_cmpl() 858 osi_free_and_reset((void**)&p_clcb->p_q_cmd); in bta_gattc_read_cmpl() 872 osi_free_and_reset((void**)&p_clcb->p_q_cmd); in bta_gattc_write_cmpl() 884 osi_free_and_reset((void**)&p_clcb->p_q_cmd); in bta_gattc_exec_cmpl() 899 osi_free_and_reset((void**)&p_clcb->p_q_cmd); in bta_gattc_cfg_mtu_cmpl()
|
/system/bt/bta/sys/ |
D | bta_sys_main.cc | 261 osi_free_and_reset((void**)&sys_event); in bta_sys_hw_btm_cback()
|
/system/bt/bta/av/ |
D | bta_av_act.cc | 685 if (do_free) osi_free_and_reset((void**)&p_data->api_meta_rsp.p_pkt); in bta_av_rc_meta_rsp() 698 osi_free_and_reset((void**)&p_data->api_meta_rsp.p_pkt); in bta_av_rc_free_rsp() 713 osi_free_and_reset((void**)&p_data->rc_msg.msg.browse.p_browse_pkt); in bta_av_rc_free_browse_msg() 1314 osi_free_and_reset((void**)&p_cb->p_disc_db); in bta_av_disable() 1958 osi_free_and_reset((void**)&p_cb->p_disc_db); in bta_av_rc_disc_done()
|