Lines Matching refs:mdl_id

333 static BOOLEAN btif_hl_find_mdl_idx(UINT8 app_idx, UINT8 mcl_idx, UINT16 mdl_id,  in btif_hl_find_mdl_idx()  argument
343 (mdl_id !=0) && in btif_hl_find_mdl_idx()
344 (p_mcb->mdl[i].mdl_id== mdl_id)) in btif_hl_find_mdl_idx()
353 __FUNCTION__,found, mdl_id, i); in btif_hl_find_mdl_idx()
608 p_mdl->base.mdl_id && in btif_hl_is_reconnect_possible()
609 !btif_hl_find_mdl_idx(app_idx, mcl_idx,p_mdl->base.mdl_id, &mdl_idx)) in btif_hl_is_reconnect_possible()
612 i, p_mdl->base.active, p_mdl->base.mdl_id,p_mdl->base.dch_mode); in btif_hl_is_reconnect_possible()
618 *p_mdl_id = p_mdl->base.mdl_id; in btif_hl_is_reconnect_possible()
619 … BTIF_TRACE_DEBUG("reconnect is possible dch_mode=%d mdl_id=%d", dch_mode, p_mdl->base.mdl_id ); in btif_hl_is_reconnect_possible()
643 *p_mdl_id = p_mdl1->base.mdl_id; in btif_hl_is_reconnect_possible()
650 *p_mdl_id = p_mdl->base.mdl_id; in btif_hl_is_reconnect_possible()
683 tBTA_HL_MDL_ID mdl_id; in btif_hl_dch_open() local
717 … if (!btif_hl_is_reconnect_possible(app_idx, mcl_idx, mdep_cfg_idx, p_dch_open_api, &mdl_id )) in btif_hl_dch_open()
726 reconnect_param.mdl_id = mdl_id;; in btif_hl_dch_open()
727 …G("Issue Reconnect ctrl_psm=0x%x mdl_id=0x%x",reconnect_param.ctrl_psm, reconnect_param.mdl_id ); in btif_hl_dch_open()
998 BOOLEAN btif_hl_find_channel_id_using_mdl_id(UINT8 app_idx, tBTA_HL_MDL_ID mdl_id, in btif_hl_find_channel_id_using_mdl_id() argument
1012 if ( p_mdl->base.active && (p_mdl->base.mdl_id == mdl_id)) in btif_hl_find_channel_id_using_mdl_id()
1021 __FUNCTION__,found,*p_channel_id,mdl_id, app_idx,j ); in btif_hl_find_channel_id_using_mdl_id()
1676 BOOLEAN btif_hl_find_mcl_idx_using_mdl_id( UINT8 mdl_id,UINT8 mcl_handle, in btif_hl_find_mcl_idx_using_mdl_id() argument
1695 if (p_mcb->mdl[x].in_use && p_mcb->mdl[x].mdl_id == mdl_id) in btif_hl_find_mcl_idx_using_mdl_id()
1721 BOOLEAN btif_hl_find_app_idx_using_deleted_mdl_id( UINT8 mdl_id, in btif_hl_find_app_idx_using_deleted_mdl_id() argument
1732 __FUNCTION__,i,mdl_id); 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()
2400 tBTA_HL_MDL_ID mdl_id; in btif_hl_proc_pending_op() local
2428 … if (!btif_hl_is_reconnect_possible(app_idx, mcl_idx, p_pcb->mdep_cfg_idx, &dch_open, &mdl_id )) in btif_hl_proc_pending_op()
2436 reconnect_param.mdl_id = mdl_id;; in btif_hl_proc_pending_op()
2437 …EBUG("Issue Reconnect ctrl_psm=0x%x mdl_id=0x%x",reconnect_param.ctrl_psm, reconnect_param.mdl_id); 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()
2638 create_rsp_param.mdl_id = p_data->dch_create_ind.mdl_id; in btif_hl_proc_create_ind()
2678 p_dcb->mdl_id = p_data->dch_open_ind.mdl_id; in btif_hl_proc_dch_open_ind()
2684 … if(btif_hl_find_channel_id_using_mdl_id(orig_app_idx,p_dcb->mdl_id , &p_dcb->channel_id)) in btif_hl_proc_dch_open_ind()
2696 BTIF_TRACE_ERROR("Unable find channel id for mdl_id=0x%x", p_dcb->mdl_id ); in btif_hl_proc_dch_open_ind()
2756 p_dcb->mdl_id = p_data->dch_open_cfm.mdl_id; in btif_hl_proc_dch_open_cfm()
2828 p_dcb->mdl_id = p_data->dch_reconnect_cfm.mdl_id; in btif_hl_proc_dch_reconnect_cfm()
2904 p_dcb->mdl_id = p_data->dch_reconnect_ind.mdl_id; in btif_hl_proc_dch_reconnect_ind()
3386 p_data->dch_open_cfm.mdl_id, in btif_hl_upstreams_evt()
3436 p_data->dch_create_ind.mdl_id, in btif_hl_upstreams_evt()
3450 p_data->dch_open_ind.mdl_id, in btif_hl_upstreams_evt()
3460 p_data->delete_mdl_ind.mdl_id); in btif_hl_upstreams_evt()
3467 p_data->delete_mdl_cfm.mdl_id, in btif_hl_upstreams_evt()
3470 if (btif_hl_find_app_idx_using_deleted_mdl_id( p_data->delete_mdl_cfm.mdl_id, in btif_hl_upstreams_evt()
3488 p_data->dch_reconnect_cfm.mdl_id, in btif_hl_upstreams_evt()
3579 p_data->dch_reconnect_ind.mdl_id, in btif_hl_upstreams_evt()
3960 p_acb->delete_mdl.mdl_id = p_mdl->base.mdl_id; 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()
4201 p_mdl_cfg->mdl_id, p_mdl_cfg->dch_mode ); in btif_hl_save_mdl_cfg()
4229 __FUNCTION__, app_idx, item_idx, p_mdl->base.mdl_id); in btif_hl_save_mdl_cfg()