/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, 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 86 tBTA_HL_APP_CB *p_acb = BTA_HL_GET_APP_CB_PTR(app_idx); in bta_hl_dch_mca_cong_change() 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 120 tBTA_HL_APP_CB *p_acb = BTA_HL_GET_APP_CB_PTR(app_idx); in bta_hl_dch_echo_test() 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() 146 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 | 336 UINT8 app_idx; member 356 UINT8 app_idx; member 366 UINT8 app_idx; member 525 UINT8 app_idx; member 533 UINT8 app_idx; member 568 #define BTA_HL_GET_APP_CB_PTR(app_idx) &(bta_hl_cb.acb[(app_idx)]) argument 569 #define BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx) &(bta_hl_cb.acb[(app_idx)].mcb[(mcl_idx)]) argument 570 #define BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx) &(bta_hl_cb.acb[(app_idx)].mcb[(mcl_idx)].… argument 571 #define BTA_HL_GET_MDL_CFG_PTR(app_idx, item_idx) &(bta_hl_cb.acb[(app_idx)].mdl_cfg[(item_idx)]) argument 572 #define BTA_HL_GET_ECHO_CFG_PTR(app_idx) &(bta_hl_cb.acb[(app_idx)].sup_feature.echo_cfg) argument [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() 273 void bta_hl_clean_mdl_cb(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx) in bta_hl_clean_mdl_cb() argument 275 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_clean_mdl_cb() 278 app_idx, mcl_idx, mdl_idx); in bta_hl_clean_mdl_cb() 332 BOOLEAN bta_hl_find_service_in_db( UINT8 app_idx, UINT8 mcl_idx, in bta_hl_find_service_in_db() argument 336 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_find_service_in_db() 372 UINT16 bta_hl_get_service_uuids(UINT8 sdp_oper, UINT8 app_idx, UINT8 mcl_idx, in bta_hl_get_service_uuids() argument 383 p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_get_service_uuids() 418 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_main.c | 90 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); 416 void bta_hl_cch_sm_execute(UINT8 app_idx, UINT8 mcl_idx, in bta_hl_cch_sm_execute() argument 422 tBTA_HL_MCL_CB *p_cb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_cch_sm_execute() 444 (*bta_hl_cch_action[action])(app_idx, mcl_idx, p_data); in bta_hl_cch_sm_execute() 474 void bta_hl_dch_sm_execute(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_sm_execute() argument 480 tBTA_HL_MDL_CB *p_cb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_sm_execute() 501 (*bta_hl_dch_action[action])(app_idx, mcl_idx, mdl_idx, p_data); in bta_hl_dch_sm_execute() 603 UINT8 app_idx; in bta_hl_api_register() local 611 if (bta_hl_find_avail_app_idx(&app_idx)) in bta_hl_api_register() [all …]
|
D | bta_hl_sdp.c | 175 tBTA_HL_STATUS bta_hl_sdp_register (UINT8 app_idx) in bta_hl_sdp_register() argument 188 tBTA_HL_APP_CB *p_cb = BTA_HL_GET_APP_CB_PTR(app_idx); in bta_hl_sdp_register() 193 APPL_TRACE_DEBUG1("bta_hl_sdp_register app_idx=%d",app_idx); in bta_hl_sdp_register()
|
/external/bluetooth/bluedroid/btif/src/ |
D | btif_hl.c | 68 extern void btif_hl_release_mcl_sockets(UINT8 app_idx, UINT8 mcl_idx); 69 extern BOOLEAN btif_hl_create_socket(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx); 70 extern void btif_hl_release_socket(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx); 219 UINT8 btif_hl_num_dchs_in_use(UINT8 app_idx,UINT8 mcl_idx){ in btif_hl_num_dchs_in_use() argument 221 btif_hl_mcl_cb_t *p_mcb = BTIF_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in btif_hl_num_dchs_in_use() 280 void btif_hl_stop_cch_timer(UINT8 app_idx, UINT8 mcl_idx) in btif_hl_stop_cch_timer() argument 282 btif_hl_mcl_cb_t *p_mcb = BTIF_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in btif_hl_stop_cch_timer() 284 __FUNCTION__,app_idx, mcl_idx, p_mcb->cch_timer.in_use); in btif_hl_stop_cch_timer() 301 void btif_hl_start_cch_timer(UINT8 app_idx, UINT8 mcl_idx) in btif_hl_start_cch_timer() argument 303 btif_hl_mcl_cb_t *p_mcb = BTIF_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in btif_hl_start_cch_timer() [all …]
|
D | btif_storage.c | 1113 bt_status_t btif_storage_read_hl_app_data(UINT8 app_idx, char *value, int value_size) in btif_storage_read_hl_app_data() argument 1119 sprintf(fname, "%s%d", BTIF_STORAGE_HL_APP_DATA, app_idx); in btif_storage_read_hl_app_data() 1136 bt_status_t btif_storage_write_hl_app_data(UINT8 app_idx, char *value, int value_size) in btif_storage_write_hl_app_data() argument 1143 sprintf(fname, "%s%d", BTIF_STORAGE_HL_APP_DATA, app_idx); in btif_storage_write_hl_app_data() 1160 bt_status_t btif_storage_read_hl_mdl_data(UINT8 app_idx, char *value, int value_size) in btif_storage_read_hl_mdl_data() argument 1168 sprintf(fname, "%s%d", BTIF_STORAGE_HL_APP_MDL_DATA, app_idx); in btif_storage_read_hl_mdl_data() 1185 bt_status_t btif_storage_write_hl_mdl_data(UINT8 app_idx, char *value, int value_size) in btif_storage_write_hl_mdl_data() argument 1193 sprintf(fname, "%s%d", BTIF_STORAGE_HL_APP_MDL_DATA, app_idx); in btif_storage_write_hl_mdl_data()
|
/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() 139 UINT8 app_idx; in bta_hl_co_get_mdep_config() local 145 if (btif_hl_find_app_idx(app_id, &app_idx)) in bta_hl_co_get_mdep_config() 148 p_btif_hl_cb->acb[app_idx].sup_feature.mdep[idx].mdep_id = mdep_id; in bta_hl_co_get_mdep_config() 150 &p_btif_hl_cb->acb[app_idx].sup_feature.mdep[idx].mdep_cfg, in bta_hl_co_get_mdep_config() [all …]
|
/external/bluetooth/bluedroid/btif/include/ |
D | btif_hl.h | 148 UINT8 app_idx; member 166 UINT8 app_idx; member 288 UINT8 app_idx; member 317 UINT8 app_idx; member 337 #define BTIF_HL_GET_APP_CB_PTR(app_idx) &(btif_hl_cb.acb[(app_idx)]) argument 338 #define BTIF_HL_GET_MCL_CB_PTR(app_idx, mcl_idx) &(btif_hl_cb.acb[(app_idx)].mcb[(mcl_idx)]) argument 339 #define BTIF_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx) &(btif_hl_cb.acb[(app_idx)].mcb[(mcl_idx)… argument 340 #define BTIF_HL_GET_PCB_PTR(app_idx, mcl_idx) &(btif_hl_cb.acb[app_idx].mcb[mcl_idx].pcb) argument 341 #define BTIF_HL_GET_MDL_CFG_PTR(app_idx, item_idx) &(btif_hl_cb.acb[(app_idx)].mdl_cfg[(item_idx)]) argument 342 #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 | 186 bt_status_t btif_storage_read_hl_app_data(UINT8 app_idx, char *value, int value_size); 198 bt_status_t btif_storage_write_hl_app_data(UINT8 app_idx, char *value, int value_size); 210 bt_status_t btif_storage_read_hl_mdl_data(UINT8 app_idx, char *value, int value_size); 222 bt_status_t btif_storage_write_hl_mdl_data(UINT8 app_idx, char *value, int value_size);
|