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
222 memset(&bta_av_cb, 0, sizeof(tBTA_AV_CB)); in bta_av_api_enable()
225 bta_av_cb.rcb[i].handle = BTA_AV_RC_HANDLE_NONE; in bta_av_api_enable()
227 bta_av_cb.rc_acp_handle = BTA_AV_RC_HANDLE_NONE; in bta_av_api_enable()
233 bta_av_cb.link_signalling_timer = alarm_new("bta_av.link_signalling_timer"); in bta_av_api_enable()
234 bta_av_cb.accept_signalling_timer = in bta_av_api_enable()
238 bta_av_cb.p_cback = p_data->api_enable.p_cback; in bta_av_api_enable()
239 bta_av_cb.features = p_data->api_enable.features; in bta_av_api_enable()
240 bta_av_cb.sec_mask = p_data->api_enable.sec_mask; in bta_av_api_enable()
243 enable.features = bta_av_cb.features; 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()
514 p_scb = bta_av_cb.p_scb[index]; in bta_av_sink_data_cback()
546 tBTA_AV_SCB* p_scb = bta_av_hndl_to_scb(bta_av_cb.handle); in bta_av_a2dp_sdp_cback()
549 bta_av_cb.handle); in bta_av_a2dp_sdp_cback()
586 p_msg->hdr.layer_specific = bta_av_cb.handle; in bta_av_a2dp_sdp_cback()
657 if (bta_av_cb.rs_idx == (p_scb->hdi + 1)) { in bta_av_switch_role()
658 bta_av_cb.rs_idx = 0; in bta_av_switch_role()
690 bta_sys_idle(BTA_ID_AV, bta_av_cb.audio_open_cnt, p_scb->PeerAddress()); in bta_av_role_res()
699 (*bta_av_cb.p_cback)(BTA_AV_START_EVT, &bta_av_data); in bta_av_role_res()
[all …]
Dbta_av_int.h645 extern tBTA_AV_CB bta_av_cb;