Searched refs:p_curr_scb (Results 1 – 4 of 4) sorted by relevance
129 if (bta_ag_cb.sco.p_curr_scb != nullptr && bta_ag_cb.sco.p_curr_scb->in_use) { in bta_ag_sco_conn_cback()130 handle = bta_ag_scb_to_idx(bta_ag_cb.sco.p_curr_scb); in bta_ag_sco_conn_cback()146 bta_ag_cb.sco.p_curr_scb = nullptr; in bta_ag_sco_conn_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()188 if (bta_ag_cb.sco.p_curr_scb->inuse_codec == BTA_AG_CODEC_MSBC) { in bta_ag_sco_disc_cback()197 if (bta_ag_sco_is_opening(bta_ag_cb.sco.p_curr_scb)) { in bta_ag_sco_disc_cback()198 bta_ag_cb.sco.p_curr_scb->state = BTA_AG_SCO_CODEC_ST; in bta_ag_sco_disc_cback()[all …]
306 bool bta_ag_other_scb_open(tBTA_AG_SCB* p_curr_scb) { in bta_ag_other_scb_open() argument309 if (p_scb->in_use && p_scb != p_curr_scb && in bta_ag_other_scb_open()329 bool bta_ag_scb_open(tBTA_AG_SCB* p_curr_scb) { in bta_ag_scb_open() argument330 return p_curr_scb && p_curr_scb->in_use && in bta_ag_scb_open()331 p_curr_scb->state == BTA_AG_OPEN_ST; in bta_ag_scb_open()
270 tBTA_AG_SCB* p_curr_scb; /* SCB associated with SCO connection */ member323 extern bool bta_ag_other_scb_open(tBTA_AG_SCB* p_curr_scb);324 extern bool bta_ag_scb_open(tBTA_AG_SCB* p_curr_scb);
1268 (bta_ag_cb.sco.p_curr_scb == p_scb)) { in bta_ag_at_hfp_cback()