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.c203 tBTA_AV_CB bta_av_cb; variable
223 memset(&bta_av_cb, 0, sizeof(tBTA_AV_CB)); in bta_av_api_enable()
226 bta_av_cb.rcb[i].handle = BTA_AV_RC_HANDLE_NONE; in bta_av_api_enable()
228 bta_av_cb.rc_acp_handle = BTA_AV_RC_HANDLE_NONE; in bta_av_api_enable()
234 bta_av_cb.link_signalling_timer = alarm_new("bta_av.link_signalling_timer"); in bta_av_api_enable()
235 bta_av_cb.accept_signalling_timer = in bta_av_api_enable()
239 bta_av_cb.p_cback = p_data->api_enable.p_cback; in bta_av_api_enable()
240 bta_av_cb.features = p_data->api_enable.features; in bta_av_api_enable()
241 bta_av_cb.sec_mask = p_data->api_enable.sec_mask; in bta_av_api_enable()
244 enable.features = bta_av_cb.features; in bta_av_api_enable()
[all …]
Dbta_av_act.c82 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()
84 p_rcb = &bta_av_cb.rcb[i]; in bta_av_get_rcb_by_shdl()
114 p_scb = bta_av_cb.p_scb[p_rcb->shdl - 1]; in bta_av_del_rc()
129 p_rcb->handle, p_rcb->status, bta_av_cb.rc_acp_handle, bta_av_cb.rc_acp_idx); in bta_av_del_rc()
141 if (rc_handle == bta_av_cb.rc_acp_handle) in bta_av_del_rc()
142 bta_av_cb.rc_acp_handle = BTA_AV_RC_HANDLE_NONE; in bta_av_del_rc()
144 p_rcb->handle, p_rcb->status, bta_av_cb.rc_acp_handle, p_rcb->lidx); in bta_av_del_rc()
163 if ((p_cb->disabling == TRUE) || (bta_av_cb.rcb[i].shdl != 0)) in bta_av_close_all_rc()
164 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.c329 (*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()
499 if ((bta_av_cb.p_scb[i]) && (i != index)) { in bta_av_proc_stream_evt()
500 if (bta_av_cb.p_scb[i]->state == BTA_AV_INCOMING_SST) { in bta_av_proc_stream_evt()
501 bta_av_cb.p_scb[i]->state = BTA_AV_INIT_SST; in bta_av_proc_stream_evt()
502 bta_av_cb.p_scb[i]->coll_mask = 0; in bta_av_proc_stream_evt()
588 p_scb = bta_av_cb.p_scb[index]; in bta_av_stream_data_cback()
711 tBTA_AV_SCB *p_scb = bta_av_hndl_to_scb(bta_av_cb.handle); in bta_av_a2d_sdp_cback()
715 bta_av_cb.handle); in bta_av_a2d_sdp_cback()
727 p_msg->hdr.layer_specific = bta_av_cb.handle; in bta_av_a2d_sdp_cback()
[all …]
Dbta_av_ssm.c439 if (bta_av_cb.p_scb[xx]) in bta_av_ssm_execute()
441 if (bta_av_cb.p_scb[xx]->state == BTA_AV_INCOMING_SST) in bta_av_ssm_execute()
443 bta_av_cb.p_scb[xx]->state = BTA_AV_INIT_SST; in bta_av_ssm_execute()
444 bta_av_cb.p_scb[xx]->coll_mask = 0; in bta_av_ssm_execute()
Dbta_av_int.h614 extern tBTA_AV_CB bta_av_cb;
617 #define bta_av_cb (*bta_av_cb_ptr) macro