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.cc129 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 …]
Dbta_ag_main.cc306 bool bta_ag_other_scb_open(tBTA_AG_SCB* p_curr_scb) { in bta_ag_other_scb_open() argument
309 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() argument
330 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()
Dbta_ag_int.h270 tBTA_AG_SCB* p_curr_scb; /* SCB associated with SCO connection */ member
323 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);
Dbta_ag_cmd.cc1268 (bta_ag_cb.sco.p_curr_scb == p_scb)) { in bta_ag_at_hfp_cback()