Home
last modified time | relevance | path

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

/system/bt/bta/av/
Dbta_av_main.cc201 tBTA_AV_CB bta_av_cb; variable
217 memset(&bta_av_cb, 0, sizeof(tBTA_AV_CB)); in bta_av_api_enable()
220 bta_av_cb.rcb[i].handle = BTA_AV_RC_HANDLE_NONE; in bta_av_api_enable()
222 bta_av_cb.rc_acp_handle = BTA_AV_RC_HANDLE_NONE; in bta_av_api_enable()
228 bta_av_cb.link_signalling_timer = alarm_new("bta_av.link_signalling_timer"); in bta_av_api_enable()
229 bta_av_cb.accept_signalling_timer = in bta_av_api_enable()
233 bta_av_cb.p_cback = p_data->api_enable.p_cback; in bta_av_api_enable()
234 bta_av_cb.features = p_data->api_enable.features; in bta_av_api_enable()
235 bta_av_cb.sec_mask = p_data->api_enable.sec_mask; in bta_av_api_enable()
238 enable.features = bta_av_cb.features; in bta_av_api_enable()
[all …]
Dbta_av_act.cc82 if (bta_av_cb.rcb[i].shdl == shdl && in bta_av_get_rcb_by_shdl()
83 bta_av_cb.rcb[i].handle != BTA_AV_RC_HANDLE_NONE) { in bta_av_get_rcb_by_shdl()
84 p_rcb = &bta_av_cb.rcb[i]; in bta_av_get_rcb_by_shdl()
110 p_scb = bta_av_cb.p_scb[p_rcb->shdl - 1]; in bta_av_del_rc()
126 p_rcb->handle, p_rcb->status, bta_av_cb.rc_acp_handle, in bta_av_del_rc()
127 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 p_rcb->handle, p_rcb->status, bta_av_cb.rc_acp_handle, p_rcb->lidx); in bta_av_del_rc()
159 if ((p_cb->disabling == true) || (bta_av_cb.rcb[i].shdl != 0)) in bta_av_close_all_rc()
[all …]
Dbta_av_aact.cc327 (*bta_av_cb.p_cback)(BTA_AV_START_EVT, (tBTA_AV*)&start); in notify_start_failed()
423 tBTA_AV_SCB* p_scb = bta_av_cb.p_scb[index]; in bta_av_proc_stream_evt()
493 if ((bta_av_cb.p_scb[i]) && (i != index)) { in bta_av_proc_stream_evt()
494 if (bta_av_cb.p_scb[i]->state == BTA_AV_INCOMING_SST) { in bta_av_proc_stream_evt()
495 bta_av_cb.p_scb[i]->state = BTA_AV_INIT_SST; in bta_av_proc_stream_evt()
496 bta_av_cb.p_scb[i]->coll_mask = 0; in bta_av_proc_stream_evt()
579 p_scb = bta_av_cb.p_scb[index]; in bta_av_sink_data_cback()
705 tBTA_AV_SCB* p_scb = bta_av_hndl_to_scb(bta_av_cb.handle); in bta_av_a2dp_sdp_cback()
709 bta_av_cb.handle); in bta_av_a2dp_sdp_cback()
721 p_msg->hdr.layer_specific = bta_av_cb.handle; in bta_av_a2dp_sdp_cback()
[all …]
Dbta_av_ssm.cc520 if (bta_av_cb.p_scb[xx]) { in bta_av_ssm_execute()
521 if (bta_av_cb.p_scb[xx]->state == BTA_AV_INCOMING_SST) { in bta_av_ssm_execute()
522 bta_av_cb.p_scb[xx]->state = BTA_AV_INIT_SST; in bta_av_ssm_execute()
523 bta_av_cb.p_scb[xx]->coll_mask = 0; in bta_av_ssm_execute()
Dbta_av_int.h573 extern tBTA_AV_CB bta_av_cb;