Home
last modified time | relevance | path

Searched refs:sco_idx (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Bluetooth/system/bta/hf_client/
Dbta_hf_client_sco.cc60 if (client_cb->sco_idx != BTM_INVALID_SCO_INDEX) { in bta_hf_client_sco_remove()
61 status = BTM_RemoveSco(client_cb->sco_idx); in bta_hf_client_sco_remove()
63 log::verbose("idx 0x{:04x}, status:0x{:x}", client_cb->sco_idx, status); in bta_hf_client_sco_remove()
70 client_cb->sco_idx = BTM_INVALID_SCO_INDEX; in bta_hf_client_sco_remove()
181 static void bta_hf_client_sco_conn_cback(uint16_t sco_idx) { in bta_hf_client_sco_conn_cback() argument
182 log::verbose("{}", sco_idx); in bta_hf_client_sco_conn_cback()
184 tBTA_HF_CLIENT_CB* client_cb = bta_hf_client_find_cb_by_sco_handle(sco_idx); in bta_hf_client_sco_conn_cback()
186 log::error("wrong SCO handle to control block {}", sco_idx); in bta_hf_client_sco_conn_cback()
206 static void bta_hf_client_sco_disc_cback(uint16_t sco_idx) { in bta_hf_client_sco_disc_cback() argument
207 log::verbose("sco_idx {}", sco_idx); in bta_hf_client_sco_disc_cback()
[all …]
Dbta_hf_client_main.cc319 client_cb->sco_idx = BTM_INVALID_SCO_INDEX; in bta_hf_client_cb_init()
569 if (client_cb->is_allocated && client_cb->sco_idx == handle) { in bta_hf_client_find_cb_by_sco_handle()
Dbta_hf_client_int.h182 uint16_t sco_idx; /* SCO handle */ member
/packages/modules/Bluetooth/system/bta/ag/
Dbta_ag_sco.cc155 static void bta_ag_sco_conn_cback(uint16_t sco_idx) { in bta_ag_sco_conn_cback() argument
166 handle = bta_ag_idx_by_bdaddr(BTM_ReadScoBdAddr(sco_idx)); in bta_ag_sco_conn_cback()
179 if (get_btm_client_interface().sco.BTM_RemoveSco(sco_idx) != BTM_SUCCESS) { in bta_ag_sco_conn_cback()
180 log::warn("Unable to remove SCO idx:{}", sco_idx); in bta_ag_sco_conn_cback()
195 static void bta_ag_sco_disc_cback(uint16_t sco_idx) { in bta_ag_sco_disc_cback() argument
198 log::debug("sco_idx: 0x{:x} sco.state:{}", sco_idx, in bta_ag_sco_disc_cback()
201 bta_ag_cb.scb[0].in_use, bta_ag_cb.scb[0].sco_idx, in bta_ag_sco_disc_cback()
204 bta_ag_cb.scb[1].in_use, bta_ag_cb.scb[1].sco_idx, 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()
[all …]
Dbta_ag_main.cc146 p_scb->sco_idx = BTM_INVALID_SCO_INDEX; in bta_ag_scb_alloc()
206 p_scb->sco_idx = BTM_INVALID_SCO_INDEX; in bta_ag_scb_dealloc()
Dbta_ag_int.h266 uint16_t sco_idx; /* SCO handle */ member
Dbta_ag_act.cc683 if ((p_scb->sco_idx != BTM_INVALID_SCO_INDEX) && in bta_ag_rfc_data()
/packages/modules/Bluetooth/system/bta/test/
Dbta_ag_sco_test.cc65 .sco_idx = BTM_INVALID_SCO_INDEX, in TEST_P()
87 .sco_idx = BTM_INVALID_SCO_INDEX, in TEST_P()
Dbta_ag_test.cc304 .sco_idx = BTM_INVALID_SCO_INDEX, in TEST_F_WITH_FLAGS()
341 .sco_idx = BTM_INVALID_SCO_INDEX, in TEST_F_WITH_FLAGS()