Home
last modified time | relevance | path

Searched refs:osi_free_and_reset (Results 1 – 25 of 42) 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/stack/mcap/
Dmca_cact.cc109 osi_free_and_reset((void**)&p_ccb->p_tx_req); in mca_ccb_snd_req()
181 osi_free_and_reset((void**)&p_ccb->p_tx_req); in mca_ccb_snd_rsp()
188 osi_free_and_reset((void**)&p_ccb->p_rx_msg); in mca_ccb_snd_rsp()
277 osi_free_and_reset((void**)&p_ccb->p_tx_req); in mca_ccb_hdl_req()
299 osi_free_and_reset((void**)&p_ccb->p_tx_req); in mca_ccb_hdl_req()
520 osi_free_and_reset((void**)&p_ccb->p_tx_req); in mca_ccb_hdl_rsp()
560 osi_free_and_reset((void**)&p_ccb->p_tx_req); in mca_ccb_dl_open()
561 osi_free_and_reset((void**)&p_ccb->p_rx_msg); in mca_ccb_dl_open()
/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.cc849 osi_free_and_reset((void**)&p_remote_rsp->p_data); in handle_rc_vendorunique_rsp()
2556 osi_free_and_reset((void**)&p_msg); in set_volume()
3469 osi_free_and_reset((void**)&p_rsp->p_vals); in handle_app_cur_val_response()
3495 osi_free_and_reset((void**)&p_rsp->p_vals); in handle_app_cur_val_response()
3536 osi_free_and_reset((void**)&p_app_settings->ext_attrs[xx].p_str); in handle_app_attr_txt_response()
3616 osi_free_and_reset((void**)&p_ext_attr->ext_attr_val[x].p_str); in handle_app_attr_val_txt_response()
3618 osi_free_and_reset((void**)&p_app_settings->ext_attrs[xx].p_str); in handle_app_attr_val_txt_response()
3695 osi_free_and_reset((void**)&p_ext_attr->ext_attr_val[x].p_str); in cleanup_app_attr_val_txt_response()
3698 osi_free_and_reset((void**)&p_app_settings->ext_attrs[xx].p_str); in cleanup_app_attr_val_txt_response()
3765 osi_free_and_reset((void**)&p_rsp->p_attrs[i].name.p_str); in handle_get_elem_attr_response()
[all …]
/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()
629 osi_free_and_reset((void**)&pdata); in bta_hh_data_act()
729 osi_free_and_reset((void**)&pdata); in bta_hh_ctrl_dat_act()
778 osi_free_and_reset((void**)&pdata); in bta_hh_ctrl_dat_act()
1153 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.cc1224 osi_free_and_reset((void**)&p_ccb->p_rx_msg); in avdt_msg_asmbl()
1234 osi_free_and_reset((void**)&p_ccb->p_rx_msg); in avdt_msg_asmbl()
1284 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/bta/hf_client/
Dbta_hf_client_sdp.cc335 osi_free_and_reset((void**)&client_cb->p_disc_db); in bta_hf_client_do_disc()
363 osi_free_and_reset((void**)&client_cb->p_disc_db); in bta_hf_client_free_db()
Dbta_hf_client_rfc.cc290 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.cc668 osi_free_and_reset((void**)&p_result->get_app_attr_txt.p_attrs); in avrc_ctrl_pars_vendor_rsp()
681 osi_free_and_reset((void**)&p_result->get_app_attr_txt.p_attrs); in avrc_ctrl_pars_vendor_rsp()
721 osi_free_and_reset((void**)&p_result->get_app_val_txt.p_attrs); in avrc_ctrl_pars_vendor_rsp()
733 osi_free_and_reset((void**)&p_result->get_app_val_txt.p_attrs); in avrc_ctrl_pars_vendor_rsp()
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()
1178 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.cc723 if (p_q_cmd != p_clcb->p_q_cmd) osi_free_and_reset((void**)&p_q_cmd); in bta_gattc_disc_cmpl()
860 osi_free_and_reset((void**)&p_clcb->p_q_cmd); in bta_gattc_read_cmpl()
874 osi_free_and_reset((void**)&p_clcb->p_q_cmd); in bta_gattc_write_cmpl()
886 osi_free_and_reset((void**)&p_clcb->p_q_cmd); in bta_gattc_exec_cmpl()
901 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.cc682 if (do_free) osi_free_and_reset((void**)&p_data->api_meta_rsp.p_pkt); in bta_av_rc_meta_rsp()
695 osi_free_and_reset((void**)&p_data->api_meta_rsp.p_pkt); in bta_av_rc_free_rsp()
710 osi_free_and_reset((void**)&p_data->rc_msg.msg.browse.p_browse_pkt); in bta_av_rc_free_browse_msg()
1310 osi_free_and_reset((void**)&p_cb->p_disc_db); in bta_av_disable()
1834 osi_free_and_reset((void**)&p_cb->p_disc_db); in bta_av_rc_disc_done()
/system/bt/bta/dm/
Dbta_dm_act.cc993 osi_free_and_reset((void**)&bta_dm_search_cb.p_srvc_uuid); in bta_dm_search_start()
1077 osi_free_and_reset((void**)&bta_dm_search_cb.p_srvc_uuid); in bta_dm_discover()
1535 osi_free_and_reset((void**)&bta_dm_search_cb.p_sdp_db); in bta_dm_sdp_result()
1564 osi_free_and_reset((void**)&bta_dm_search_cb.p_srvc_uuid); in bta_dm_search_cmpl()
1664 osi_free_and_reset((void**)&bta_dm_search_cb.p_sdp_db); in bta_dm_free_sdp_db()
1709 osi_free_and_reset((void**)&bta_dm_search_cb.p_search_queue); in bta_dm_search_clear_queue()
1739 osi_free_and_reset((void**)&bta_dm_search_cb.p_sdp_db); in bta_dm_search_cancel_transac_cmpl()
1846 osi_free_and_reset((void**)&bta_dm_search_cb.p_sdp_db); in bta_dm_find_services()

12