/external/bluetooth/bluedroid/bta/hl/ |
D | bta_hl_act.c | 51 static void bta_hl_sdp_cback(UINT8 sdp_op, UINT8 app_idx, UINT8 mcl_idx, 84 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_APP_CB *p_acb = BTA_HL_GET_APP_CB_PTR(app_idx); in bta_hl_dch_mca_cong_change() 88 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_dch_mca_cong_change() 89 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() 118 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_APP_CB *p_acb = BTA_HL_GET_APP_CB_PTR(app_idx); in bta_hl_dch_echo_test() 122 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_dch_echo_test() 123 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_echo_test() 148 void bta_hl_dch_sdp_init(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_sdp_init() argument [all …]
|
D | bta_hl_int.h | 354 UINT8 app_idx; member 374 UINT8 app_idx; member 384 UINT8 app_idx; member 547 UINT8 app_idx; member 555 UINT8 app_idx; member 590 #define BTA_HL_GET_APP_CB_PTR(app_idx) &(bta_hl_cb.acb[(app_idx)]) argument 591 #define BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx) &(bta_hl_cb.acb[(app_idx)].mcb[(mcl_idx)]) argument 592 #define BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx) &(bta_hl_cb.acb[(app_idx)].mcb[(mcl_idx)].… argument 593 #define BTA_HL_GET_MDL_CFG_PTR(app_idx, item_idx) &(bta_hl_cb.acb[(app_idx)].mdl_cfg[(item_idx)]) argument 594 #define BTA_HL_GET_ECHO_CFG_PTR(app_idx) &(bta_hl_cb.acb[(app_idx)].sup_feature.echo_cfg) argument [all …]
|
D | bta_hl_main.c | 90 typedef void (*tBTA_HL_DCH_ACTION)(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, tBTA_HL_DATA *p_dat… 308 typedef void (*tBTA_HL_CCH_ACTION)(UINT8 app_idx, UINT8 mcl_idx, tBTA_HL_DATA *p_data); 418 void bta_hl_cch_sm_execute(UINT8 app_idx, UINT8 mcl_idx, in bta_hl_cch_sm_execute() argument 424 tBTA_HL_MCL_CB *p_cb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_cch_sm_execute() 446 (*bta_hl_cch_action[action])(app_idx, mcl_idx, p_data); in bta_hl_cch_sm_execute() 476 void bta_hl_dch_sm_execute(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_sm_execute() argument 482 tBTA_HL_MDL_CB *p_cb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_sm_execute() 503 (*bta_hl_dch_action[action])(app_idx, mcl_idx, mdl_idx, p_data); in bta_hl_dch_sm_execute() 684 UINT8 app_idx; in bta_hl_api_register() local 693 if (bta_hl_find_avail_app_idx(&app_idx)) in bta_hl_api_register() [all …]
|
D | bta_hl_utils.c | 51 BOOLEAN bta_hl_set_ctrl_psm_for_dch(UINT8 app_idx, UINT8 mcl_idx, in bta_hl_set_ctrl_psm_for_dch() argument 54 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_set_ctrl_psm_for_dch() 274 void bta_hl_clean_mdl_cb(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx) in bta_hl_clean_mdl_cb() argument 276 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_clean_mdl_cb() 279 app_idx, mcl_idx, mdl_idx); in bta_hl_clean_mdl_cb() 333 BOOLEAN bta_hl_find_service_in_db( UINT8 app_idx, UINT8 mcl_idx, in bta_hl_find_service_in_db() argument 337 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_find_service_in_db() 373 UINT16 bta_hl_get_service_uuids(UINT8 sdp_oper, UINT8 app_idx, UINT8 mcl_idx, in bta_hl_get_service_uuids() argument 384 p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_get_service_uuids() 419 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 …]
|
D | bta_hl_sdp.c | 375 tBTA_HL_STATUS bta_hl_sdp_register (UINT8 app_idx) in bta_hl_sdp_register() argument 388 tBTA_HL_APP_CB *p_cb = BTA_HL_GET_APP_CB_PTR(app_idx); in bta_hl_sdp_register() 393 APPL_TRACE_DEBUG("bta_hl_sdp_register app_idx=%d",app_idx); in bta_hl_sdp_register()
|
/external/bluetooth/bluedroid/btif/src/ |
D | btif_hl.c | 71 extern void btif_hl_release_mcl_sockets(UINT8 app_idx, UINT8 mcl_idx); 72 extern BOOLEAN btif_hl_create_socket(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx); 73 extern void btif_hl_release_socket(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx); 315 void btif_hl_stop_cch_timer(UINT8 app_idx, UINT8 mcl_idx) in btif_hl_stop_cch_timer() argument 317 btif_hl_mcl_cb_t *p_mcb = BTIF_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in btif_hl_stop_cch_timer() 319 __FUNCTION__,app_idx, mcl_idx, p_mcb->cch_timer.in_use); in btif_hl_stop_cch_timer() 336 void btif_hl_start_cch_timer(UINT8 app_idx, UINT8 mcl_idx) in btif_hl_start_cch_timer() argument 338 btif_hl_mcl_cb_t *p_mcb = BTIF_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in btif_hl_start_cch_timer() 340 __FUNCTION__,app_idx, mcl_idx, in btif_hl_start_cch_timer() 370 static BOOLEAN btif_hl_find_mdl_idx(UINT8 app_idx, UINT8 mcl_idx, UINT16 mdl_id, in btif_hl_find_mdl_idx() argument [all …]
|
/external/bluetooth/bluedroid/btif/include/ |
D | btif_hl.h | 125 UINT8 app_idx; member 135 UINT8 app_idx; member 255 UINT8 app_idx; member 283 UINT8 app_idx; member 303 #define BTIF_HL_GET_APP_CB_PTR(app_idx) &(btif_hl_cb.acb[(app_idx)]) argument 304 #define BTIF_HL_GET_MCL_CB_PTR(app_idx, mcl_idx) &(btif_hl_cb.acb[(app_idx)].mcb[(mcl_idx)]) argument 305 #define BTIF_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx) &(btif_hl_cb.acb[(app_idx)].mcb[(mcl_idx)… argument 306 #define BTIF_HL_GET_PCB_PTR(app_idx, mcl_idx) &(btif_hl_cb.acb[app_idx].mcb[mcl_idx].pcb) argument 307 #define BTIF_HL_GET_MDL_CFG_PTR(app_idx, item_idx) &(btif_hl_cb.acb[(app_idx)].mdl_cfg[(item_idx)]) argument 308 #define BTIF_HL_GET_MDL_CFG_CHANNEL_ID_PTR(app_idx, item_idx) &(btif_hl_cb.acb[(app_idx)].mdl_cfg_c… argument [all …]
|
D | btif_storage.h | 187 bt_status_t btif_storage_read_hl_app_data(UINT8 app_idx, char *value, int value_size); 199 bt_status_t btif_storage_write_hl_app_data(UINT8 app_idx, char *value, int value_size); 211 bt_status_t btif_storage_read_hl_mdl_data(UINT8 app_idx, char *value, int value_size); 223 bt_status_t btif_storage_write_hl_mdl_data(UINT8 app_idx, char *value, int value_size);
|
/external/bluetooth/bluedroid/btif/co/ |
D | bta_hl_co.c | 74 UINT8 app_idx; in bta_hl_co_get_num_of_mdep() local 77 if (btif_hl_find_app_idx(app_id, &app_idx)) in bta_hl_co_get_num_of_mdep() 79 *p_num_of_mdep = p_btif_hl_cb->acb[app_idx].sup_feature.num_of_mdeps; in bta_hl_co_get_num_of_mdep() 105 UINT8 app_idx; in bta_hl_co_advrtise_source_sdp() local 107 if (btif_hl_find_app_idx(app_id, &app_idx)) in bta_hl_co_advrtise_source_sdp() 109 advertize_source_sdp = p_btif_hl_cb->acb[app_idx].sup_feature.advertize_source_sdp; in bta_hl_co_advrtise_source_sdp() 141 UINT8 app_idx; in bta_hl_co_get_mdep_config() local 147 if (btif_hl_find_app_idx(app_id, &app_idx)) in bta_hl_co_get_mdep_config() 150 p_btif_hl_cb->acb[app_idx].sup_feature.mdep[idx].mdep_id = mdep_id; in bta_hl_co_get_mdep_config() 152 &p_btif_hl_cb->acb[app_idx].sup_feature.mdep[idx].mdep_cfg, in bta_hl_co_get_mdep_config() [all …]
|