Searched refs:bta_ag_cb (Results 1 – 9 of 9) sorted by relevance
/packages/modules/Bluetooth/system/bta/ag/ |
D | bta_ag_sco.cc | 160 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() 178 bta_ag_cb.sco.state = BTA_AG_SCO_SHUTDOWN_ST; in bta_ag_sco_conn_cback() 199 sco_state_text(static_cast<tSCO_STATE>(bta_ag_cb.sco.state))); 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() 202 bta_ag_state_str(bta_ag_cb.scb[0].state)); 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() 205 bta_ag_state_str(bta_ag_cb.scb[1].state)); in bta_ag_sco_disc_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() [all …]
|
D | bta_ag_main.cc | 125 tBTA_AG_CB bta_ag_cb; variable 139 tBTA_AG_SCB* p_scb = &bta_ag_cb.scb[0]; in bta_ag_scb_alloc() 211 if (bta_ag_cb.scb[idx].in_use) { in bta_ag_scb_dealloc() 218 (*bta_ag_cb.p_cback)(BTA_AG_DISABLE_EVT, nullptr); in bta_ag_scb_dealloc() 235 return static_cast<uint16_t>(p_scb - bta_ag_cb.scb + 1); in bta_ag_scb_to_idx() 253 p_scb = &bta_ag_cb.scb[idx - 1]; in bta_ag_scb_by_idx() 294 tBTA_AG_SCB* p_scb = &bta_ag_cb.scb[0]; in bta_ag_idx_by_bdaddr() 319 tBTA_AG_SCB* p_scb = &bta_ag_cb.scb[0]; in bta_ag_other_scb_open() 412 for (tBTA_AG_SCB& scb : bta_ag_cb.scb) { in bta_ag_api_enable() 420 bta_ag_cb.p_cback = p_cback; in bta_ag_api_enable() [all …]
|
D | bta_ag_sdp.cc | 254 if (bta_ag_cb.profile[i].sdp_handle == 0) { in bta_ag_create_records() 255 bta_ag_cb.profile[i].sdp_handle = in bta_ag_create_records() 257 bta_ag_cb.profile[i].scn = BTA_AllocateSCN(); in bta_ag_create_records() 259 bta_ag_cb.profile[i].scn, data.api_register.features, in bta_ag_create_records() 260 bta_ag_cb.profile[i].sdp_handle); in bta_ag_create_records() 278 tBTA_AG_SCB* p = &bta_ag_cb.scb[0]; in bta_ag_del_records() 302 if (bta_ag_cb.profile[i].sdp_handle != 0) { in bta_ag_del_records() 304 bta_ag_cb.profile[i].sdp_handle)) { in bta_ag_del_records() 306 bta_ag_cb.profile[i].sdp_handle); in bta_ag_del_records() 308 bta_ag_cb.profile[i].sdp_handle = 0; in bta_ag_del_records() [all …]
|
D | bta_ag_act.cc | 104 (*bta_ag_cb.p_cback)(BTA_AG_OPEN_EVT, (tBTA_AG*)&open); in bta_ag_cback_open() 136 (*bta_ag_cb.p_cback)(BTA_AG_REGISTER_EVT, (tBTA_AG*)®); in bta_ag_register() 435 (*bta_ag_cb.p_cback)(BTA_AG_CLOSE_EVT, (tBTA_AG*)&close); in bta_ag_rfc_close() 457 if (bta_ag_cb.scb[i].in_use && bta_ag_cb.scb[i].svc_conn) in bta_ag_rfc_close() 573 for (tBTA_AG_SCB& ag_scb : bta_ag_cb.scb) { in bta_ag_rfc_acp_open() 851 (*bta_ag_cb.p_cback)(BTA_AG_CONN_EVT, (tBTA_AG*)&evt); in bta_ag_svc_conn_open() 882 (*bta_ag_cb.p_cback)(BTA_AG_CODEC_EVT, (tBTA_AG*)&val); in bta_ag_setcodec() 899 (*bta_ag_cb.p_cback)(BTA_AG_CODEC_EVT, (tBTA_AG*)&val); in bta_ag_setcodec()
|
D | bta_ag_cmd.cc | 622 (*bta_ag_cb.p_cback)(event, (tBTA_AG*)&val); in bta_ag_at_hsp_cback() 1016 for (i = 0, ag_scb = &bta_ag_cb.scb[0]; i < BTA_AG_MAX_NUM_CLIENTS; in bta_ag_at_hfp_cback() 1159 for (i = 0, ag_scb = &bta_ag_cb.scb[0]; i < BTA_AG_MAX_NUM_CLIENTS; in bta_ag_at_hfp_cback() 1282 if ((bta_ag_cb.sco.state == BTA_AG_SCO_CODEC_ST) && in bta_ag_at_hfp_cback() 1283 (bta_ag_cb.sco.p_curr_scb == p_scb)) { in bta_ag_at_hfp_cback() 1370 (*bta_ag_cb.p_cback)(event, (tBTA_AG*)&val); in bta_ag_at_hfp_cback() 1399 (*bta_ag_cb.p_cback)(BTA_AG_AT_UNAT_EVT, (tBTA_AG*)&val); in bta_ag_at_err_cback()
|
D | bta_ag_api.cc | 65 for (const tBTA_AG_SCB& scb : bta_ag_cb.scb) { in BTA_AgEnable()
|
D | bta_ag_rfc.cc | 265 bta_ag_uuid[i], bta_ag_cb.profile[i].scn, true, BTA_AG_MTU, in bta_ag_start_servers()
|
D | bta_ag_int.h | 364 extern tBTA_AG_CB bta_ag_cb;
|
/packages/modules/Bluetooth/system/bta/test/ |
D | bta_ag_test.cc | 75 bta_ag_cb.p_cback = [](tBTA_AG_EVT event, tBTA_AG* p_data) {}; in SetUp() 169 tBTA_AG_SCB* p_scb = &bta_ag_cb.scb[0]; in TEST_F_WITH_FLAGS() 173 bta_ag_cb.p_cback = [](tBTA_AG_EVT event, tBTA_AG* p_data) { in TEST_F_WITH_FLAGS() 190 tBTA_AG_SCB* p_scb = &bta_ag_cb.scb[0]; in TEST_F_WITH_FLAGS() 196 bta_ag_cb.p_cback = [](tBTA_AG_EVT event, tBTA_AG* p_data) { in TEST_F_WITH_FLAGS() 311 bta_ag_cb.sco.state = BTA_AG_SCO_CODEC_ST; in TEST_F_WITH_FLAGS() 349 bta_ag_cb.sco.state = BTA_AG_SCO_CODEC_ST; in TEST_F_WITH_FLAGS() 382 tBTA_AG_SCB* p_scb = &bta_ag_cb.scb[0]; in TEST_F_WITH_FLAGS() 404 tBTA_AG_SCB* p_scb = &bta_ag_cb.scb[0]; in TEST_F_WITH_FLAGS() 427 tBTA_AG_SCB* p_scb = &bta_ag_cb.scb[0]; in TEST_F_WITH_FLAGS()
|