Home | History | Annotate | Download | only in src

Lines Matching full:mdl_id

367 static BOOLEAN btif_hl_find_mdl_idx(UINT8 app_idx, UINT8 mcl_idx, UINT16 mdl_id,
377 (mdl_id !=0) &&
378 (p_mcb->mdl[i].mdl_id== mdl_id))
386 BTIF_TRACE_DEBUG4("%s found=%d mdl_id=%d mdl_idx=%d ",
387 __FUNCTION__,found, mdl_id, i);
694 p_mdl->base.mdl_id &&
695 !btif_hl_find_mdl_idx(app_idx, mcl_idx,p_mdl->base.mdl_id, &mdl_idx))
697 BTIF_TRACE_DEBUG4("i=%d Matched active=%d mdl_id =%d, mdl_dch_mode=%d",
698 i, p_mdl->base.active, p_mdl->base.mdl_id,p_mdl->base.dch_mode);
704 *p_mdl_id = p_mdl->base.mdl_id;
705 BTIF_TRACE_DEBUG2("reconnect is possible dch_mode=%d mdl_id=%d", dch_mode, p_mdl->base.mdl_id );
729 *p_mdl_id = p_mdl1->base.mdl_id;
730 BTIF_TRACE_DEBUG2("reconnect is ok index=%d dch_mode=streaming mdl_id=%d", j, *p_mdl_id);
736 *p_mdl_id = p_mdl->base.mdl_id;
737 BTIF_TRACE_DEBUG3("reconnect is ok index=%d dch_mode=%d mdl_id=%d", i, p_mdl->base.dch_mode, *p_mdl_id);
747 BTIF_TRACE_DEBUG3("is_reconnect_ok dch_mode=%d mdl_id=%d",is_reconnect_ok, dch_mode, *p_mdl_id);
769 tBTA_HL_MDL_ID mdl_id;
803 if (!btif_hl_is_reconnect_possible(app_idx, mcl_idx, mdep_cfg_idx, p_dch_open_api, &mdl_id ))
812 reconnect_param.mdl_id = mdl_id;;
813 BTIF_TRACE_DEBUG2("Issue Reconnect ctrl_psm=0x%x mdl_id=0x%x",reconnect_param.ctrl_psm, reconnect_param.mdl_id );
1078 ** Description Find channel id using mdl_id'
1082 BOOLEAN btif_hl_find_channel_id_using_mdl_id(UINT8 app_idx, tBTA_HL_MDL_ID mdl_id,
1096 if ( p_mdl->base.active && (p_mdl->base.mdl_id == mdl_id))
1104 BTIF_TRACE_EVENT6("%s found=%d channel_id=0x%08x, mdl_id=0x%x app_idx=%d mdl_cfg_idx=%d ",
1105 __FUNCTION__,found,*p_channel_id,mdl_id, app_idx,j );
1806 ** Description Find the mdl index using mdl_id
1811 BOOLEAN btif_hl_find_mcl_idx_using_mdl_id( UINT8 mdl_id,UINT8 mcl_handle,
1830 if (p_mcb->mdl[x].in_use && p_mcb->mdl[x].mdl_id == mdl_id)
1856 BOOLEAN btif_hl_find_app_idx_using_deleted_mdl_id( UINT8 mdl_id,
1869 (p_acb->delete_mdl.mdl_id == mdl_id))
2558 tBTA_HL_MDL_ID mdl_id;
2586 if (!btif_hl_is_reconnect_possible(app_idx, mcl_idx, p_pcb->mdep_cfg_idx, &dch_open, &mdl_id ))
2594 reconnect_param.mdl_id = mdl_id;;
2595 BTIF_TRACE_DEBUG2("Issue Reconnect ctrl_psm=0x%x mdl_id=0x%x",reconnect_param.ctrl_psm, reconnect_param.mdl_id);
2608 BTA_HlDeleteMdl(p_mcb->mcl_handle, p_acb->delete_mdl.mdl_id);
2804 create_rsp_param.mdl_id = p_data->dch_create_ind.mdl_id;
2850 p_dcb->mdl_id = p_data->dch_open_ind.mdl_id;
2856 if(btif_hl_find_channel_id_using_mdl_id(orig_app_idx,p_dcb->mdl_id , &p_dcb->channel_id))
2868 BTIF_TRACE_ERROR1("Unable find channel id for mdl_id=0x%x", p_dcb->mdl_id );
2932 p_dcb->mdl_id = p_data->dch_open_cfm.mdl_id;
3008 p_dcb->mdl_id = p_data->dch_reconnect_cfm.mdl_id;
3086 p_dcb->mdl_id = p_data->dch_reconnect_ind.mdl_id;
3576 BTIF_TRACE_DEBUG5("first_reliable =%d dch_mode=%d local_mdep_id=%d mdl_id=%d mtu=%d",
3580 p_data->dch_open_cfm.mdl_id,
3629 BTIF_TRACE_DEBUG3("local_mdep_id =%d mdl_id=%d cfg=%d",
3631 p_data->dch_create_ind.mdl_id,
3641 mdl_id=%d mtu=%d",
3645 p_data->dch_open_ind.mdl_id,
3653 BTIF_TRACE_DEBUG2("mcl_handle=%d mdl_id=0x%x",
3655 p_data->delete_mdl_ind.mdl_id);
3660 BTIF_TRACE_DEBUG3("mcl_handle=%d mdl_id=0x%x status=%d",
3662 p_data->delete_mdl_cfm.mdl_id,
3665 if (btif_hl_find_app_idx_using_deleted_mdl_id( p_data->delete_mdl_cfm.mdl_id,
3680 BTIF_TRACE_DEBUG4("first_reliable =%d dch_mode=%d mdl_id=%d mtu=%d",
3683 p_data->dch_reconnect_cfm.mdl_id,
3773 BTIF_TRACE_DEBUG4("first_reliable =%d dch_mode=%d mdl_id=%d mtu=%d",
3776 p_data->dch_reconnect_ind.mdl_id,
4156 p_acb->delete_mdl.mdl_id = p_mdl->base.mdl_id;
4166 BTIF_TRACE_DEBUG1("calling BTA_HlDeleteMdl mdl_id=%d",p_acb->delete_mdl.mdl_id );
4167 BTA_HlDeleteMdl(p_mcb->mcl_handle, p_acb->delete_mdl.mdl_id);
4398 BTIF_TRACE_DEBUG6("%s mdep_id=%d item_idx=%d, local_mdep_id=%d mdl_id=0x%x dch_mode=%d",
4400 p_mdl_cfg->mdl_id, p_mdl_cfg->dch_mode );
4428 __FUNCTION__, app_idx, item_idx, p_mdl->base.mdl_id);