Home
last modified time | relevance | path

Searched refs:bta_av_cb (Results 1 – 4 of 4) sorted by relevance

/system/bt/bta/av/
Dbta_av_main.cc206 tBTA_AV_CB bta_av_cb = {}; variable
221 if (bta_av_cb.disabling) { in bta_av_api_enable()
224 __func__, bta_av_cb.reg_audio, bta_av_cb.enabling_attempts); in bta_av_api_enable()
225 if (++bta_av_cb.enabling_attempts <= kEnablingAttemptsCountMaximum) { in bta_av_api_enable()
233 if (bta_av_cb.sdp_a2dp_handle) { in bta_av_api_enable()
234 SDP_DeleteRecord(bta_av_cb.sdp_a2dp_handle); in bta_av_api_enable()
238 if (bta_av_cb.sdp_a2dp_snk_handle) { in bta_av_api_enable()
239 SDP_DeleteRecord(bta_av_cb.sdp_a2dp_snk_handle); in bta_av_api_enable()
255 memset(&bta_av_cb, 0, sizeof(tBTA_AV_CB)); in bta_av_api_enable()
258 bta_av_cb.rcb[i].handle = BTA_AV_RC_HANDLE_NONE; in bta_av_api_enable()
[all …]
Dbta_av_act.cc83 if (bta_av_cb.rcb[i].shdl == shdl && in bta_av_get_rcb_by_shdl()
84 bta_av_cb.rcb[i].handle != BTA_AV_RC_HANDLE_NONE) { in bta_av_get_rcb_by_shdl()
85 p_rcb = &bta_av_cb.rcb[i]; in bta_av_get_rcb_by_shdl()
111 p_scb = bta_av_cb.p_scb[p_rcb->shdl - 1]; in bta_av_del_rc()
127 bta_av_cb.rc_acp_handle, bta_av_cb.rc_acp_idx); in bta_av_del_rc()
138 if (rc_handle == bta_av_cb.rc_acp_handle) in bta_av_del_rc()
139 bta_av_cb.rc_acp_handle = BTA_AV_RC_HANDLE_NONE; in bta_av_del_rc()
142 __func__, p_rcb->handle, p_rcb->status, bta_av_cb.rc_acp_handle, in bta_av_del_rc()
160 if ((p_cb->disabling) || (bta_av_cb.rcb[i].shdl != 0)) in bta_av_close_all_rc()
161 bta_av_del_rc(&bta_av_cb.rcb[i]); in bta_av_close_all_rc()
[all …]
Dbta_av_aact.cc309 (*bta_av_cb.p_cback)(BTA_AV_START_EVT, &bta_av_data); in notify_start_failed()
401 tBTA_AV_SCB* p_scb = bta_av_cb.p_scb[scb_index]; in bta_av_proc_stream_evt()
515 p_scb = bta_av_cb.p_scb[index]; in bta_av_sink_data_cback()
552 p_scb = bta_av_hndl_to_scb(bta_av_cb.handle); in bta_av_a2dp_sdp_cback()
556 bta_av_cb.handle); in bta_av_a2dp_sdp_cback()
559 if (bta_av_cb.handle != p_scb->hndl) { in bta_av_a2dp_sdp_cback()
561 __func__, bta_av_cb.handle, p_scb->hndl); in bta_av_a2dp_sdp_cback()
668 if (bta_av_cb.rs_idx == (p_scb->hdi + 1)) { in bta_av_switch_role()
669 bta_av_cb.rs_idx = 0; in bta_av_switch_role()
701 bta_sys_idle(BTA_ID_AV, bta_av_cb.audio_open_cnt, p_scb->PeerAddress()); in bta_av_role_res()
[all …]
Dbta_av_int.h651 extern tBTA_AV_CB bta_av_cb;