Searched refs:tBTA_AG_SCB (Results 1 – 7 of 7) sorted by relevance
/system/bt/bta/ag/ |
D | bta_ag_int.h | 301 } tBTA_AG_SCB; typedef 307 tBTA_AG_SCB *p_curr_scb; /* SCB associated with SCO connection */ 308 tBTA_AG_SCB *p_xfer_scb; /* SCB associated with SCO transfer */ 319 tBTA_AG_SCB scb[BTA_AG_NUM_SCB]; /* service control blocks */ 351 extern void bta_ag_scb_dealloc(tBTA_AG_SCB *p_scb); 352 extern UINT16 bta_ag_scb_to_idx(tBTA_AG_SCB *p_scb); 353 extern tBTA_AG_SCB *bta_ag_scb_by_idx(UINT16 idx); 356 extern BOOLEAN bta_ag_other_scb_open(tBTA_AG_SCB *p_curr_scb); 357 extern BOOLEAN bta_ag_scb_open(tBTA_AG_SCB *p_curr_scb); 358 extern tBTA_AG_SCB *bta_ag_get_other_idle_scb (tBTA_AG_SCB *p_curr_scb); [all …]
|
D | bta_ag_main.c | 96 typedef void (*tBTA_AG_ACTION)(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data); 287 static tBTA_AG_SCB *bta_ag_scb_alloc(void) in bta_ag_scb_alloc() 289 tBTA_AG_SCB *p_scb = &bta_ag_cb.scb[0]; in bta_ag_scb_alloc() 337 void bta_ag_scb_dealloc(tBTA_AG_SCB *p_scb) in bta_ag_scb_dealloc() 352 memset(p_scb, 0, sizeof(tBTA_AG_SCB)); in bta_ag_scb_dealloc() 385 UINT16 bta_ag_scb_to_idx(tBTA_AG_SCB *p_scb) in bta_ag_scb_to_idx() 401 tBTA_AG_SCB *bta_ag_scb_by_idx(UINT16 idx) in bta_ag_scb_by_idx() 403 tBTA_AG_SCB *p_scb; in bta_ag_scb_by_idx() 457 tBTA_AG_SCB *p_scb = &bta_ag_cb.scb[0]; in bta_ag_idx_by_bdaddr() 486 BOOLEAN bta_ag_other_scb_open(tBTA_AG_SCB *p_curr_scb) in bta_ag_other_scb_open() [all …]
|
D | bta_ag_act.c | 70 typedef void (*tBTA_AG_ATCMD_CBACK)(tBTA_AG_SCB *p_scb, UINT16 cmd, UINT8 arg_type, 89 static void bta_ag_cback_open(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data, tBTA_AG_STATUS status) in bta_ag_cback_open() 122 void bta_ag_register(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data) in bta_ag_register() 156 void bta_ag_deregister(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data) in bta_ag_deregister() 181 void bta_ag_start_dereg(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data) in bta_ag_start_dereg() 200 void bta_ag_start_open(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data) in bta_ag_start_open() 242 void bta_ag_disc_int_res(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data) in bta_ag_disc_int_res() 310 void bta_ag_disc_acp_res(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data) in bta_ag_disc_acp_res() 334 void bta_ag_disc_fail(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data) in bta_ag_disc_fail() 360 void bta_ag_open_fail(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data) in bta_ag_open_fail() [all …]
|
D | bta_ag_rfc.c | 90 tBTA_AG_SCB *p_scb; in bta_ag_port_cback() 122 tBTA_AG_SCB *p_scb; in bta_ag_mgmt_cback() 253 void bta_ag_setup_port(tBTA_AG_SCB *p_scb, UINT16 handle) in bta_ag_setup_port() 277 void bta_ag_start_servers(tBTA_AG_SCB *p_scb, tBTA_SERVICE_MASK services) in bta_ag_start_servers() 318 void bta_ag_close_servers(tBTA_AG_SCB *p_scb, tBTA_SERVICE_MASK services) in bta_ag_close_servers() 344 BOOLEAN bta_ag_is_server_closed (tBTA_AG_SCB *p_scb) in bta_ag_is_server_closed() 368 void bta_ag_rfc_do_open(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data) in bta_ag_rfc_do_open() 397 void bta_ag_rfc_do_close(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data) in bta_ag_rfc_do_close()
|
D | bta_ag_sco.c | 158 tBTA_AG_SCB *p_scb; in bta_ag_sco_conn_cback() 306 static BOOLEAN bta_ag_remove_sco(tBTA_AG_SCB *p_scb, BOOLEAN only_active) in bta_ag_remove_sco() 349 tBTA_AG_SCB *p_scb; in bta_ag_esco_connreq_cback() 415 static void bta_ag_cback_sco(tBTA_AG_SCB *p_scb, UINT8 event) in bta_ag_cback_sco() 436 static void bta_ag_create_sco(tBTA_AG_SCB *p_scb, BOOLEAN is_orig) in bta_ag_create_sco() 624 BOOLEAN bta_ag_attempt_msbc_safe_settings(tBTA_AG_SCB *p_scb) in bta_ag_attempt_msbc_safe_settings() 645 tBTA_AG_SCB *p_scb = (tBTA_AG_SCB *)data; in bta_ag_codec_negotiation_timer_cback() 664 void bta_ag_codec_negotiate(tBTA_AG_SCB *p_scb) in bta_ag_codec_negotiate() 704 static void bta_ag_sco_event(tBTA_AG_SCB *p_scb, UINT8 event) in bta_ag_sco_event() 708 tBTA_AG_SCB *p_cn_scb = NULL; /* For codec negotiation */ in bta_ag_sco_event() [all …]
|
D | bta_ag_sdp.c | 74 tBTA_AG_SCB *p_scb; in bta_ag_sdp_cback() 214 void bta_ag_create_records(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data) in bta_ag_create_records() 252 void bta_ag_del_records(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data) in bta_ag_del_records() 254 tBTA_AG_SCB *p = &bta_ag_cb.scb[0]; in bta_ag_del_records() 305 BOOLEAN bta_ag_sdp_find_attr(tBTA_AG_SCB *p_scb, tBTA_SERVICE_MASK service) in bta_ag_sdp_find_attr() 405 void bta_ag_do_disc(tBTA_AG_SCB *p_scb, tBTA_SERVICE_MASK service) in bta_ag_do_disc() 489 void bta_ag_free_db(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data) in bta_ag_free_db()
|
D | bta_ag_cmd.c | 335 static void bta_ag_send_result(tBTA_AG_SCB *p_scb, UINT8 code, char *p_arg, in bta_ag_send_result() 406 static void bta_ag_send_multi_result(tBTA_AG_SCB *p_scb, tBTA_AG_MULTI_RESULT_CB *m_res_cb) in bta_ag_send_multi_result() 470 static void bta_ag_send_ok(tBTA_AG_SCB *p_scb) in bta_ag_send_ok() 486 static void bta_ag_send_error(tBTA_AG_SCB *p_scb, INT16 errcode) in bta_ag_send_error() 505 static void bta_ag_send_ind(tBTA_AG_SCB *p_scb, UINT16 id, UINT16 value, BOOLEAN on_demand) in bta_ag_send_ind() 637 static UINT8 bta_ag_parse_chld(tBTA_AG_SCB *p_scb, char *p_s) in bta_ag_parse_chld() 675 static tBTA_AG_PEER_CODEC bta_ag_parse_bac(tBTA_AG_SCB *p_scb, char *p_s) in bta_ag_parse_bac() 779 BOOLEAN bta_ag_inband_enabled(tBTA_AG_SCB *p_scb) in bta_ag_inband_enabled() 802 void bta_ag_send_call_inds(tBTA_AG_SCB *p_scb, tBTA_AG_RES result) in bta_ag_send_call_inds() 839 void bta_ag_at_hsp_cback(tBTA_AG_SCB *p_scb, UINT16 cmd, UINT8 arg_type, in bta_ag_at_hsp_cback() [all …]
|