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.c201 tBTA_AV_CB bta_av_cb; variable
227 if(bta_av_cb.p_scb[xx] && &(bta_av_cb.p_scb[xx]->timer)== p) in bta_av_timer_cback()
229 p_scb = bta_av_cb.p_scb[xx]; in bta_av_timer_cback()
260 memset(&bta_av_cb, 0, sizeof(tBTA_AV_CB)); in bta_av_api_enable()
263 bta_av_cb.rcb[i].handle = BTA_AV_RC_HANDLE_NONE; in bta_av_api_enable()
265 bta_av_cb.rc_acp_handle = BTA_AV_RC_HANDLE_NONE; in bta_av_api_enable()
268 bta_av_cb.p_cback = p_data->api_enable.p_cback; in bta_av_api_enable()
269 bta_av_cb.features = p_data->api_enable.features; in bta_av_api_enable()
270 bta_av_cb.sec_mask = p_data->api_enable.sec_mask; in bta_av_api_enable()
272 enable.features = bta_av_cb.features; in bta_av_api_enable()
[all …]
Dbta_av_act.c75 if (bta_av_cb.rcb[i].shdl == shdl && bta_av_cb.rcb[i].handle != BTA_AV_RC_HANDLE_NONE) in bta_av_get_rcb_by_shdl()
77 p_rcb = &bta_av_cb.rcb[i]; in bta_av_get_rcb_by_shdl()
107 p_scb = bta_av_cb.p_scb[p_rcb->shdl - 1]; in bta_av_del_rc()
122 p_rcb->handle, p_rcb->status, bta_av_cb.rc_acp_handle, bta_av_cb.rc_acp_idx); in bta_av_del_rc()
134 if (rc_handle == bta_av_cb.rc_acp_handle) in bta_av_del_rc()
135 bta_av_cb.rc_acp_handle = BTA_AV_RC_HANDLE_NONE; in bta_av_del_rc()
137 p_rcb->handle, p_rcb->status, bta_av_cb.rc_acp_handle, p_rcb->lidx); in bta_av_del_rc()
157 if ((p_cb->disabling == TRUE) || (bta_av_cb.rcb[i].shdl != 0)) in bta_av_close_all_rc()
158 bta_av_del_rc(&bta_av_cb.rcb[i]); in bta_av_close_all_rc()
456 tBTA_AV_CB *p_cb = &bta_av_cb; in bta_av_find_lcb()
[all …]
Dbta_av_aact.c323 (*bta_av_cb.p_cback)(BTA_AV_START_EVT, (tBTA_AV *) &start); in notify_start_failed()
437 tBTA_AV_SCB *p_scb = bta_av_cb.p_scb[index]; in bta_av_proc_stream_evt()
500 if ((bta_av_cb.p_scb[xx]) && (xx != index)) in bta_av_proc_stream_evt()
502 if (bta_av_cb.p_scb[xx]->state == BTA_AV_INCOMING_SST) in bta_av_proc_stream_evt()
504 bta_av_cb.p_scb[xx]->state = BTA_AV_INIT_SST; in bta_av_proc_stream_evt()
505 bta_av_cb.p_scb[xx]->coll_mask = 0; in bta_av_proc_stream_evt()
591 p_scb = bta_av_cb.p_scb[index]; in bta_av_stream_data_cback()
721 p_scb = bta_av_hndl_to_scb(bta_av_cb.handle); in bta_av_a2d_sdp_cback()
729 p_msg->hdr.layer_specific = bta_av_cb.handle; in bta_av_a2d_sdp_cback()
734 … APPL_TRACE_ERROR ("bta_av_a2d_sdp_cback, no scb found for handle(0x%x)", bta_av_cb.handle); in bta_av_a2d_sdp_cback()
[all …]
Dbta_av_ssm.c425 if (bta_av_cb.p_scb[xx]) in bta_av_ssm_execute()
427 if (bta_av_cb.p_scb[xx]->state == BTA_AV_INCOMING_SST) in bta_av_ssm_execute()
429 bta_av_cb.p_scb[xx]->state = BTA_AV_INIT_SST; in bta_av_ssm_execute()
430 bta_av_cb.p_scb[xx]->coll_mask = 0; in bta_av_ssm_execute()
Dbta_av_int.h600 extern tBTA_AV_CB bta_av_cb;
603 #define bta_av_cb (*bta_av_cb_ptr) macro