Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/bta/ag/
Dbta_ag_sco.cc745 tBTA_AG_SCO_CB* p_sco = &bta_ag_cb.sco; in bta_ag_sco_event() local
746 uint8_t previous_state = p_sco->state; in bta_ag_sco_event()
749 bta_ag_sco_state_str(p_sco->state), p_sco->state, in bta_ag_sco_event()
752 switch (p_sco->state) { in bta_ag_sco_event()
758 p_sco->state = BTA_AG_SCO_LISTEN_ST; in bta_ag_sco_event()
780 p_sco->state = BTA_AG_SCO_CODEC_ST; in bta_ag_sco_event()
788 if (p_scb == p_sco->p_curr_scb) p_sco->p_curr_scb = nullptr; in bta_ag_sco_event()
792 p_sco->state = BTA_AG_SCO_SHUTDOWN_ST; in bta_ag_sco_event()
806 p_sco->state = BTA_AG_SCO_LISTEN_ST; in bta_ag_sco_event()
826 p_sco->state = BTA_AG_SCO_OPENING_ST; in bta_ag_sco_event()
[all …]
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_sco.cc312 tSCO_CONN* p_sco = NULL; in btm_esco_conn_rsp() local
316 if (sco_inx < BTM_MAX_SCO_LINKS) p_sco = &btm_cb.sco_cb.sco_db[sco_inx]; in btm_esco_conn_rsp()
319 if (hci_status != HCI_SUCCESS || p_sco == NULL) { in btm_esco_conn_rsp()
320 if (p_sco) { in btm_esco_conn_rsp()
321 p_sco->state = (p_sco->state == SCO_ST_W4_CONN_RSP) ? SCO_ST_LISTENING in btm_esco_conn_rsp()
331 p_sco->state = SCO_ST_CONNECTING; in btm_esco_conn_rsp()
332 enh_esco_params_t* p_setup = &p_sco->esco.setup; in btm_esco_conn_rsp()
983 tSCO_CB* p_sco = &btm_cb.sco_cb; in btm_sco_conn_req() local
984 tSCO_CONN* p = &p_sco->sco_db[0]; in btm_sco_conn_req()
1009 !(p_sco->def_esco_parms.packet_types & BTM_ESCO_LINK_ONLY_MASK) && in btm_sco_conn_req()
[all …]
Dbtm_sco.h275 tSCO_CONN* p_sco = sco_db; in get_sco_connection_from_handle() local
276 for (uint16_t xx = 0; xx < kMaxScoLinks; xx++, p_sco++) { in get_sco_connection_from_handle()
277 if (p_sco->hci_handle == handle) { in get_sco_connection_from_handle()
278 return p_sco; in get_sco_connection_from_handle()
288 uint16_t get_index(const tSCO_CONN* p_sco) const { in get_index()
289 bluetooth::log::assert_that(p_sco != nullptr, in get_index()
293 if (p_sco == p) { in get_index()
/packages/modules/Bluetooth/system/stack/test/btm/
Dstack_btm_test.cc148 tSCO_CB* p_sco = &btm_cb.sco_cb; in TEST_F() local
149 p_sco->Init(); in TEST_F()
150 p_sco->Free(); in TEST_F()