Searched refs:tBTA_AG_SCB (Results 1 – 10 of 10) sorted by relevance
/system/bt/bta/ag/ |
D | bta_ag_int.h | 199 struct tBTA_AG_SCB { struct 270 tBTA_AG_SCB* p_curr_scb; /* SCB associated with SCO connection */ argument 271 tBTA_AG_SCB* p_xfer_scb; /* SCB associated with SCO transfer */ 279 tBTA_AG_SCB scb[BTA_AG_MAX_NUM_CLIENTS]; /* service control blocks */ 318 extern void bta_ag_scb_dealloc(tBTA_AG_SCB* p_scb); 319 extern uint16_t bta_ag_scb_to_idx(tBTA_AG_SCB* p_scb); 320 extern tBTA_AG_SCB* bta_ag_scb_by_idx(uint16_t idx); 323 extern bool bta_ag_other_scb_open(tBTA_AG_SCB* p_curr_scb); 324 extern bool bta_ag_scb_open(tBTA_AG_SCB* p_curr_scb); 325 extern void bta_ag_sm_execute(tBTA_AG_SCB* p_scb, uint16_t event, [all …]
|
D | bta_ag_act.cc | 57 typedef void (*tBTA_AG_ATCMD_CBACK)(tBTA_AG_SCB* p_scb, uint16_t cmd, 74 static void bta_ag_cback_open(tBTA_AG_SCB* p_scb, const RawAddress& bd_addr, in bta_ag_cback_open() 99 void bta_ag_register(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_register() 131 void bta_ag_deregister(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_deregister() 155 void bta_ag_start_dereg(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_start_dereg() 173 void bta_ag_start_open(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_start_open() 207 void bta_ag_disc_int_res(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_disc_int_res() 263 void bta_ag_disc_acp_res(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_disc_acp_res() 285 void bta_ag_disc_fail(tBTA_AG_SCB* p_scb, in bta_ag_disc_fail() 310 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 | 101 (*p_cb->p_err_cback)((tBTA_AG_SCB*)p_cb->p_user, false, nullptr); in bta_ag_process_at() 143 (*p_cb->p_err_cback)((tBTA_AG_SCB*)p_cb->p_user, false, nullptr); in bta_ag_process_at() 145 (*p_cb->p_cmd_cback)((tBTA_AG_SCB*)p_cb->p_user, in bta_ag_process_at() 150 (*p_cb->p_cmd_cback)((tBTA_AG_SCB*)p_cb->p_user, in bta_ag_process_at() 158 (*p_cb->p_err_cback)((tBTA_AG_SCB*)p_cb->p_user, false, nullptr); in bta_ag_process_at() 163 (*p_cb->p_err_cback)((tBTA_AG_SCB*)p_cb->p_user, true, p_cb->p_cmd_buf); in bta_ag_process_at() 215 (*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_main.cc | 134 static tBTA_AG_SCB* bta_ag_scb_alloc(void) { in bta_ag_scb_alloc() 135 tBTA_AG_SCB* p_scb = &bta_ag_cb.scb[0]; in bta_ag_scb_alloc() 181 void bta_ag_scb_dealloc(tBTA_AG_SCB* p_scb) { in bta_ag_scb_dealloc() 221 uint16_t bta_ag_scb_to_idx(tBTA_AG_SCB* p_scb) { in bta_ag_scb_to_idx() 236 tBTA_AG_SCB* bta_ag_scb_by_idx(uint16_t idx) { in bta_ag_scb_by_idx() 237 tBTA_AG_SCB* p_scb; in bta_ag_scb_by_idx() 282 tBTA_AG_SCB* p_scb = &bta_ag_cb.scb[0]; in bta_ag_idx_by_bdaddr() 306 bool bta_ag_other_scb_open(tBTA_AG_SCB* p_curr_scb) { in bta_ag_other_scb_open() 307 tBTA_AG_SCB* p_scb = &bta_ag_cb.scb[0]; in bta_ag_other_scb_open() 329 bool bta_ag_scb_open(tBTA_AG_SCB* p_curr_scb) { in bta_ag_scb_open() [all …]
|
D | bta_ag_at.h | 61 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,
|
D | bta_ag_sco.cc | 112 static void bta_ag_create_pending_sco(tBTA_AG_SCB* p_scb, bool is_local); 126 tBTA_AG_SCB* p_scb; in bta_ag_sco_conn_cback() 246 static bool bta_ag_remove_sco(tBTA_AG_SCB* p_scb, bool only_active) { in bta_ag_remove_sco() 281 tBTA_AG_SCB* p_scb = bta_ag_scb_by_idx(bta_ag_idx_by_bdaddr(remote_bda)); in bta_ag_esco_connreq_cback() 342 static void bta_ag_cback_sco(tBTA_AG_SCB* p_scb, tBTA_AG_EVT event) { in bta_ag_cback_sco() 361 static void bta_ag_create_sco(tBTA_AG_SCB* p_scb, bool is_orig) { in bta_ag_create_sco() 460 static void bta_ag_create_pending_sco(tBTA_AG_SCB* p_scb, bool is_local) { in bta_ag_create_pending_sco() 534 tBTA_AG_SCB* p_scb = (tBTA_AG_SCB*)data; in bta_ag_codec_negotiation_timer_cback() 553 void bta_ag_codec_negotiate(tBTA_AG_SCB* p_scb) { in bta_ag_codec_negotiate() 599 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 | 73 tBTA_AG_SCB* p_scb = bta_ag_scb_by_idx(handle); in bta_ag_port_cback() 105 tBTA_AG_SCB* p_scb = bta_ag_scb_by_idx(handle); in bta_ag_mgmt_cback() 215 void bta_ag_setup_port(tBTA_AG_SCB* p_scb, uint16_t handle) { in bta_ag_setup_port() 239 void bta_ag_start_servers(tBTA_AG_SCB* p_scb, tBTA_SERVICE_MASK services) { in bta_ag_start_servers() 283 void bta_ag_close_servers(tBTA_AG_SCB* p_scb, tBTA_SERVICE_MASK services) { in bta_ag_close_servers() 304 bool bta_ag_is_server_closed(tBTA_AG_SCB* p_scb) { in bta_ag_is_server_closed() 325 void bta_ag_rfc_do_open(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_rfc_do_open() 356 void bta_ag_rfc_do_close(tBTA_AG_SCB* p_scb, in bta_ag_rfc_do_close()
|
D | bta_ag_cmd.cc | 204 static void bta_ag_send_result(tBTA_AG_SCB* p_scb, size_t code, in bta_ag_send_result() 263 static void bta_ag_send_ok(tBTA_AG_SCB* p_scb) { in bta_ag_send_ok() 278 static void bta_ag_send_error(tBTA_AG_SCB* p_scb, int16_t errcode) { in bta_ag_send_error() 296 static void bta_ag_send_ind(tBTA_AG_SCB* p_scb, uint16_t id, uint16_t value, in bta_ag_send_ind() 412 static uint8_t bta_ag_parse_chld(UNUSED_ATTR tBTA_AG_SCB* p_scb, char* p_s) { in bta_ag_parse_chld() 441 static tBTA_AG_PEER_CODEC bta_ag_parse_bac(tBTA_AG_SCB* p_scb, char* p_s, in bta_ag_parse_bac() 534 bool bta_ag_inband_enabled(tBTA_AG_SCB* p_scb) { in bta_ag_inband_enabled() 549 void bta_ag_send_call_inds(tBTA_AG_SCB* p_scb, tBTA_AG_RES result) { in bta_ag_send_call_inds() 580 void bta_ag_at_hsp_cback(tBTA_AG_SCB* p_scb, uint16_t command_id, in bta_ag_at_hsp_cback() 634 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 | 78 tBTA_AG_SCB* p_scb = bta_ag_scb_by_idx(idx); in bta_ag_sdp_cback() 211 void bta_ag_create_records(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_create_records() 242 void bta_ag_del_records(tBTA_AG_SCB* p_scb) { in bta_ag_del_records() 243 tBTA_AG_SCB* p = &bta_ag_cb.scb[0]; in bta_ag_del_records() 289 bool bta_ag_sdp_find_attr(tBTA_AG_SCB* p_scb, tBTA_SERVICE_MASK service) { in bta_ag_sdp_find_attr() 422 void bta_ag_do_disc(tBTA_AG_SCB* p_scb, tBTA_SERVICE_MASK service) { in bta_ag_do_disc() 515 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 | 59 for (const tBTA_AG_SCB& scb : bta_ag_cb.scb) { in BTA_AgEnable()
|