Searched refs:tBTA_AG_SCB (Results 1 – 10 of 10) sorted by relevance
/system/bt/bta/ag/ |
D | bta_ag_int.h | 193 struct tBTA_AG_SCB { struct 256 tBTA_AG_SCB* p_curr_scb; /* SCB associated with SCO connection */ argument 257 tBTA_AG_SCB* p_xfer_scb; /* SCB associated with SCO transfer */ 265 tBTA_AG_SCB scb[BTA_AG_MAX_NUM_CLIENTS]; /* service control blocks */ 304 extern void bta_ag_scb_dealloc(tBTA_AG_SCB* p_scb); 305 extern uint16_t bta_ag_scb_to_idx(tBTA_AG_SCB* p_scb); 306 extern tBTA_AG_SCB* bta_ag_scb_by_idx(uint16_t idx); 309 extern bool bta_ag_other_scb_open(tBTA_AG_SCB* p_curr_scb); 310 extern bool bta_ag_scb_open(tBTA_AG_SCB* p_curr_scb); 311 extern void bta_ag_sm_execute(tBTA_AG_SCB* p_scb, uint16_t event, [all …]
|
D | bta_ag_act.cc | 60 typedef void (*tBTA_AG_ATCMD_CBACK)(tBTA_AG_SCB* p_scb, uint16_t cmd, 77 static void bta_ag_cback_open(tBTA_AG_SCB* p_scb, const RawAddress& bd_addr, in bta_ag_cback_open() 102 void bta_ag_register(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_register() 134 void bta_ag_deregister(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_deregister() 158 void bta_ag_start_dereg(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_start_dereg() 176 void bta_ag_start_open(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_start_open() 211 void bta_ag_disc_int_res(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_disc_int_res() 267 void bta_ag_disc_acp_res(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_disc_acp_res() 289 void bta_ag_disc_fail(tBTA_AG_SCB* p_scb, in bta_ag_disc_fail() 314 void bta_ag_open_fail(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_open_fail() [all …]
|
D | bta_ag_at.cc | 97 (*p_cb->p_err_cback)((tBTA_AG_SCB*)p_cb->p_user, false, nullptr); in bta_ag_process_at() 138 (*p_cb->p_err_cback)((tBTA_AG_SCB*)p_cb->p_user, false, nullptr); in bta_ag_process_at() 140 (*p_cb->p_cmd_cback)((tBTA_AG_SCB*)p_cb->p_user, in bta_ag_process_at() 145 (*p_cb->p_cmd_cback)((tBTA_AG_SCB*)p_cb->p_user, in bta_ag_process_at() 152 (*p_cb->p_err_cback)((tBTA_AG_SCB*)p_cb->p_user, false, nullptr); in bta_ag_process_at() 157 (*p_cb->p_err_cback)((tBTA_AG_SCB*)p_cb->p_user, true, p_cb->p_cmd_buf); in bta_ag_process_at() 209 (*p_cb->p_err_cback)((tBTA_AG_SCB*)p_cb->p_user, true, p_cb->p_cmd_buf); in bta_ag_at_parse()
|
D | bta_ag_at.h | 57 struct tBTA_AG_SCB; 58 typedef void(tBTA_AG_AT_CMD_CBACK)(tBTA_AG_SCB* p_user, uint16_t command_id, 63 typedef void(tBTA_AG_AT_ERR_CBACK)(tBTA_AG_SCB* p_user, bool unknown,
|
D | bta_ag_main.cc | 78 typedef void (*tBTA_AG_ACTION)(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data); 321 static tBTA_AG_SCB* bta_ag_scb_alloc(void) { in bta_ag_scb_alloc() 322 tBTA_AG_SCB* p_scb = &bta_ag_cb.scb[0]; in bta_ag_scb_alloc() 368 void bta_ag_scb_dealloc(tBTA_AG_SCB* p_scb) { in bta_ag_scb_dealloc() 408 uint16_t bta_ag_scb_to_idx(tBTA_AG_SCB* p_scb) { in bta_ag_scb_to_idx() 423 tBTA_AG_SCB* bta_ag_scb_by_idx(uint16_t idx) { in bta_ag_scb_by_idx() 424 tBTA_AG_SCB* p_scb; in bta_ag_scb_by_idx() 469 tBTA_AG_SCB* p_scb = &bta_ag_cb.scb[0]; in bta_ag_idx_by_bdaddr() 493 bool bta_ag_other_scb_open(tBTA_AG_SCB* p_curr_scb) { in bta_ag_other_scb_open() 494 tBTA_AG_SCB* p_scb = &bta_ag_cb.scb[0]; in bta_ag_other_scb_open() [all …]
|
D | bta_ag_sco.cc | 108 static void bta_ag_create_pending_sco(tBTA_AG_SCB* p_scb, bool is_local); 122 tBTA_AG_SCB* p_scb; in bta_ag_sco_conn_cback() 247 static bool bta_ag_remove_sco(tBTA_AG_SCB* p_scb, bool only_active) { in bta_ag_remove_sco() 282 tBTA_AG_SCB* p_scb = bta_ag_scb_by_idx(bta_ag_idx_by_bdaddr(remote_bda)); in bta_ag_esco_connreq_cback() 343 static void bta_ag_cback_sco(tBTA_AG_SCB* p_scb, uint8_t event) { in bta_ag_cback_sco() 362 static void bta_ag_create_sco(tBTA_AG_SCB* p_scb, bool is_orig) { in bta_ag_create_sco() 477 static void bta_ag_create_pending_sco(tBTA_AG_SCB* p_scb, bool is_local) { in bta_ag_create_pending_sco() 542 tBTA_AG_SCB* p_scb = (tBTA_AG_SCB*)data; in bta_ag_codec_negotiation_timer_cback() 561 void bta_ag_codec_negotiate(tBTA_AG_SCB* p_scb) { in bta_ag_codec_negotiate() 619 static void bta_ag_sco_event(tBTA_AG_SCB* p_scb, uint8_t event) { in bta_ag_sco_event() [all …]
|
D | bta_ag_rfc.cc | 79 tBTA_AG_SCB* p_scb = bta_ag_scb_by_idx(handle); in bta_ag_port_cback() 111 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() 245 void bta_ag_start_servers(tBTA_AG_SCB* p_scb, tBTA_SERVICE_MASK services) { in bta_ag_start_servers() 290 void bta_ag_close_servers(tBTA_AG_SCB* p_scb, tBTA_SERVICE_MASK services) { in bta_ag_close_servers() 311 bool bta_ag_is_server_closed(tBTA_AG_SCB* p_scb) { in bta_ag_is_server_closed() 332 void bta_ag_rfc_do_open(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_rfc_do_open() 366 void bta_ag_rfc_do_close(tBTA_AG_SCB* p_scb, in bta_ag_rfc_do_close()
|
D | bta_ag_cmd.cc | 209 static void bta_ag_send_result(tBTA_AG_SCB* p_scb, size_t code, in bta_ag_send_result() 269 static void bta_ag_send_ok(tBTA_AG_SCB* p_scb) { in bta_ag_send_ok() 284 static void bta_ag_send_error(tBTA_AG_SCB* p_scb, int16_t errcode) { in bta_ag_send_error() 302 static void bta_ag_send_ind(tBTA_AG_SCB* p_scb, uint16_t id, uint16_t value, in bta_ag_send_ind() 418 static uint8_t bta_ag_parse_chld(UNUSED_ATTR tBTA_AG_SCB* p_scb, char* p_s) { in bta_ag_parse_chld() 447 static tBTA_AG_PEER_CODEC bta_ag_parse_bac(tBTA_AG_SCB* p_scb, char* p_s, in bta_ag_parse_bac() 540 bool bta_ag_inband_enabled(tBTA_AG_SCB* p_scb) { in bta_ag_inband_enabled() 555 void bta_ag_send_call_inds(tBTA_AG_SCB* p_scb, tBTA_AG_RES result) { in bta_ag_send_call_inds() 586 void bta_ag_at_hsp_cback(tBTA_AG_SCB* p_scb, uint16_t command_id, in bta_ag_at_hsp_cback() 636 static int bta_ag_find_empty_hf_ind(tBTA_AG_SCB* p_scb) { in bta_ag_find_empty_hf_ind() [all …]
|
D | bta_ag_sdp.cc | 81 tBTA_AG_SCB* p_scb = bta_ag_scb_by_idx(idx); in bta_ag_sdp_cback() 214 void bta_ag_create_records(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_create_records() 245 void bta_ag_del_records(tBTA_AG_SCB* p_scb) { in bta_ag_del_records() 246 tBTA_AG_SCB* p = &bta_ag_cb.scb[0]; in bta_ag_del_records() 292 bool bta_ag_sdp_find_attr(tBTA_AG_SCB* p_scb, tBTA_SERVICE_MASK service) { in bta_ag_sdp_find_attr() 425 void bta_ag_do_disc(tBTA_AG_SCB* p_scb, tBTA_SERVICE_MASK service) { in bta_ag_do_disc() 512 void bta_ag_free_db(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_free_db()
|
D | bta_ag_api.cc | 58 for (const tBTA_AG_SCB& scb : bta_ag_cb.scb) { in BTA_AgEnable()
|