/system/bt/bta/hl/ |
D | bta_hl_act.c | 50 static void bta_hl_sdp_cback(UINT8 sdp_op, UINT8 app_idx, UINT8 mcl_idx, 83 void bta_hl_dch_mca_cong_change(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_cong_change() argument 87 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_dch_mca_cong_change() 88 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_cong_change() 117 void bta_hl_dch_echo_test(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_echo_test() argument 121 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_dch_echo_test() 122 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_echo_test() 147 void bta_hl_dch_sdp_init(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_sdp_init() argument 150 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_dch_sdp_init() 151 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_sdp_init() [all …]
|
D | bta_hl_int.h | 351 UINT8 mcl_idx; member 371 UINT8 mcl_idx; member 381 UINT8 mcl_idx; member 544 UINT8 mcl_idx; member 552 UINT8 mcl_idx; member 587 #define BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx) &(bta_hl_cb.acb[(app_idx)].mcb[(mcl_idx)]) argument 588 #define BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx) &(bta_hl_cb.acb[(app_idx)].mcb[(mcl_idx)].… argument 615 extern void bta_hl_dch_ci_get_tx_data(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, 617 extern void bta_hl_dch_ci_put_rx_data(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, 619 extern void bta_hl_dch_ci_get_echo_data(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, [all …]
|
D | bta_hl_main.c | 89 typedef void (*tBTA_HL_DCH_ACTION)(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, tBTA_HL_DATA *p_dat… 307 typedef void (*tBTA_HL_CCH_ACTION)(UINT8 app_idx, UINT8 mcl_idx, tBTA_HL_DATA *p_data); 417 void bta_hl_cch_sm_execute(UINT8 app_idx, UINT8 mcl_idx, in bta_hl_cch_sm_execute() argument 423 tBTA_HL_MCL_CB *p_cb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_cch_sm_execute() 445 (*bta_hl_cch_action[action])(app_idx, mcl_idx, p_data); in bta_hl_cch_sm_execute() 475 void bta_hl_dch_sm_execute(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_sm_execute() argument 481 tBTA_HL_MDL_CB *p_cb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_sm_execute() 502 (*bta_hl_dch_action[action])(app_idx, mcl_idx, mdl_idx, p_data); in bta_hl_dch_sm_execute() 801 UINT8 app_idx, mcl_idx; in bta_hl_api_cch_open() local 809 if (!bta_hl_find_mcl_idx(app_idx, p_data->api_cch_open.bd_addr, &mcl_idx)) in bta_hl_api_cch_open() [all …]
|
D | bta_hl_utils.c | 49 BOOLEAN bta_hl_set_ctrl_psm_for_dch(UINT8 app_idx, UINT8 mcl_idx, in bta_hl_set_ctrl_psm_for_dch() argument 52 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_set_ctrl_psm_for_dch() 244 void bta_hl_clean_mdl_cb(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx) in bta_hl_clean_mdl_cb() argument 246 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_clean_mdl_cb() 249 app_idx, mcl_idx, mdl_idx); in bta_hl_clean_mdl_cb() 295 BOOLEAN bta_hl_find_service_in_db( UINT8 app_idx, UINT8 mcl_idx, in bta_hl_find_service_in_db() argument 299 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_find_service_in_db() 335 UINT16 bta_hl_get_service_uuids(UINT8 sdp_oper, UINT8 app_idx, UINT8 mcl_idx, in bta_hl_get_service_uuids() argument 346 p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_get_service_uuids() 381 BOOLEAN bta_hl_find_echo_cfg_rsp(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdep_idx, UINT8 cfg, in bta_hl_find_echo_cfg_rsp() argument [all …]
|
/system/bt/btif/src/ |
D | btif_hl.c | 69 extern void btif_hl_release_mcl_sockets(UINT8 app_idx, UINT8 mcl_idx); 70 extern BOOLEAN btif_hl_create_socket(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx); 71 extern void btif_hl_release_socket(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx); 296 void btif_hl_stop_cch_timer(UINT8 app_idx, UINT8 mcl_idx) in btif_hl_stop_cch_timer() argument 298 btif_hl_mcl_cb_t *p_mcb = BTIF_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in btif_hl_stop_cch_timer() 300 BTIF_TRACE_DEBUG("%s app_idx=%d, mcl_idx=%d", __func__, app_idx, mcl_idx); in btif_hl_stop_cch_timer() 312 void btif_hl_start_cch_timer(UINT8 app_idx, UINT8 mcl_idx) in btif_hl_start_cch_timer() argument 314 btif_hl_mcl_cb_t *p_mcb = BTIF_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in btif_hl_start_cch_timer() 315 BTIF_TRACE_DEBUG("%s app_idx=%d, mcl_idx=%d", __func__, app_idx, mcl_idx); in btif_hl_start_cch_timer() 333 static BOOLEAN btif_hl_find_mdl_idx(UINT8 app_idx, UINT8 mcl_idx, UINT16 mdl_id, in btif_hl_find_mdl_idx() argument [all …]
|
/system/bt/btif/include/ |
D | btif_hl.h | 140 UINT8 mcl_idx; member 305 #define BTIF_HL_GET_MCL_CB_PTR(app_idx, mcl_idx) &(btif_hl_cb.acb[(app_idx)].mcb[(mcl_idx)]) argument 306 #define BTIF_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx) &(btif_hl_cb.acb[(app_idx)].mcb[(mcl_idx)… argument 307 #define BTIF_HL_GET_PCB_PTR(app_idx, mcl_idx) &(btif_hl_cb.acb[app_idx].mcb[mcl_idx].pcb) argument 317 extern BOOLEAN btif_hl_find_avail_mdl_idx(UINT8 app_idx, UINT8 mcl_idx, 326 extern void btif_hl_abort_pending_chan_setup(UINT8 app_idx, UINT8 mcl_idx); 327 extern BOOLEAN btif_hl_proc_pending_op(UINT8 app_idx, UINT8 mcl_idx);
|
/system/bt/btif/co/ |
D | bta_hl_co.c | 324 UINT8 app_idx, mcl_idx, mdl_idx; in bta_hl_co_get_tx_data() local 331 if (btif_hl_find_mdl_idx_using_handle(mdl_handle, &app_idx, &mcl_idx, &mdl_idx)) in bta_hl_co_get_tx_data() 333 p_dcb = BTIF_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_co_get_tx_data() 369 UINT8 app_idx, mcl_idx, mdl_idx; in bta_hl_co_put_rx_data() local 375 if (btif_hl_find_mdl_idx_using_handle(mdl_handle, &app_idx, &mcl_idx, &mdl_idx)) in bta_hl_co_put_rx_data() 377 p_dcb = BTIF_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_co_put_rx_data() 383 app_idx, mcl_idx, mdl_idx, data_size); in bta_hl_co_put_rx_data()
|