Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/bta/ag/
Dbta_ag_sco.cc160 if (bta_ag_cb.sco.p_curr_scb != nullptr && bta_ag_cb.sco.p_curr_scb->in_use) { in bta_ag_sco_conn_cback()
161 handle = bta_ag_scb_to_idx(bta_ag_cb.sco.p_curr_scb); in bta_ag_sco_conn_cback()
177 bta_ag_cb.sco.p_curr_scb = nullptr; in bta_ag_sco_conn_cback()
208 if (bta_ag_cb.sco.p_curr_scb != nullptr && bta_ag_cb.sco.p_curr_scb->in_use) { in bta_ag_sco_disc_cback()
210 if (bta_ag_cb.sco.p_curr_scb->sco_idx != sco_idx) { in bta_ag_sco_disc_cback()
211 if (bta_ag_cb.sco.p_curr_scb->sco_idx != 0xFFFF) return; in bta_ag_sco_disc_cback()
213 handle = bta_ag_scb_to_idx(bta_ag_cb.sco.p_curr_scb); in bta_ag_sco_disc_cback()
219 (bta_ag_cb.sco.p_curr_scb->is_aptx_swb_codec == true) && in bta_ag_sco_disc_cback()
220 (bta_ag_cb.sco.p_curr_scb->inuse_codec == in bta_ag_sco_disc_cback()
223 bta_ag_cb.sco.p_curr_scb->inuse_codec); in bta_ag_sco_disc_cback()
[all …]
Dbta_ag_main.cc318 bool bta_ag_other_scb_open(tBTA_AG_SCB* p_curr_scb) { in bta_ag_other_scb_open() argument
321 if (p_scb->in_use && p_scb != p_curr_scb && in bta_ag_other_scb_open()
341 bool bta_ag_scb_open(tBTA_AG_SCB* p_curr_scb) { in bta_ag_scb_open() argument
342 return p_curr_scb && p_curr_scb->in_use && in bta_ag_scb_open()
343 p_curr_scb->state == BTA_AG_OPEN_ST; in bta_ag_scb_open()
Dbta_ag_int.h339 tBTA_AG_SCB* p_curr_scb; /* SCB associated with SCO connection */ member
391 bool bta_ag_other_scb_open(tBTA_AG_SCB* p_curr_scb);
392 bool bta_ag_scb_open(tBTA_AG_SCB* p_curr_scb);
Dbta_ag_cmd.cc1283 (bta_ag_cb.sco.p_curr_scb == p_scb)) { in bta_ag_at_hfp_cback()