Home
last modified time | relevance | path

Searched refs:tBTA_AG_SCB (Results 1 – 15 of 15) sorted by relevance

/packages/modules/Bluetooth/system/bta/ag/
Dbta_ag_int.h251 struct tBTA_AG_SCB { struct
339 tBTA_AG_SCB* p_curr_scb; /* SCB associated with SCO connection */ argument
340 tBTA_AG_SCB* p_xfer_scb; /* SCB associated with SCO transfer */
348 tBTA_AG_SCB scb[BTA_AG_MAX_NUM_CLIENTS]; /* service control blocks */
386 void bta_ag_scb_dealloc(tBTA_AG_SCB* p_scb);
387 uint16_t bta_ag_scb_to_idx(tBTA_AG_SCB* p_scb);
388 tBTA_AG_SCB* bta_ag_scb_by_idx(uint16_t idx);
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);
393 void bta_ag_sm_execute(tBTA_AG_SCB* p_scb, uint16_t event,
[all …]
Dbta_ag_act.cc76 typedef void (*tBTA_AG_ATCMD_CBACK)(tBTA_AG_SCB* p_scb, uint16_t cmd,
93 static void bta_ag_cback_open(tBTA_AG_SCB* p_scb, const RawAddress& bd_addr, in bta_ag_cback_open()
118 void bta_ag_register(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_register()
150 void bta_ag_deregister(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_deregister()
174 void bta_ag_start_dereg(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_start_dereg()
192 void bta_ag_start_open(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_start_open()
226 void bta_ag_disc_int_res(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_disc_int_res()
286 void bta_ag_disc_acp_res(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_disc_acp_res()
311 void bta_ag_disc_fail(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& /* data */) { in bta_ag_disc_fail()
335 void bta_ag_open_fail(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_open_fail()
[all …]
Dbta_ag_main.cc138 static tBTA_AG_SCB* bta_ag_scb_alloc(void) { in bta_ag_scb_alloc()
139 tBTA_AG_SCB* p_scb = &bta_ag_cb.scb[0]; in bta_ag_scb_alloc()
193 void bta_ag_scb_dealloc(tBTA_AG_SCB* p_scb) { in bta_ag_scb_dealloc()
233 uint16_t bta_ag_scb_to_idx(tBTA_AG_SCB* p_scb) { in bta_ag_scb_to_idx()
248 tBTA_AG_SCB* bta_ag_scb_by_idx(uint16_t idx) { in bta_ag_scb_by_idx()
249 tBTA_AG_SCB* p_scb; in bta_ag_scb_by_idx()
294 tBTA_AG_SCB* p_scb = &bta_ag_cb.scb[0]; in bta_ag_idx_by_bdaddr()
318 bool bta_ag_other_scb_open(tBTA_AG_SCB* p_curr_scb) { in bta_ag_other_scb_open()
319 tBTA_AG_SCB* p_scb = &bta_ag_cb.scb[0]; in bta_ag_other_scb_open()
341 bool bta_ag_scb_open(tBTA_AG_SCB* p_curr_scb) { in bta_ag_scb_open()
[all …]
Dbta_ag_at.cc107 (*p_cb->p_err_cback)((tBTA_AG_SCB*)p_cb->p_user, false, nullptr); in bta_ag_process_at()
167 (*p_cb->p_err_cback)((tBTA_AG_SCB*)p_cb->p_user, false, nullptr); in bta_ag_process_at()
169 (*p_cb->p_cmd_cback)((tBTA_AG_SCB*)p_cb->p_user, in bta_ag_process_at()
174 (*p_cb->p_cmd_cback)((tBTA_AG_SCB*)p_cb->p_user, in bta_ag_process_at()
182 (*p_cb->p_err_cback)((tBTA_AG_SCB*)p_cb->p_user, false, nullptr); in bta_ag_process_at()
187 (*p_cb->p_err_cback)((tBTA_AG_SCB*)p_cb->p_user, true, p_cb->p_cmd_buf); in bta_ag_process_at()
239 (*p_cb->p_err_cback)((tBTA_AG_SCB*)p_cb->p_user, true, p_cb->p_cmd_buf); in bta_ag_at_parse()
Dbta_ag_rfc.cc78 tBTA_AG_SCB* p_scb = bta_ag_scb_by_idx(handle); in bta_ag_port_cback()
110 tBTA_AG_SCB* p_scb = bta_ag_scb_by_idx(handle); in bta_ag_mgmt_cback()
221 void bta_ag_setup_port(tBTA_AG_SCB* p_scb, uint16_t handle) { in bta_ag_setup_port()
249 void bta_ag_start_servers(tBTA_AG_SCB* p_scb, tBTA_SERVICE_MASK services) { in bta_ag_start_servers()
294 void bta_ag_close_servers(tBTA_AG_SCB* p_scb, tBTA_SERVICE_MASK services) { in bta_ag_close_servers()
317 bool bta_ag_is_server_closed(tBTA_AG_SCB* p_scb) { in bta_ag_is_server_closed()
338 void bta_ag_rfc_do_open(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_rfc_do_open()
368 void bta_ag_rfc_do_close(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& /* data */) { in bta_ag_rfc_do_close()
Dbta_ag_cmd.cc215 static void bta_ag_send_result(tBTA_AG_SCB* p_scb, size_t code, in bta_ag_send_result()
279 static void bta_ag_send_ok(tBTA_AG_SCB* p_scb) { in bta_ag_send_ok()
294 static void bta_ag_send_error(tBTA_AG_SCB* p_scb, int16_t errcode) { in bta_ag_send_error()
312 static void bta_ag_send_ind(tBTA_AG_SCB* p_scb, uint16_t id, uint16_t value, in bta_ag_send_ind()
427 static uint8_t bta_ag_parse_chld(tBTA_AG_SCB* /* p_scb */, char* p_s) { in bta_ag_parse_chld() argument
456 static tBTA_AG_PEER_CODEC bta_ag_parse_bac(tBTA_AG_SCB* p_scb, char* p_s, in bta_ag_parse_bac()
551 bool bta_ag_inband_enabled(tBTA_AG_SCB* p_scb) { in bta_ag_inband_enabled()
566 void bta_ag_send_call_inds(tBTA_AG_SCB* p_scb, tBTA_AG_RES result) { in bta_ag_send_call_inds()
597 void bta_ag_at_hsp_cback(tBTA_AG_SCB* p_scb, uint16_t command_id, in bta_ag_at_hsp_cback()
650 static int bta_ag_find_empty_hf_ind(tBTA_AG_SCB* p_scb) { in bta_ag_find_empty_hf_ind()
[all …]
Dbta_ag_sco.cc157 tBTA_AG_SCB* p_scb; in bta_ag_sco_conn_cback()
335 static bool bta_ag_remove_sco(tBTA_AG_SCB* p_scb, bool only_active) { in bta_ag_remove_sco()
370 tBTA_AG_SCB* p_scb = bta_ag_scb_by_idx(bta_ag_idx_by_bdaddr(remote_bda)); in bta_ag_esco_connreq_cback()
422 static void bta_ag_cback_sco(tBTA_AG_SCB* p_scb, tBTA_AG_EVT event) { in bta_ag_cback_sco()
441 void bta_ag_create_sco(tBTA_AG_SCB* p_scb, bool is_orig) { in bta_ag_create_sco()
649 tBTA_AG_SCB* p_scb = (tBTA_AG_SCB*)data; in bta_ag_codec_negotiation_timer_cback()
668 void bta_ag_codec_negotiate(tBTA_AG_SCB* p_scb) { in bta_ag_codec_negotiate()
744 static void bta_ag_sco_event(tBTA_AG_SCB* p_scb, uint8_t event) { in bta_ag_sco_event()
1162 tBTA_AG_SCB* p_cn_scb = p_sco->p_xfer_scb; in bta_ag_sco_event()
1256 bool bta_ag_sco_is_open(tBTA_AG_SCB* p_scb) { in bta_ag_sco_is_open()
[all …]
Dbta_ag_at.h61 struct tBTA_AG_SCB;
62 typedef void(tBTA_AG_AT_CMD_CBACK)(tBTA_AG_SCB* p_user, uint16_t command_id,
67 typedef void(tBTA_AG_AT_ERR_CBACK)(tBTA_AG_SCB* p_user, bool unknown,
Dbta_ag_sdp.cc89 tBTA_AG_SCB* p_scb = bta_ag_scb_by_idx(idx); in bta_ag_sdp_cback()
245 void bta_ag_create_records(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_create_records()
277 void bta_ag_del_records(tBTA_AG_SCB* p_scb) { in bta_ag_del_records()
278 tBTA_AG_SCB* p = &bta_ag_cb.scb[0]; in bta_ag_del_records()
327 bool bta_ag_sdp_find_attr(tBTA_AG_SCB* p_scb, tBTA_SERVICE_MASK service) { in bta_ag_sdp_find_attr()
477 void bta_ag_do_disc(tBTA_AG_SCB* p_scb, tBTA_SERVICE_MASK service) { in bta_ag_do_disc()
569 void bta_ag_free_db(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_free_db()
Dbta_ag_swb_aptx.cc41 tBTA_AG_SCB* p_scb = bta_ag_scb_by_idx(p_scb_idx); in get_lc3_swb_codec_status()
86 void bta_ag_swb_handle_vs_at_events(tBTA_AG_SCB* p_scb, uint16_t cmd, in bta_ag_swb_handle_vs_at_events()
Dbta_ag_api.cc65 for (const tBTA_AG_SCB& scb : bta_ag_cb.scb) { in BTA_AgEnable()
/packages/modules/Bluetooth/system/bta/test/
Dbta_ag_test.cc169 tBTA_AG_SCB* p_scb = &bta_ag_cb.scb[0]; in TEST_F_WITH_FLAGS()
190 tBTA_AG_SCB* p_scb = &bta_ag_cb.scb[0]; in TEST_F_WITH_FLAGS()
241 tBTA_AG_SCB p_scb = { in TEST_F_WITH_FLAGS()
259 tBTA_AG_SCB p_scb = {.peer_addr = addr, in TEST_F_WITH_FLAGS()
278 tBTA_AG_SCB p_scb = { in TEST_F_WITH_FLAGS()
303 tBTA_AG_SCB p_scb = {.peer_addr = addr, in TEST_F_WITH_FLAGS()
340 tBTA_AG_SCB p_scb = {.peer_addr = addr, 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()
Dbta_ag_sco_test.cc61 tBTA_AG_SCB scb{ in TEST_P()
83 tBTA_AG_SCB scb{ in TEST_P()
/packages/modules/Bluetooth/system/bta/include/
Dbta_ag_swb_aptx.h36 void bta_ag_swb_handle_vs_at_events(tBTA_AG_SCB* p_scb, uint16_t cmd,
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Dhfp_client_interface_aidl.cc48 tBTA_AG_SCB* get_hfp_active_device_callback() { in get_hfp_active_device_callback()