Searched refs:p_curr_scb (Results 1 – 4 of 4) sorted by relevance
125 if (bta_ag_cb.sco.p_curr_scb != nullptr && bta_ag_cb.sco.p_curr_scb->in_use) { in bta_ag_sco_conn_cback()126 handle = bta_ag_scb_to_idx(bta_ag_cb.sco.p_curr_scb); in bta_ag_sco_conn_cback()142 bta_ag_cb.sco.p_curr_scb = nullptr; in bta_ag_sco_conn_cback()164 sco_idx, bta_ag_cb.sco.p_curr_scb, bta_ag_cb.sco.state); in bta_ag_sco_disc_cback()178 if (bta_ag_cb.sco.p_curr_scb != nullptr && bta_ag_cb.sco.p_curr_scb->in_use) { in bta_ag_sco_disc_cback()180 if (bta_ag_cb.sco.p_curr_scb->sco_idx != sco_idx) { in bta_ag_sco_disc_cback()181 if (bta_ag_cb.sco.p_curr_scb->sco_idx != 0xFFFF) return; in bta_ag_sco_disc_cback()183 handle = bta_ag_scb_to_idx(bta_ag_cb.sco.p_curr_scb); in bta_ag_sco_disc_cback()189 if (bta_ag_cb.sco.p_curr_scb->inuse_codec == BTA_AG_CODEC_MSBC) { in bta_ag_sco_disc_cback()198 if (bta_ag_sco_is_opening(bta_ag_cb.sco.p_curr_scb)) { in bta_ag_sco_disc_cback()[all …]
493 bool bta_ag_other_scb_open(tBTA_AG_SCB* p_curr_scb) { in bta_ag_other_scb_open() argument496 if (p_scb->in_use && p_scb != p_curr_scb && in bta_ag_other_scb_open()516 bool bta_ag_scb_open(tBTA_AG_SCB* p_curr_scb) { in bta_ag_scb_open() argument517 return p_curr_scb && p_curr_scb->in_use && in bta_ag_scb_open()518 p_curr_scb->state == BTA_AG_OPEN_ST; in bta_ag_scb_open()
256 tBTA_AG_SCB* p_curr_scb; /* SCB associated with SCO connection */ member309 extern bool bta_ag_other_scb_open(tBTA_AG_SCB* p_curr_scb);310 extern bool bta_ag_scb_open(tBTA_AG_SCB* p_curr_scb);
1240 (bta_ag_cb.sco.p_curr_scb == p_scb)) { in bta_ag_at_hfp_cback()