Lines Matching refs:p_acb

186     btif_hl_app_cb_t    *p_acb;  in btif_hl_if_channel_setup_pending()  local
195 p_acb =BTIF_HL_GET_APP_CB_PTR(i); in btif_hl_if_channel_setup_pending()
196 if (p_acb->in_use) in btif_hl_if_channel_setup_pending()
229 btif_hl_app_cb_t * p_acb; in btif_hl_num_dchs_in_use() local
237 p_acb =BTIF_HL_GET_APP_CB_PTR(i); in btif_hl_num_dchs_in_use()
238 if (p_acb && p_acb->in_use) in btif_hl_num_dchs_in_use()
242 if(p_acb->mcb[j].in_use) in btif_hl_num_dchs_in_use()
244 j,mcl_handle, p_acb->mcb[j].mcl_handle); in btif_hl_num_dchs_in_use()
245 if (p_acb->mcb[j].in_use && in btif_hl_num_dchs_in_use()
246 (p_acb->mcb[j].mcl_handle == mcl_handle)) in btif_hl_num_dchs_in_use()
248 p_mcb = &p_acb->mcb[j]; in btif_hl_num_dchs_in_use()
463 btif_hl_app_cb_t *p_acb =BTIF_HL_GET_APP_CB_PTR(app_idx); in btif_hl_reset_mdep_filter() local
464 p_acb->filter.num_elems = 0; in btif_hl_reset_mdep_filter()
478 btif_hl_app_cb_t *p_acb =BTIF_HL_GET_APP_CB_PTR(app_idx); in btif_hl_find_sdp_idx_using_mdep_filter() local
489 num_elems = p_acb->filter.num_elems; in btif_hl_find_sdp_idx_using_mdep_filter()
503 data_type = p_acb->filter.elem[j].data_type; in btif_hl_find_sdp_idx_using_mdep_filter()
504 peer_mdep_role = p_acb->filter.elem[j].peer_mdep_role; in btif_hl_find_sdp_idx_using_mdep_filter()
558 btif_hl_app_cb_t *p_acb = BTIF_HL_GET_APP_CB_PTR(app_idx); in btif_hl_is_reconnect_possible() local
568 …UINT16 data_type = p_acb->sup_feature.mdep[mdep_cfg_idx].mdep_cfg.data_cfg[0].data_t… in btif_hl_is_reconnect_possible()
602 for (i=0, p_mdl=&p_acb->mdl_cfg[0] ; i< BTA_HL_NUM_MDL_CFGS; i++, p_mdl++ ) in btif_hl_is_reconnect_possible()
626 for (j=i, p_mdl1=&p_acb->mdl_cfg[i]; j< BTA_HL_NUM_MDL_CFGS; j++, p_mdl1++) in btif_hl_is_reconnect_possible()
678 btif_hl_app_cb_t *p_acb; in btif_hl_dch_open() local
735 p_acb = BTIF_HL_GET_APP_CB_PTR(app_idx); in btif_hl_dch_open()
737 BTA_HlSdpQuery(app_id,p_acb->app_handle, bd_addr); in btif_hl_dch_open()
815 btif_hl_app_cb_t *p_acb; in btif_hl_cch_open() local
828 p_acb = BTIF_HL_GET_APP_CB_PTR(app_idx); in btif_hl_cch_open()
864 p_pcb->channel_id = p_acb->delete_mdl.channel_id; in btif_hl_cch_open()
870 BTA_HlSdpQuery(app_id,p_acb->app_handle, bd_addr); in btif_hl_cch_open()
913 btif_hl_app_cb_t *p_acb; in btif_hl_find_mdl_cfg_idx_using_channel_id() local
923 p_acb =BTIF_HL_GET_APP_CB_PTR(i); in btif_hl_find_mdl_cfg_idx_using_channel_id()
928 if (p_acb->in_use && in btif_hl_find_mdl_cfg_idx_using_channel_id()
956 btif_hl_app_cb_t *p_acb; in btif_hl_find_mdl_idx_using_channel_id() local
964 p_acb =BTIF_HL_GET_APP_CB_PTR(i); in btif_hl_find_mdl_idx_using_channel_id()
971 if (p_acb->in_use && in btif_hl_find_mdl_idx_using_channel_id()
1000 btif_hl_app_cb_t *p_acb; in btif_hl_find_channel_id_using_mdl_id() local
1005 p_acb =BTIF_HL_GET_APP_CB_PTR(app_idx); in btif_hl_find_channel_id_using_mdl_id()
1006 if (p_acb && p_acb->in_use) in btif_hl_find_channel_id_using_mdl_id()
1037 btif_hl_app_cb_t *p_acb; in btif_hl_find_mdl_idx_using_handle() local
1048 p_acb =BTIF_HL_GET_APP_CB_PTR(i); in btif_hl_find_mdl_idx_using_handle()
1055 if (p_acb->in_use && in btif_hl_find_mdl_idx_using_handle()
1156 btif_hl_app_cb_t *p_acb =BTIF_HL_GET_APP_CB_PTR(app_idx); in btif_hl_find_mdep_cfg_idx() local
1157 tBTA_HL_SUP_FEATURE *p_sup_feature= &p_acb->sup_feature; in btif_hl_find_mdep_cfg_idx()
1640 btif_hl_app_cb_t *p_acb; in btif_hl_find_mcl_idx_using_handle() local
1646 p_acb =BTIF_HL_GET_APP_CB_PTR(i); in btif_hl_find_mcl_idx_using_handle()
1649 if (p_acb->mcb[j].in_use) in btif_hl_find_mcl_idx_using_handle()
1651 "mcl_idx =%d mcl_handle=%d",i,j,p_acb->mcb[j].mcl_handle); in btif_hl_find_mcl_idx_using_handle()
1652 if (p_acb->mcb[j].in_use && in btif_hl_find_mcl_idx_using_handle()
1653 (p_acb->mcb[j].mcl_handle == mcl_handle)) in btif_hl_find_mcl_idx_using_handle()
1678 btif_hl_app_cb_t *p_acb; in btif_hl_find_mcl_idx_using_mdl_id() local
1685 p_acb =BTIF_HL_GET_APP_CB_PTR(i); in btif_hl_find_mcl_idx_using_mdl_id()
1688 if (p_acb->mcb[j].in_use && in btif_hl_find_mcl_idx_using_mdl_id()
1689 (p_acb->mcb[j].mcl_handle == mcl_handle)) in btif_hl_find_mcl_idx_using_mdl_id()
1691 p_mcb = &p_acb->mcb[j]; in btif_hl_find_mcl_idx_using_mdl_id()
1723 btif_hl_app_cb_t *p_acb; in btif_hl_find_app_idx_using_deleted_mdl_id() local
1729 p_acb =BTIF_HL_GET_APP_CB_PTR(i); in btif_hl_find_app_idx_using_deleted_mdl_id()
1730 if (p_acb->delete_mdl.active) { in btif_hl_find_app_idx_using_deleted_mdl_id()
1734 if (p_acb->delete_mdl.active && in btif_hl_find_app_idx_using_deleted_mdl_id()
1735 (p_acb->delete_mdl.mdl_id == mdl_id)) in btif_hl_find_app_idx_using_deleted_mdl_id()
1757 btif_hl_app_cb_t *p_acb; in btif_hl_stop_timer_using_handle() local
1762 p_acb =BTIF_HL_GET_APP_CB_PTR(i); in btif_hl_stop_timer_using_handle()
1765 if (p_acb->mcb[j].in_use && in btif_hl_stop_timer_using_handle()
1766 (p_acb->mcb[j].mcl_handle == mcl_handle)) in btif_hl_stop_timer_using_handle()
1785 btif_hl_app_cb_t *p_acb; in btif_hl_find_mcl_idx_using_app_idx() local
1789 p_acb =BTIF_HL_GET_APP_CB_PTR(p_app_idx); in btif_hl_find_mcl_idx_using_app_idx()
1792 if (p_acb->mcb[j].in_use && in btif_hl_find_mcl_idx_using_app_idx()
1793 (p_acb->mcb[j].mcl_handle == mcl_handle)) in btif_hl_find_mcl_idx_using_app_idx()
1815 btif_hl_app_cb_t *p_acb; in btif_hl_clean_mdls_using_app_idx() local
1821 p_acb =BTIF_HL_GET_APP_CB_PTR(app_idx); in btif_hl_clean_mdls_using_app_idx()
1824 if (p_acb->mcb[j].in_use) in btif_hl_clean_mdls_using_app_idx()
1826 p_mcb = &p_acb->mcb[j]; in btif_hl_clean_mdls_using_app_idx()
1838 BTIF_HL_CALL_CBACK(bt_hl_callbacks, channel_state_cb, p_acb->app_id, in btif_hl_clean_mdls_using_app_idx()
2006 btif_hl_app_cb_t *p_acb; in btif_hl_proc_dereg_cfm() local
2016 p_acb = BTIF_HL_GET_APP_CB_PTR(app_idx); in btif_hl_proc_dereg_cfm()
2017 app_id = (int) p_acb->app_id; in btif_hl_proc_dereg_cfm()
2022 alarm_free(p_acb->mcb[i].cch_timer); in btif_hl_proc_dereg_cfm()
2023 memset(p_acb, 0, sizeof(btif_hl_app_cb_t)); in btif_hl_proc_dereg_cfm()
2048 btif_hl_app_cb_t *p_acb; in btif_hl_proc_reg_cfm() local
2056 p_acb = BTIF_HL_GET_APP_CB_PTR(app_idx); in btif_hl_proc_reg_cfm()
2059 p_acb->app_handle = p_data->reg_cfm.app_handle; in btif_hl_proc_reg_cfm()
2102 void btif_hl_send_destroyed_cb(btif_hl_app_cb_t *p_acb ){ in btif_hl_send_destroyed_cb() argument
2104 int app_id = (int) btif_hl_get_app_id(p_acb->delete_mdl.channel_id); in btif_hl_send_destroyed_cb()
2106 btif_hl_copy_bda(&bd_addr, p_acb->delete_mdl.bd_addr); in btif_hl_send_destroyed_cb()
2108 …channel state callback channel_id=0x%08x mdep_cfg_idx=%d, state=%d fd=%d",p_acb->delete_mdl.channe… in btif_hl_send_destroyed_cb()
2109 p_acb->delete_mdl.mdep_cfg_idx, BTHL_CONN_STATE_DESTROYED, 0); in btif_hl_send_destroyed_cb()
2113 &bd_addr, p_acb->delete_mdl.mdep_cfg_idx, in btif_hl_send_destroyed_cb()
2114 p_acb->delete_mdl.channel_id, BTHL_CONN_STATE_DESTROYED, 0 ); in btif_hl_send_destroyed_cb()
2228 btif_hl_app_cb_t *p_acb; in btif_hl_proc_sdp_query_cfm() local
2263 p_acb = BTIF_HL_GET_APP_CB_PTR(app_idx); in btif_hl_proc_sdp_query_cfm()
2311 BTA_HlCchOpen(p_acb->app_id,p_acb->app_handle, &open_param); in btif_hl_proc_sdp_query_cfm()
2395 btif_hl_app_cb_t *p_acb = BTIF_HL_GET_APP_CB_PTR(app_idx); in btif_hl_proc_pending_op() local
2413 dch_open.local_mdep_id = p_acb->sup_feature.mdep[p_pcb->mdep_cfg_idx].mdep_id; in btif_hl_proc_pending_op()
2414 if (btif_hl_find_peer_mdep_id(p_acb->app_id, p_mcb->bd_addr, in btif_hl_proc_pending_op()
2415p_acb->sup_feature.mdep[p_pcb->mdep_cfg_idx].mdep_cfg.mdep_role, in btif_hl_proc_pending_op()
2416p_acb->sup_feature.mdep[p_pcb->mdep_cfg_idx].mdep_cfg.data_cfg[0].data_type, &dch_open.peer_mdep_i… in btif_hl_proc_pending_op()
2418 dch_open.local_cfg = p_acb->channel_type[p_pcb->mdep_cfg_idx]; in btif_hl_proc_pending_op()
2419 … if ((p_acb->sup_feature.mdep[p_pcb->mdep_cfg_idx].mdep_cfg.mdep_role == BTA_HL_MDEP_ROLE_SOURCE) in btif_hl_proc_pending_op()
2450 BTA_HlDeleteMdl(p_mcb->mcl_handle, p_acb->delete_mdl.mdl_id); in btif_hl_proc_pending_op()
2507 btif_hl_app_cb_t *p_acb; in btif_hl_clean_mcb_using_handle() local
2512 p_acb =BTIF_HL_GET_APP_CB_PTR(i); in btif_hl_clean_mcb_using_handle()
2515 if (p_acb->mcb[j].in_use) in btif_hl_clean_mcb_using_handle()
2517 "mcl_idx =%d mcl_handle=%d",i,j,p_acb->mcb[j].mcl_handle); in btif_hl_clean_mcb_using_handle()
2518 if (p_acb->mcb[j].in_use && in btif_hl_clean_mcb_using_handle()
2519 (p_acb->mcb[j].mcl_handle == mcl_handle)) in btif_hl_clean_mcb_using_handle()
2573 btif_hl_app_cb_t *p_acb; in btif_hl_proc_create_ind() local
2589 p_acb =BTIF_HL_GET_APP_CB_PTR(orig_app_idx); in btif_hl_proc_create_ind()
2594 p_mdep = &(p_acb->sup_feature.mdep[mdep_cfg_idx]); in btif_hl_proc_create_ind()
2603 rsp_cfg = p_acb->channel_type[mdep_cfg_idx]; in btif_hl_proc_create_ind()
2878 btif_hl_app_cb_t *p_acb; in btif_hl_proc_dch_reconnect_ind() local
2890 p_acb = BTIF_HL_GET_APP_CB_PTR(app_idx); in btif_hl_proc_dch_reconnect_ind()
2909 p_dcb->channel_id = btif_hl_get_next_channel_id(p_acb->app_id); in btif_hl_proc_dch_reconnect_ind()
3012 btif_hl_app_cb_t *p_acb; in btif_hl_proc_abort_ind() local
3017 p_acb =BTIF_HL_GET_APP_CB_PTR(i); in btif_hl_proc_abort_ind()
3020 if (p_acb->mcb[j].in_use) in btif_hl_proc_abort_ind()
3021 …f_hl_find_mcl_idx_using_handle: app_idx=%d,mcl_idx =%d mcl_handle=%d",i,j,p_acb->mcb[j].mcl_handle… in btif_hl_proc_abort_ind()
3022 if (p_acb->mcb[j].in_use && in btif_hl_proc_abort_ind()
3023 (p_acb->mcb[j].mcl_handle == mcl_handle)) in btif_hl_proc_abort_ind()
3044 btif_hl_app_cb_t *p_acb; in btif_hl_proc_abort_cfm() local
3049 p_acb =BTIF_HL_GET_APP_CB_PTR(i); in btif_hl_proc_abort_cfm()
3052 if (p_acb->mcb[j].in_use) in btif_hl_proc_abort_cfm()
3053 …f_hl_find_mcl_idx_using_handle: app_idx=%d,mcl_idx =%d mcl_handle=%d",i,j,p_acb->mcb[j].mcl_handle… in btif_hl_proc_abort_cfm()
3054 if (p_acb->mcb[j].in_use && in btif_hl_proc_abort_cfm()
3055 (p_acb->mcb[j].mcl_handle == mcl_handle)) in btif_hl_proc_abort_cfm()
3158 btif_hl_app_cb_t *p_acb; in btif_hl_proc_cb_evt() local
3189 p_acb = BTIF_HL_GET_APP_CB_PTR(p_data->reg.app_idx); in btif_hl_proc_cb_evt()
3190 …CE_DEBUG("Rcv BTIF_HL_REG_APP app_idx=%d reg_pending=%d", p_data->reg.app_idx, p_acb->reg_pending); in btif_hl_proc_cb_evt()
3191 if (btif_hl_get_state() == BTIF_HL_STATE_ENABLED && p_acb->reg_pending) in btif_hl_proc_cb_evt()
3194 p_acb->reg_pending = FALSE; in btif_hl_proc_cb_evt()
3195 reg_param.dev_type = p_acb->dev_type; in btif_hl_proc_cb_evt()
3197 reg_param.p_srv_name = p_acb->srv_name; in btif_hl_proc_cb_evt()
3198 reg_param.p_srv_desp = p_acb->srv_desp; in btif_hl_proc_cb_evt()
3199 reg_param.p_provider_name = p_acb->provider_name; in btif_hl_proc_cb_evt()
3200 … btif_hl_proc_reg_request (p_data->reg.app_idx, p_acb->app_id, &reg_param, btif_hl_cback); in btif_hl_proc_cb_evt()
3204 …DEBUG("reg request is processed state=%d reg_pending=%d", btif_hl_get_state(), p_acb->reg_pending); in btif_hl_proc_cb_evt()
3211 p_acb = BTIF_HL_GET_APP_CB_PTR(p_data->unreg.app_idx); in btif_hl_proc_cb_evt()
3215 BTA_HlUpdate(p_acb->app_id,NULL,FALSE,NULL); in btif_hl_proc_cb_evt()
3217 BTA_HlDeregister(p_acb->app_id, p_acb->app_handle); in btif_hl_proc_cb_evt()
3222 p_acb = BTIF_HL_GET_APP_CB_PTR(p_data->update_mdl.app_idx); in btif_hl_proc_cb_evt()
3243 btif_hl_app_cb_t *p_acb; in btif_hl_upstreams_evt() local
3302 p_acb = BTIF_HL_GET_APP_CB_PTR(app_idx); in btif_hl_upstreams_evt()
3355 p_acb = BTIF_HL_GET_APP_CB_PTR(app_idx); in btif_hl_upstreams_evt()
3473 p_acb = BTIF_HL_GET_APP_CB_PTR(app_idx); in btif_hl_upstreams_evt()
3474 btif_hl_send_destroyed_cb(p_acb); in btif_hl_upstreams_evt()
3475 btif_hl_clean_delete_mdl(&p_acb->delete_mdl); in btif_hl_upstreams_evt()
3740 btif_hl_app_cb_t *p_acb; in btif_hl_upstreams_ctrl_evt() local
3757 p_acb = BTIF_HL_GET_APP_CB_PTR(i); in btif_hl_upstreams_ctrl_evt()
3758 if (p_acb->in_use && p_acb->reg_pending) in btif_hl_upstreams_ctrl_evt()
3760 p_acb->reg_pending = FALSE; in btif_hl_upstreams_ctrl_evt()
3761 reg_param.dev_type = p_acb->dev_type; in btif_hl_upstreams_ctrl_evt()
3763 reg_param.p_srv_name = p_acb->srv_name; in btif_hl_upstreams_ctrl_evt()
3764 reg_param.p_srv_desp = p_acb->srv_desp; in btif_hl_upstreams_ctrl_evt()
3765 reg_param.p_provider_name = p_acb->provider_name; in btif_hl_upstreams_ctrl_evt()
3767 BTIF_TRACE_DEBUG("Register pending app_id=%d", p_acb->app_id); in btif_hl_upstreams_ctrl_evt()
3768 btif_hl_proc_reg_request (i, p_acb->app_id, &reg_param, btif_hl_cback); in btif_hl_upstreams_ctrl_evt()
3836 btif_hl_app_cb_t *p_acb = NULL; in connect_channel() local
3854 p_acb = BTIF_HL_GET_APP_CB_PTR(app_idx); in connect_channel()
3861 dch_open.local_mdep_id = p_acb->sup_feature.mdep[mdep_cfg_index].mdep_id; in connect_channel()
3864 if (btif_hl_find_peer_mdep_id(p_acb->app_id, p_mcb->bd_addr, in connect_channel()
3865p_acb->sup_feature.mdep[mdep_cfg_index].mdep_cfg.mdep_role, in connect_channel()
3866p_acb->sup_feature.mdep[mdep_cfg_index].mdep_cfg.data_cfg[0].data_type, &dch_open.peer_mdep_id )) in connect_channel()
3868 dch_open.local_cfg = p_acb->channel_type[mdep_cfg_index]; in connect_channel()
3869 … if ((p_acb->sup_feature.mdep[mdep_cfg_index].mdep_cfg.mdep_role == BTA_HL_MDEP_ROLE_SOURCE) in connect_channel()
3876 if( !btif_hl_dch_open(p_acb->app_id, bda, &dch_open, in connect_channel()
3892 BTA_HlSdpQuery(app_id,p_acb->app_handle, bda); in connect_channel()
3902 p_acb->filter.num_elems =1; in connect_channel()
3903p_acb->filter.elem[0].data_type = p_acb->sup_feature.mdep[mdep_cfg_index].mdep_cfg.data_cfg[mdep_c… in connect_channel()
3904 if (p_acb->sup_feature.mdep[mdep_cfg_index].mdep_cfg.mdep_role == BTA_HL_MDEP_ROLE_SINK) in connect_channel()
3905 p_acb->filter.elem[0].peer_mdep_role = BTA_HL_MDEP_ROLE_SOURCE; in connect_channel()
3907 p_acb->filter.elem[0].peer_mdep_role = BTA_HL_MDEP_ROLE_SINK; in connect_channel()
3909 if ( !btif_hl_cch_open(p_acb->app_id, bda, 0, mdep_cfg_index, in connect_channel()
3940 btif_hl_app_cb_t *p_acb; in destroy_channel() local
3955 p_acb = BTIF_HL_GET_APP_CB_PTR(app_idx); in destroy_channel()
3956 if (!p_acb->delete_mdl.active) in destroy_channel()
3959 p_acb->delete_mdl.active = TRUE; in destroy_channel()
3960 p_acb->delete_mdl.mdl_id = p_mdl->base.mdl_id; in destroy_channel()
3961 p_acb->delete_mdl.channel_id = channel_id; in destroy_channel()
3962 p_acb->delete_mdl.mdep_cfg_idx = p_mdl->extra.mdep_cfg_idx; in destroy_channel()
3963 memcpy(p_acb->delete_mdl.bd_addr, p_mdl->base.peer_bd_addr,sizeof(BD_ADDR)); in destroy_channel()
3970 … BTIF_TRACE_DEBUG("calling BTA_HlDeleteMdl mdl_id=%d",p_acb->delete_mdl.mdl_id ); in destroy_channel()
3971 BTA_HlDeleteMdl(p_mcb->mcl_handle, p_acb->delete_mdl.mdl_id); in destroy_channel()
3982 p_acb->filter.num_elems =1; in destroy_channel()
3983p_acb->filter.elem[0].data_type = p_acb->sup_feature.mdep[mdep_cfg_idx].mdep_cfg.data_cfg[mdep_cfg… in destroy_channel()
3984 … if (p_acb->sup_feature.mdep[mdep_cfg_idx].mdep_cfg.mdep_role == BTA_HL_MDEP_ROLE_SINK) in destroy_channel()
3985 p_acb->filter.elem[0].peer_mdep_role = BTA_HL_MDEP_ROLE_SOURCE; in destroy_channel()
3987 p_acb->filter.elem[0].peer_mdep_role = BTA_HL_MDEP_ROLE_SINK; in destroy_channel()
3988 if (btif_hl_cch_open(p_acb->app_id, p_acb->delete_mdl.bd_addr, 0, in destroy_channel()
3999 btif_hl_clean_delete_mdl(&p_acb->delete_mdl); in destroy_channel()
4061 btif_hl_app_cb_t *p_acb; in register_application() local
4088 p_acb = BTIF_HL_GET_APP_CB_PTR(app_idx); in register_application()
4089 p_acb->in_use = TRUE; in register_application()
4091 p_acb->app_id = btif_hl_get_next_app_id(); in register_application()
4094 … strncpy(p_acb->application_name, p_reg_param->application_name, BTIF_HL_APPLICATION_NAME_LEN); in register_application()
4097 strncpy(p_acb->provider_name, p_reg_param->provider_name, BTA_PROVIDER_NAME_LEN); in register_application()
4100 strncpy(p_acb->srv_name, p_reg_param->srv_name, BTA_SERVICE_NAME_LEN); in register_application()
4103 strncpy(p_acb->srv_desp, p_reg_param->srv_desp, BTA_SERVICE_DESP_LEN); in register_application()
4105 p_sup = &p_acb->sup_feature; in register_application()
4133 p_acb->dev_type = BTA_HL_DEVICE_TYPE_DUAL; in register_application()
4136 p_acb->dev_type = BTA_HL_DEVICE_TYPE_SINK; in register_application()
4139 p_acb->dev_type = BTA_HL_DEVICE_TYPE_SOURCE; in register_application()
4148 if ( !btif_hl_get_bta_channel_type(p_mdep_cfg->channel_type, &(p_acb->channel_type[i]))) in register_application()
4159 *app_id = (int) p_acb->app_id; in register_application()
4162 p_acb->reg_pending = TRUE; in register_application()
4192 btif_hl_app_cb_t *p_acb; in btif_hl_save_mdl_cfg() local
4205 p_acb = BTIF_HL_GET_APP_CB_PTR(app_idx); in btif_hl_save_mdl_cfg()
4217 *p_channel_id = btif_hl_get_next_channel_id(p_acb->app_id); in btif_hl_save_mdl_cfg()
4219 …p_mdl->extra.data_type = p_acb->sup_feature.mdep[p_mcb->pcb.mdep_cfg_idx].mdep_cfg.data_cfg[0].dat… in btif_hl_save_mdl_cfg()
4221 if (!btif_hl_find_peer_mdep_id(p_acb->app_id, p_mcb->bd_addr, in btif_hl_save_mdl_cfg()
4222p_acb->sup_feature.mdep[p_mcb->pcb.mdep_cfg_idx].mdep_cfg.mdep_role, in btif_hl_save_mdl_cfg()
4223p_acb->sup_feature.mdep[p_mcb->pcb.mdep_cfg_idx].mdep_cfg.data_cfg[0].data_type, in btif_hl_save_mdl_cfg()
4508 btif_hl_app_cb_t *p_acb = NULL; in btif_hl_add_socket_to_set() local
4527 p_acb = BTIF_HL_GET_APP_CB_PTR(p_scb->app_idx); in btif_hl_add_socket_to_set()
4530 evt_param.chan_cb.app_id = p_acb->app_id; in btif_hl_add_socket_to_set()
4948 btif_hl_app_cb_t *p_acb; in btif_hl_load_mdl_config() local
4955 p_acb = BTIF_HL_GET_APP_CB_PTR(app_idx); in btif_hl_load_mdl_config()
4958 memcpy(p, &p_acb->mdl_cfg[i].base, sizeof(tBTA_HL_MDL_CFG)); in btif_hl_load_mdl_config()