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.cc109 tBTA_AV_CB bta_av_cb = {}; variable
124 if (bta_av_cb.disabling) { in bta_av_api_enable()
127 __func__, bta_av_cb.reg_audio, bta_av_cb.enabling_attempts); in bta_av_api_enable()
128 if (++bta_av_cb.enabling_attempts <= kEnablingAttemptsCountMaximum) { in bta_av_api_enable()
136 if (bta_av_cb.sdp_a2dp_handle) { in bta_av_api_enable()
137 SDP_DeleteRecord(bta_av_cb.sdp_a2dp_handle); in bta_av_api_enable()
141 if (bta_av_cb.sdp_a2dp_snk_handle) { in bta_av_api_enable()
142 SDP_DeleteRecord(bta_av_cb.sdp_a2dp_snk_handle); in bta_av_api_enable()
156 memset(&bta_av_cb, 0, sizeof(tBTA_AV_CB)); in bta_av_api_enable()
159 bta_av_cb.rcb[i].handle = BTA_AV_RC_HANDLE_NONE; in bta_av_api_enable()
[all …]
Dbta_av_act.cc78 if (bta_av_cb.rcb[i].shdl == shdl && in bta_av_get_rcb_by_shdl()
79 bta_av_cb.rcb[i].handle != BTA_AV_RC_HANDLE_NONE) { in bta_av_get_rcb_by_shdl()
80 p_rcb = &bta_av_cb.rcb[i]; in bta_av_get_rcb_by_shdl()
106 p_scb = bta_av_cb.p_scb[p_rcb->shdl - 1]; in bta_av_del_rc()
122 bta_av_cb.rc_acp_handle, bta_av_cb.rc_acp_idx); in bta_av_del_rc()
133 if (rc_handle == bta_av_cb.rc_acp_handle) in bta_av_del_rc()
134 bta_av_cb.rc_acp_handle = BTA_AV_RC_HANDLE_NONE; in bta_av_del_rc()
137 __func__, p_rcb->handle, p_rcb->status, bta_av_cb.rc_acp_handle, in bta_av_del_rc()
155 if ((p_cb->disabling) || (bta_av_cb.rcb[i].shdl != 0)) in bta_av_close_all_rc()
156 bta_av_del_rc(&bta_av_cb.rcb[i]); in bta_av_close_all_rc()
[all …]
Dbta_av_aact.cc254 (*bta_av_cb.p_cback)(BTA_AV_START_EVT, &bta_av_data); in notify_start_failed()
345 tBTA_AV_SCB* p_scb = bta_av_cb.p_scb[scb_index]; in bta_av_proc_stream_evt()
459 p_scb = bta_av_cb.p_scb[index]; in bta_av_sink_data_cback()
496 p_scb = bta_av_hndl_to_scb(bta_av_cb.handle); in bta_av_a2dp_sdp_cback()
500 bta_av_cb.handle); in bta_av_a2dp_sdp_cback()
503 if (bta_av_cb.handle != p_scb->hndl) { in bta_av_a2dp_sdp_cback()
505 __func__, bta_av_cb.handle, p_scb->hndl); in bta_av_a2dp_sdp_cback()
612 if (bta_av_cb.rs_idx == (p_scb->hdi + 1)) { in bta_av_switch_role()
613 bta_av_cb.rs_idx = 0; in bta_av_switch_role()
645 bta_sys_idle(BTA_ID_AV, bta_av_cb.audio_open_cnt, p_scb->PeerAddress()); in bta_av_role_res()
[all …]
Dbta_av_int.h672 extern tBTA_AV_CB bta_av_cb;