Searched refs:p_curr_scb (Results 1 - 4 of 4) sorted by relevance

/external/bluetooth/bluedroid/bta/ag/
H A Dbta_ag_sco.c139 if (bta_ag_cb.sco.p_curr_scb != NULL && bta_ag_cb.sco.p_curr_scb->in_use)
141 handle = bta_ag_scb_to_idx(bta_ag_cb.sco.p_curr_scb);
165 bta_ag_cb.sco.p_curr_scb = NULL;
186 APPL_TRACE_DEBUG3 ("bta_ag_sco_disc_cback(): sco_idx: 0x%x p_cur_scb: 0x%08x sco.state: %d", sco_idx, bta_ag_cb.sco.p_curr_scb, bta_ag_cb.sco.state);
194 if (bta_ag_cb.sco.p_curr_scb != NULL && bta_ag_cb.sco.p_curr_scb->in_use)
197 if (bta_ag_cb.sco.p_curr_scb->sco_idx != sco_idx)
199 if (bta_ag_cb.sco.p_curr_scb->sco_idx != 0xFFFF)
202 handle = bta_ag_scb_to_idx(bta_ag_cb.sco.p_curr_scb);
[all...]
H A Dbta_ag_int.h298 tBTA_AG_SCB *p_curr_scb; /* SCB associated with SCO connection */ member in struct:__anon370
347 extern BOOLEAN bta_ag_other_scb_open(tBTA_AG_SCB *p_curr_scb);
348 extern tBTA_AG_SCB *bta_ag_get_other_idle_scb (tBTA_AG_SCB *p_curr_scb);
H A Dbta_ag_main.c497 BOOLEAN bta_ag_other_scb_open(tBTA_AG_SCB *p_curr_scb) argument
504 if (p_scb->in_use && p_scb != p_curr_scb && p_scb->state == BTA_AG_OPEN_ST)
525 tBTA_AG_SCB *bta_ag_get_other_idle_scb (tBTA_AG_SCB *p_curr_scb) argument
532 if (p_scb->in_use && (p_scb != p_curr_scb) && (p_scb->state == BTA_AG_INIT_ST))
H A Dbta_ag_cmd.c1203 if ((bta_ag_cb.sco.state == BTA_AG_SCO_CODEC_ST) && (bta_ag_cb.sco.p_curr_scb == p_scb))

Completed in 359 milliseconds