Home
last modified time | relevance | path

Searched refs:osi_free_and_reset (Results 1 – 25 of 41) sorted by relevance

12

/system/bt/stack/avct/
Davct_bcb_act.cc73 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()
Davct_lcb_act.cc78 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/
Dbtif_gatt_util.cc102 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()
Dbtif_rc.cc910 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 …]
Dbtif_gatt_server.cc118 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/
Dallocator.h48 void osi_free_and_reset(void** p_ptr);
/system/bt/bta/hh/
Dbta_hh_utils.cc125 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()
Dbta_hh_act.cc229 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()
Dbta_hh_main.cc273 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/
Davdt_scb_act.cc272 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()
Davdt_ccb_act.cc57 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()
Davdt_msg.cc1236 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/
Dallocator.cc76 void osi_free_and_reset(void** p_ptr) { in osi_free_and_reset() function
/system/bt/osi/test/fuzzers/allocator/
Dfuzz_allocator.cc66 osi_free_and_reset(&ptr); in callArbitraryFunction()
/system/bt/bta/hf_client/
Dbta_hf_client_sdp.cc339 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()
Dbta_hf_client_rfc.cc295 osi_free_and_reset((void**)&client_cb->p_disc_db); in bta_hf_client_rfc_do_close()
/system/bt/stack/btm/
Dbtm_ble_privacy.cc926 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/
Dbta_ag_at.cc64 osi_free_and_reset((void**)&p_cb->p_cmd_buf); in bta_ag_at_reinit()
Dbta_ag_sdp.cc513 osi_free_and_reset((void**)&p_scb->p_disc_db); in bta_ag_free_db()
/system/bt/stack/avrc/
Davrc_pars_ct.cc692 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()
Davrc_api.cc423 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/
Da2dp_api.cc120 osi_free_and_reset((void**)&a2dp_cb.find.p_db); in a2dp_sdp_cback()
/system/bt/bta/gatt/
Dbta_gattc_act.cc721 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/
Dbta_sys_main.cc261 osi_free_and_reset((void**)&sys_event); in bta_sys_hw_btm_cback()
/system/bt/bta/av/
Dbta_av_act.cc685 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()

12