Home
last modified time | relevance | path

Searched refs:p_sco (Results 1 – 2 of 2) sorted by relevance

/system/bt/bta/ag/
Dbta_ag_sco.cc620 tBTA_AG_SCO_CB* p_sco = &bta_ag_cb.sco; in bta_ag_sco_event() local
621 uint8_t previous_state = p_sco->state; in bta_ag_sco_event()
625 bta_ag_sco_state_str(p_sco->state), p_sco->state, in bta_ag_sco_event()
628 switch (p_sco->state) { in bta_ag_sco_event()
634 p_sco->state = BTA_AG_SCO_LISTEN_ST; in bta_ag_sco_event()
658 p_sco->state = BTA_AG_SCO_CODEC_ST; in bta_ag_sco_event()
662 p_sco->state = BTA_AG_SCO_OPENING_ST; in bta_ag_sco_event()
670 if (p_scb == p_sco->p_curr_scb) p_sco->p_curr_scb = nullptr; in bta_ag_sco_event()
674 p_sco->state = BTA_AG_SCO_SHUTDOWN_ST; in bta_ag_sco_event()
689 p_sco->state = BTA_AG_SCO_LISTEN_ST; in bta_ag_sco_event()
[all …]
/system/bt/stack/btm/
Dbtm_sco.cc112 tSCO_CONN* p_sco = NULL; in btm_esco_conn_rsp() local
114 if (sco_inx < BTM_MAX_SCO_LINKS) p_sco = &btm_cb.sco_cb.sco_db[sco_inx]; in btm_esco_conn_rsp()
117 if (hci_status != HCI_SUCCESS || p_sco == NULL) { in btm_esco_conn_rsp()
118 if (p_sco) { in btm_esco_conn_rsp()
119 p_sco->state = (p_sco->state == SCO_ST_W4_CONN_RSP) ? SCO_ST_LISTENING in btm_esco_conn_rsp()
129 p_sco->state = SCO_ST_CONNECTING; in btm_esco_conn_rsp()
130 enh_esco_params_t* p_setup = &p_sco->esco.setup; in btm_esco_conn_rsp()
154 if (p_sco->esco.data.link_type == BTM_LINK_TYPE_SCO) { in btm_esco_conn_rsp()
374 tSCO_CONN* p_sco; in btm_accept_sco_link() local
382 p_sco = &btm_cb.sco_cb.sco_db[sco_inx]; in btm_accept_sco_link()
[all …]