Lines Matching defs:mdl_id
383 static BOOLEAN btif_hl_find_mdl_idx(UINT8 app_idx, UINT8 mcl_idx, UINT16 mdl_id,
393 (mdl_id !=0) &&
394 (p_mcb->mdl[i].mdl_id== mdl_id))
402 BTIF_TRACE_DEBUG("%s found=%d mdl_id=%d mdl_idx=%d ",
403 __FUNCTION__,found, mdl_id, i);
709 p_mdl->base.mdl_id &&
710 !btif_hl_find_mdl_idx(app_idx, mcl_idx,p_mdl->base.mdl_id, &mdl_idx))
712 BTIF_TRACE_DEBUG("i=%d Matched active=%d mdl_id =%d, mdl_dch_mode=%d",
713 i, p_mdl->base.active, p_mdl->base.mdl_id,p_mdl->base.dch_mode);
719 *p_mdl_id = p_mdl->base.mdl_id;
720 BTIF_TRACE_DEBUG("reconnect is possible dch_mode=%d mdl_id=%d", dch_mode, p_mdl->base.mdl_id );
744 *p_mdl_id = p_mdl1->base.mdl_id;
745 BTIF_TRACE_DEBUG("reconnect is ok index=%d dch_mode=streaming mdl_id=%d", j, *p_mdl_id);
751 *p_mdl_id = p_mdl->base.mdl_id;
752 BTIF_TRACE_DEBUG("reconnect is ok index=%d dch_mode=%d mdl_id=%d", i, p_mdl->base.dch_mode, *p_mdl_id);
762 BTIF_TRACE_DEBUG("is_reconnect_ok dch_mode=%d mdl_id=%d",is_reconnect_ok, dch_mode, *p_mdl_id);
784 tBTA_HL_MDL_ID mdl_id;
818 if (!btif_hl_is_reconnect_possible(app_idx, mcl_idx, mdep_cfg_idx, p_dch_open_api, &mdl_id ))
827 reconnect_param.mdl_id = mdl_id;;
828 BTIF_TRACE_DEBUG("Issue Reconnect ctrl_psm=0x%x mdl_id=0x%x",reconnect_param.ctrl_psm, reconnect_param.mdl_id );
1095 ** Description Find channel id using mdl_id'
1099 BOOLEAN btif_hl_find_channel_id_using_mdl_id(UINT8 app_idx, tBTA_HL_MDL_ID mdl_id,
1113 if ( p_mdl->base.active && (p_mdl->base.mdl_id == mdl_id))
1121 BTIF_TRACE_EVENT("%s found=%d channel_id=0x%08x, mdl_id=0x%x app_idx=%d mdl_cfg_idx=%d ",
1122 __FUNCTION__,found,*p_channel_id,mdl_id, app_idx,j );
1782 ** Description Find the mdl index using mdl_id
1787 BOOLEAN btif_hl_find_mcl_idx_using_mdl_id( UINT8 mdl_id,UINT8 mcl_handle,
1806 if (p_mcb->mdl[x].in_use && p_mcb->mdl[x].mdl_id == mdl_id)
1832 BOOLEAN btif_hl_find_app_idx_using_deleted_mdl_id( UINT8 mdl_id,
1842 BTIF_TRACE_DEBUG("%s: app_idx=%d, mdl_id=%d",
1843 __FUNCTION__,i,mdl_id);
1846 (p_acb->delete_mdl.mdl_id == mdl_id))
2511 tBTA_HL_MDL_ID mdl_id;
2539 if (!btif_hl_is_reconnect_possible(app_idx, mcl_idx, p_pcb->mdep_cfg_idx, &dch_open, &mdl_id ))
2547 reconnect_param.mdl_id = mdl_id;;
2548 BTIF_TRACE_DEBUG("Issue Reconnect ctrl_psm=0x%x mdl_id=0x%x",reconnect_param.ctrl_psm, reconnect_param.mdl_id);
2561 BTA_HlDeleteMdl(p_mcb->mcl_handle, p_acb->delete_mdl.mdl_id);
2752 create_rsp_param.mdl_id = p_data->dch_create_ind.mdl_id;
2795 p_dcb->mdl_id = p_data->dch_open_ind.mdl_id;
2801 if(btif_hl_find_channel_id_using_mdl_id(orig_app_idx,p_dcb->mdl_id , &p_dcb->channel_id))
2813 BTIF_TRACE_ERROR("Unable find channel id for mdl_id=0x%x", p_dcb->mdl_id );
2875 p_dcb->mdl_id = p_data->dch_open_cfm.mdl_id;
2949 p_dcb->mdl_id = p_data->dch_reconnect_cfm.mdl_id;
3026 p_dcb->mdl_id = p_data->dch_reconnect_ind.mdl_id;
3510 BTIF_TRACE_DEBUG("first_reliable =%d dch_mode=%d local_mdep_id=%d mdl_id=%d mtu=%d",
3514 p_data->dch_open_cfm.mdl_id,
3563 BTIF_TRACE_DEBUG("local_mdep_id =%d mdl_id=%d cfg=%d",
3565 p_data->dch_create_ind.mdl_id,
3575 BTIF_TRACE_DEBUG("first_reliable =%d dch_mode=%d local_mdep_id=%d mdl_id=%d mtu=%d",
3579 p_data->dch_open_ind.mdl_id,
3587 BTIF_TRACE_DEBUG("mcl_handle=%d mdl_id=0x%x",
3589 p_data->delete_mdl_ind.mdl_id);
3594 BTIF_TRACE_DEBUG("mcl_handle=%d mdl_id=0x%x status=%d",
3596 p_data->delete_mdl_cfm.mdl_id,
3599 if (btif_hl_find_app_idx_using_deleted_mdl_id( p_data->delete_mdl_cfm.mdl_id,
3614 BTIF_TRACE_DEBUG("first_reliable =%d dch_mode=%d mdl_id=%d mtu=%d",
3617 p_data->dch_reconnect_cfm.mdl_id,
3707 BTIF_TRACE_DEBUG("first_reliable =%d dch_mode=%d mdl_id=%d mtu=%d",
3710 p_data->dch_reconnect_ind.mdl_id,
4089 p_acb->delete_mdl.mdl_id = p_mdl->base.mdl_id;
4099 BTIF_TRACE_DEBUG("calling BTA_HlDeleteMdl mdl_id=%d",p_acb->delete_mdl.mdl_id );
4100 BTA_HlDeleteMdl(p_mcb->mcl_handle, p_acb->delete_mdl.mdl_id);
4330 BTIF_TRACE_DEBUG("%s mdep_id=%d item_idx=%d, local_mdep_id=%d mdl_id=0x%x dch_mode=%d",
4332 p_mdl_cfg->mdl_id, p_mdl_cfg->dch_mode );
4360 __FUNCTION__, app_idx, item_idx, p_mdl->base.mdl_id);