Home
last modified time | relevance | path

Searched refs:app_idx (Results 1 – 9 of 9) sorted by relevance

/system/bt/bta/hl/
Dbta_hl_int.h350 UINT8 app_idx; member
370 UINT8 app_idx; member
380 UINT8 app_idx; member
543 UINT8 app_idx; member
551 UINT8 app_idx; member
586 #define BTA_HL_GET_APP_CB_PTR(app_idx) &(bta_hl_cb.acb[(app_idx)]) argument
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
589 #define BTA_HL_GET_MDL_CFG_PTR(app_idx, item_idx) &(bta_hl_cb.acb[(app_idx)].mdl_cfg[(item_idx)]) argument
590 #define BTA_HL_GET_ECHO_CFG_PTR(app_idx) &(bta_hl_cb.acb[(app_idx)].sup_feature.echo_cfg) argument
[all …]
Dbta_hl_act.c50 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()
147 void bta_hl_dch_sdp_init(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_sdp_init() argument
[all …]
Dbta_hl_main.c89 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()
683 UINT8 app_idx; in bta_hl_api_register() local
692 if (bta_hl_find_avail_app_idx(&app_idx)) in bta_hl_api_register()
[all …]
Dbta_hl_utils.c49 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 …]
Dbta_hl_sdp.c374 tBTA_HL_STATUS bta_hl_sdp_register (UINT8 app_idx) in bta_hl_sdp_register() argument
387 tBTA_HL_APP_CB *p_cb = BTA_HL_GET_APP_CB_PTR(app_idx); in bta_hl_sdp_register()
392 APPL_TRACE_DEBUG("bta_hl_sdp_register app_idx=%d",app_idx); in bta_hl_sdp_register()
/system/bt/btif/src/
Dbtif_hl.c69 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/
Dbtif_hl.h129 UINT8 app_idx; member
139 UINT8 app_idx; member
258 UINT8 app_idx; member
285 UINT8 app_idx; member
304 #define BTIF_HL_GET_APP_CB_PTR(app_idx) &(btif_hl_cb.acb[(app_idx)]) argument
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
308 #define BTIF_HL_GET_MDL_CFG_PTR(app_idx, item_idx) &(btif_hl_cb.acb[(app_idx)].mdl_cfg[(item_idx)]) argument
309 #define BTIF_HL_GET_MDL_CFG_CHANNEL_ID_PTR(app_idx, item_idx) &(btif_hl_cb.acb[(app_idx)].mdl_cfg_c… argument
[all …]
Dbtif_storage.h185 bt_status_t btif_storage_read_hl_app_data(UINT8 app_idx, char *value, int value_size);
197 bt_status_t btif_storage_write_hl_app_data(UINT8 app_idx, char *value, int value_size);
209 bt_status_t btif_storage_read_hl_mdl_data(UINT8 app_idx, char *value, int value_size);
221 bt_status_t btif_storage_write_hl_mdl_data(UINT8 app_idx, char *value, int value_size);
/system/bt/btif/co/
Dbta_hl_co.c73 UINT8 app_idx; in bta_hl_co_get_num_of_mdep() local
76 if (btif_hl_find_app_idx(app_id, &app_idx)) in bta_hl_co_get_num_of_mdep()
78 *p_num_of_mdep = p_btif_hl_cb->acb[app_idx].sup_feature.num_of_mdeps; in bta_hl_co_get_num_of_mdep()
104 UINT8 app_idx; in bta_hl_co_advrtise_source_sdp() local
106 if (btif_hl_find_app_idx(app_id, &app_idx)) in bta_hl_co_advrtise_source_sdp()
108 advertize_source_sdp = p_btif_hl_cb->acb[app_idx].sup_feature.advertize_source_sdp; in bta_hl_co_advrtise_source_sdp()
140 UINT8 app_idx; in bta_hl_co_get_mdep_config() local
146 if (btif_hl_find_app_idx(app_id, &app_idx)) in bta_hl_co_get_mdep_config()
149 p_btif_hl_cb->acb[app_idx].sup_feature.mdep[idx].mdep_id = mdep_id; in bta_hl_co_get_mdep_config()
151 &p_btif_hl_cb->acb[app_idx].sup_feature.mdep[idx].mdep_cfg, in bta_hl_co_get_mdep_config()
[all …]