Searched refs:tBTA_AG_SCB (Results 1 – 7 of 7) sorted by relevance
/external/bluetooth/bluedroid/bta/ag/ |
D | bta_ag_int.h | 292 } tBTA_AG_SCB; typedef 298 tBTA_AG_SCB *p_curr_scb; /* SCB associated with SCO connection */ 299 tBTA_AG_SCB *p_xfer_scb; /* SCB associated with SCO transfer */ 310 tBTA_AG_SCB scb[BTA_AG_NUM_SCB]; /* service control blocks */ 342 extern void bta_ag_scb_dealloc(tBTA_AG_SCB *p_scb); 343 extern UINT16 bta_ag_scb_to_idx(tBTA_AG_SCB *p_scb); 344 extern tBTA_AG_SCB *bta_ag_scb_by_idx(UINT16 idx); 347 extern BOOLEAN bta_ag_other_scb_open(tBTA_AG_SCB *p_curr_scb); 348 extern tBTA_AG_SCB *bta_ag_get_other_idle_scb (tBTA_AG_SCB *p_curr_scb); 349 extern void bta_ag_sm_execute(tBTA_AG_SCB *p_scb, UINT16 event, tBTA_AG_DATA *p_data); [all …]
|
D | bta_ag_act.c | 71 typedef void (*tBTA_AG_ATCMD_CBACK)(tBTA_AG_SCB *p_scb, UINT16 cmd, UINT8 arg_type, 90 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() 123 void bta_ag_register(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data) in bta_ag_register() 157 void bta_ag_deregister(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data) in bta_ag_deregister() 182 void bta_ag_start_dereg(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data) in bta_ag_start_dereg() 201 void bta_ag_start_open(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data) in bta_ag_start_open() 243 void bta_ag_disc_int_res(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data) in bta_ag_disc_int_res() 311 void bta_ag_disc_acp_res(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data) in bta_ag_disc_acp_res() 335 void bta_ag_disc_fail(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data) in bta_ag_disc_fail() 356 void bta_ag_open_fail(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data) in bta_ag_open_fail() [all …]
|
D | bta_ag_main.c | 94 typedef void (*tBTA_AG_ACTION)(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data); 293 p_buf->layer_specific = bta_ag_scb_to_idx((tBTA_AG_SCB *) p_tle->param); in bta_ag_timer_cback() 308 static tBTA_AG_SCB *bta_ag_scb_alloc(void) in bta_ag_scb_alloc() 310 tBTA_AG_SCB *p_scb = &bta_ag_cb.scb[0]; in bta_ag_scb_alloc() 349 void bta_ag_scb_dealloc(tBTA_AG_SCB *p_scb) in bta_ag_scb_dealloc() 363 memset(p_scb, 0, sizeof(tBTA_AG_SCB)); in bta_ag_scb_dealloc() 396 UINT16 bta_ag_scb_to_idx(tBTA_AG_SCB *p_scb) in bta_ag_scb_to_idx() 412 tBTA_AG_SCB *bta_ag_scb_by_idx(UINT16 idx) in bta_ag_scb_by_idx() 414 tBTA_AG_SCB *p_scb; in bta_ag_scb_by_idx() 468 tBTA_AG_SCB *p_scb = &bta_ag_cb.scb[0]; in bta_ag_idx_by_bdaddr() [all …]
|
D | bta_ag_sco.c | 136 tBTA_AG_SCB *p_scb; in bta_ag_sco_conn_cback() 285 static BOOLEAN bta_ag_remove_sco(tBTA_AG_SCB *p_scb, BOOLEAN only_active) in bta_ag_remove_sco() 328 tBTA_AG_SCB *p_scb; in bta_ag_esco_connreq_cback() 394 static void bta_ag_cback_sco(tBTA_AG_SCB *p_scb, UINT8 event) in bta_ag_cback_sco() 415 static void bta_ag_create_sco(tBTA_AG_SCB *p_scb, BOOLEAN is_orig) in bta_ag_create_sco() 598 tBTA_AG_SCB *p_scb; in bta_ag_cn_timer_cback() 602 p_scb = (tBTA_AG_SCB *)p_tle->param; in bta_ag_cn_timer_cback() 625 void bta_ag_codec_negotiate(tBTA_AG_SCB *p_scb) in bta_ag_codec_negotiate() 660 static void bta_ag_sco_event(tBTA_AG_SCB *p_scb, UINT8 event) in bta_ag_sco_event() 664 tBTA_AG_SCB *p_cn_scb = NULL; /* For codec negotiation */ in bta_ag_sco_event() [all …]
|
D | bta_ag_rfc.c | 91 tBTA_AG_SCB *p_scb; in bta_ag_port_cback() 125 tBTA_AG_SCB *p_scb; in bta_ag_mgmt_cback() 256 void bta_ag_setup_port(tBTA_AG_SCB *p_scb, UINT16 handle) in bta_ag_setup_port() 280 void bta_ag_start_servers(tBTA_AG_SCB *p_scb, tBTA_SERVICE_MASK services) in bta_ag_start_servers() 321 void bta_ag_close_servers(tBTA_AG_SCB *p_scb, tBTA_SERVICE_MASK services) in bta_ag_close_servers() 347 BOOLEAN bta_ag_is_server_closed (tBTA_AG_SCB *p_scb) in bta_ag_is_server_closed() 371 void bta_ag_rfc_do_open(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data) in bta_ag_rfc_do_open() 400 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_sdp.c | 74 tBTA_AG_SCB *p_scb; in bta_ag_sdp_cback() 215 void bta_ag_create_records(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data) in bta_ag_create_records() 253 void bta_ag_del_records(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data) in bta_ag_del_records() 255 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() 493 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 | 329 static void bta_ag_send_result(tBTA_AG_SCB *p_scb, UINT8 code, char *p_arg, in bta_ag_send_result() 400 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() 464 static void bta_ag_send_ok(tBTA_AG_SCB *p_scb) in bta_ag_send_ok() 480 static void bta_ag_send_error(tBTA_AG_SCB *p_scb, INT16 errcode) in bta_ag_send_error() 499 static void bta_ag_send_ind(tBTA_AG_SCB *p_scb, UINT16 id, UINT16 value, BOOLEAN on_demand) in bta_ag_send_ind() 630 static UINT8 bta_ag_parse_chld(tBTA_AG_SCB *p_scb, char *p_s) in bta_ag_parse_chld() 656 static tBTA_AG_PEER_CODEC bta_ag_parse_bac(tBTA_AG_SCB *p_scb, char *p_s) in bta_ag_parse_bac() 760 BOOLEAN bta_ag_inband_enabled(tBTA_AG_SCB *p_scb) in bta_ag_inband_enabled() 783 void bta_ag_send_call_inds(tBTA_AG_SCB *p_scb, tBTA_AG_RES result) in bta_ag_send_call_inds() 820 void bta_ag_at_hsp_cback(tBTA_AG_SCB *p_scb, UINT16 cmd, UINT8 arg_type, in bta_ag_at_hsp_cback() [all …]
|