Home
last modified time | relevance | path

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

/system/bt/bta/ag/
Dbta_ag_sco.c161 if (bta_ag_cb.sco.p_curr_scb != NULL && bta_ag_cb.sco.p_curr_scb->in_use) in bta_ag_sco_conn_cback()
163 handle = bta_ag_scb_to_idx(bta_ag_cb.sco.p_curr_scb); in bta_ag_sco_conn_cback()
182 bta_ag_cb.sco.p_curr_scb = NULL; in bta_ag_sco_conn_cback()
202 …o_idx: 0x%x p_cur_scb: 0x%08x sco.state: %d", sco_idx, bta_ag_cb.sco.p_curr_scb, bta_ag_cb.sco.s… in bta_ag_sco_disc_cback()
210 if (bta_ag_cb.sco.p_curr_scb != NULL && bta_ag_cb.sco.p_curr_scb->in_use) in bta_ag_sco_disc_cback()
213 if (bta_ag_cb.sco.p_curr_scb->sco_idx != sco_idx) in bta_ag_sco_disc_cback()
215 if (bta_ag_cb.sco.p_curr_scb->sco_idx != 0xFFFF) in bta_ag_sco_disc_cback()
218 handle = bta_ag_scb_to_idx(bta_ag_cb.sco.p_curr_scb); in bta_ag_sco_disc_cback()
232 if(bta_ag_cb.sco.p_curr_scb->inuse_codec == BTA_AG_CODEC_MSBC) in bta_ag_sco_disc_cback()
239 if (bta_ag_sco_is_opening (bta_ag_cb.sco.p_curr_scb)) in bta_ag_sco_disc_cback()
[all …]
Dbta_ag_main.c486 BOOLEAN bta_ag_other_scb_open(tBTA_AG_SCB *p_curr_scb) in bta_ag_other_scb_open() argument
493 if (p_scb->in_use && p_scb != p_curr_scb && p_scb->state == BTA_AG_OPEN_ST) in bta_ag_other_scb_open()
514 BOOLEAN bta_ag_scb_open(tBTA_AG_SCB *p_curr_scb) in bta_ag_scb_open() argument
516 if (p_curr_scb && p_curr_scb->in_use && p_curr_scb->state == BTA_AG_OPEN_ST) in bta_ag_scb_open()
534 tBTA_AG_SCB *bta_ag_get_other_idle_scb (tBTA_AG_SCB *p_curr_scb) in bta_ag_get_other_idle_scb() argument
541 if (p_scb->in_use && (p_scb != p_curr_scb) && (p_scb->state == BTA_AG_INIT_ST)) in bta_ag_get_other_idle_scb()
Dbta_ag_int.h307 tBTA_AG_SCB *p_curr_scb; /* SCB associated with SCO connection */ member
356 extern BOOLEAN bta_ag_other_scb_open(tBTA_AG_SCB *p_curr_scb);
357 extern BOOLEAN bta_ag_scb_open(tBTA_AG_SCB *p_curr_scb);
358 extern tBTA_AG_SCB *bta_ag_get_other_idle_scb (tBTA_AG_SCB *p_curr_scb);
Dbta_ag_cmd.c1236 … if ((bta_ag_cb.sco.state == BTA_AG_SCO_CODEC_ST) && (bta_ag_cb.sco.p_curr_scb == p_scb)) in bta_ag_at_hfp_cback()