Home
last modified time | relevance | path

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

12

/system/bt/stack/avct/
Davct_bcb_act.cc77 osi_free_and_reset((void**)&p_buf); in avct_bcb_msg_asmbl()
88 osi_free_and_reset((void**)&p_buf); in avct_bcb_msg_asmbl()
409 osi_free_and_reset((void**)&p_bcb->p_tx_msg); in avct_bcb_discard_msg()
413 osi_free_and_reset((void**)&p_data->ul_msg.p_buf); in avct_bcb_discard_msg()
455 osi_free_and_reset((void**)&p_data->ul_msg.p_buf); in avct_bcb_send_msg()
490 if (p_data) osi_free_and_reset((void**)&p_data->p_buf); in avct_bcb_free_msg_ind()
530 osi_free_and_reset((void**)&p_data->p_buf); in avct_bcb_msg_ind()
543 osi_free_and_reset((void**)&p_data->p_buf); in avct_bcb_msg_ind()
561 osi_free_and_reset((void**)&p_data->p_buf); in avct_bcb_msg_ind()
601 osi_free_and_reset((void**)&p_bcb->p_tx_msg); in avct_bcb_dealloc()
Davct_lcb_act.cc81 osi_free_and_reset((void**)&p_lcb->p_rx_msg); in avct_lcb_msg_asmbl()
141 osi_free_and_reset((void**)&p_lcb->p_rx_msg); in avct_lcb_msg_asmbl()
457 osi_free_and_reset((void**)&p_data->ul_msg.p_buf); in avct_lcb_discard_msg()
573 osi_free_and_reset((void**)&p_data->p_buf); in avct_lcb_free_msg_ind()
612 osi_free_and_reset((void**)&p_data->p_buf); in avct_lcb_msg_ind()
630 osi_free_and_reset((void**)&p_data->p_buf); in avct_lcb_msg_ind()
/system/bt/btif/src/
Dbtif_gatt_util.cc99 osi_free_and_reset((void**)&p_src->p_adv_pkt_data); in btif_gatt_move_track_adv_data()
106 osi_free_and_reset((void**)&p_src->p_scan_rsp_data); in btif_gatt_move_track_adv_data()
Dbtif_rc.cc909 osi_free_and_reset((void**)&p_remote_rsp->p_data); in handle_rc_vendorunique_rsp()
2627 osi_free_and_reset((void**)&p_msg); in set_volume()
3584 osi_free_and_reset((void**)&p_rsp->p_vals); in handle_app_cur_val_response()
3610 osi_free_and_reset((void**)&p_rsp->p_vals); in handle_app_cur_val_response()
3651 osi_free_and_reset((void**)&p_app_settings->ext_attrs[xx].p_str); in handle_app_attr_txt_response()
3731 osi_free_and_reset((void**)&p_ext_attr->ext_attr_val[x].p_str); in handle_app_attr_val_txt_response()
3733 osi_free_and_reset((void**)&p_app_settings->ext_attrs[xx].p_str); in handle_app_attr_val_txt_response()
3810 osi_free_and_reset((void**)&p_ext_attr->ext_attr_val[x].p_str); in cleanup_app_attr_val_txt_response()
3813 osi_free_and_reset((void**)&p_app_settings->ext_attrs[xx].p_str); in cleanup_app_attr_val_txt_response()
3880 osi_free_and_reset((void**)&p_rsp->p_attrs[i].name.p_str); in handle_get_metadata_attr_response()
[all …]
Dbtif_gatt_server.cc119 if (p_data != NULL) osi_free_and_reset((void**)&p_data->req_data.p_data); in btapp_gatts_free_req_data()
/system/bt/bta/hh/
Dbta_hh_utils.cc129 osi_free_and_reset((void**)&p_cb->dscp_info.descriptor.dsc_list); in bta_hh_clean_up_kdev()
189 osi_free_and_reset((void**)&p_cb->dscp_info.descriptor.dsc_list); in bta_hh_add_device_to_list()
305 osi_free_and_reset( in bta_hh_cleanup_disable()
312 osi_free_and_reset((void**)&bta_hh_cb.p_disc_db); in bta_hh_cleanup_disable()
Dbta_hh_act.cc232 osi_free_and_reset((void**)&bta_hh_cb.p_disc_db); in bta_hh_sdp_cback()
289 osi_free_and_reset((void**)&bta_hh_cb.p_disc_db); in bta_hh_di_sdp_cback()
357 osi_free_and_reset((void**)&bta_hh_cb.p_disc_db); in bta_hh_start_sdp()
622 osi_free_and_reset((void**)&pdata); in bta_hh_data_act()
716 osi_free_and_reset((void**)&pdata); in bta_hh_ctrl_dat_act()
761 osi_free_and_reset((void**)&pdata); in bta_hh_ctrl_dat_act()
1133 osi_free_and_reset((void**)&pdata); in bta_hh_cback()
Dbta_hh_main.cc226 osi_free_and_reset((void**)&p_data->api_sndcmd.p_data); in bta_hh_sm_execute()
262 osi_free_and_reset((void**)&p_data->hid_cback.p_data); in bta_hh_sm_execute()
/system/bt/osi/include/
Dallocator.h48 void osi_free_and_reset(void** p_ptr);
/system/bt/stack/avdt/
Davdt_scb_act.cc274 osi_free_and_reset((void**)&p_data->p_pkt); in avdt_scb_hdl_pkt_no_frag()
288 osi_free_and_reset((void**)&p_data->p_pkt); in avdt_scb_hdl_pkt_no_frag()
296 osi_free_and_reset((void**)&p_data->p_pkt); in avdt_scb_hdl_pkt_no_frag()
436 osi_free_and_reset((void**)&p_data->p_pkt); in avdt_scb_hdl_pkt()
454 osi_free_and_reset((void**)&p_data->p_pkt); in avdt_scb_drop_pkt()
811 osi_free_and_reset((void**)&p_scb->p_pkt); in avdt_scb_hdl_tc_close()
1007 osi_free_and_reset((void**)&p_scb->p_pkt); in avdt_scb_hdl_write_req()
1109 osi_free_and_reset((void**)&p_scb->p_pkt); in avdt_scb_snd_stream_close()
1503 osi_free_and_reset((void**)&p_data->apiwrite.p_buf); in avdt_scb_free_pkt()
1542 osi_free_and_reset((void**)&p_scb->p_pkt); in avdt_scb_clr_pkt()
Davdt_ccb_act.cc58 osi_free_and_reset((void**)&p_ccb->p_curr_msg); in avdt_ccb_clear_ccb()
61 osi_free_and_reset((void**)&p_ccb->p_rx_msg); in avdt_ccb_clear_ccb()
716 osi_free_and_reset((void**)&p_ccb->p_curr_cmd); in avdt_ccb_cmd_fail()
732 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/test/fuzzers/allocator/
Dfuzz_allocator.cc66 osi_free_and_reset(&ptr); in callArbitraryFunction()
/system/bt/osi/src/
Dallocator.cc76 void osi_free_and_reset(void** p_ptr) { in osi_free_and_reset() function
/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.cc288 osi_free_and_reset((void**)&client_cb->p_disc_db); in bta_hf_client_rfc_do_close()
/system/bt/bta/ag/
Dbta_ag_at.cc68 osi_free_and_reset((void**)&p_cb->p_cmd_buf); in bta_ag_at_reinit()
Dbta_ag_sdp.cc516 osi_free_and_reset((void**)&p_scb->p_disc_db); in bta_ag_free_db()
/system/bt/stack/avrc/
Davrc_api.cc422 osi_free_and_reset((void**)&p_fcb->p_fmsg); in avrc_proc_vendor_command()
481 osi_free_and_reset((void**)&p_rcb->p_rmsg); in avrc_proc_far_msg()
577 osi_free_and_reset((void**)pp_pkt); in avrc_proc_far_msg()
1211 osi_free_and_reset((void**)&p_fcb->p_fmsg); in AVRC_MsgReq()
Davrc_pars_ct.cc699 osi_free_and_reset((void**)&p_result->get_app_attr_txt.p_attrs); in avrc_ctrl_pars_vendor_rsp()
712 osi_free_and_reset((void**)&p_result->get_app_attr_txt.p_attrs); in avrc_ctrl_pars_vendor_rsp()
752 osi_free_and_reset((void**)&p_result->get_app_val_txt.p_attrs); in avrc_ctrl_pars_vendor_rsp()
764 osi_free_and_reset((void**)&p_result->get_app_val_txt.p_attrs); in avrc_ctrl_pars_vendor_rsp()
/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.cc761 if (p_q_cmd != p_clcb->p_q_cmd) osi_free_and_reset((void**)&p_q_cmd); in bta_gattc_disc_cmpl()
900 osi_free_and_reset((void**)&p_clcb->p_q_cmd); in bta_gattc_read_cmpl()
915 osi_free_and_reset((void**)&p_clcb->p_q_cmd); in bta_gattc_write_cmpl()
928 osi_free_and_reset((void**)&p_clcb->p_q_cmd); in bta_gattc_exec_cmpl()
945 osi_free_and_reset((void**)&p_clcb->p_q_cmd); in bta_gattc_cfg_mtu_cmpl()
Dbta_gattc_utils.cc218 osi_free_and_reset((void**)&p_clcb->p_q_cmd); in bta_gattc_clcb_dealloc()
/system/bt/bta/av/
Dbta_av_act.cc679 if (do_free) osi_free_and_reset((void**)&p_data->api_meta_rsp.p_pkt); in bta_av_rc_meta_rsp()
692 osi_free_and_reset((void**)&p_data->api_meta_rsp.p_pkt); in bta_av_rc_free_rsp()
707 osi_free_and_reset((void**)&p_data->rc_msg.msg.browse.p_browse_pkt); in bta_av_rc_free_browse_msg()
1302 osi_free_and_reset((void**)&p_cb->p_disc_db); in bta_av_disable()
1961 osi_free_and_reset((void**)&p_cb->p_disc_db); in bta_av_rc_disc_done()
/system/bt/stack/bnep/
Dbnep_api.cc268 osi_free_and_reset((void**)&p_bcb->p_pending_data); in BNEP_ConnectResp()

12