Lines Matching refs:mdep_idx
418 BOOLEAN bta_hl_find_echo_cfg_rsp(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdep_idx, UINT8 cfg,
422 tBTA_HL_MDEP *p_mdep= &p_acb->sup_feature.mdep[mdep_idx];
446 APPL_TRACE_DEBUG4("bta_hl_find_echo_cfg_rsp status=failed app_idx=%d mcl_idx=%d mdep_idx=%d cfg=%d",
447 app_idx, mcl_idx, mdep_idx, cfg);
1805 APPL_TRACE_DEBUG3("bta_hl_find_mdep_cfg_idx found=%d mdep_idx=%d local_mdep_id=%d ",
2189 UINT8 i, mdep_idx, num_of_mdeps;
2209 for (mdep_idx = 1; mdep_idx < BTA_HL_NUM_MDEPS; mdep_idx++)
2211 if ( p_acb->sup_feature.mdep[mdep_idx].mdep_id == 0)
2221 if (mdep_idx == BTA_HL_NUM_MDEPS)
2228 &(p_acb->sup_feature.mdep[mdep_idx].mdep_id), &mca_cs) == MCA_SUCCESS)
2231 mdep_idx,
2233 p_acb->sup_feature.mdep[mdep_idx].mdep_id,
2234 &p_acb->sup_feature.mdep[mdep_idx].mdep_cfg))
2236 p_acb->sup_feature.mdep[mdep_idx].ori_app_id = app_id;
2237 APPL_TRACE_DEBUG4("mdep idx %d id %d ori_app_id %d num data type %d",mdep_idx,
2238 mdep_idx].mdep_id,
2239 p_acb->sup_feature.mdep[mdep_idx].ori_app_id,
2240 p_acb->sup_feature.mdep[mdep_idx].mdep_cfg.num_of_mdep_data_types);
2241 if (p_acb->sup_feature.mdep[mdep_idx].mdep_cfg.mdep_role ==
2246 else if (p_acb->sup_feature.mdep[mdep_idx].mdep_cfg.mdep_role ==
2254 p_acb->sup_feature.mdep[mdep_idx].mdep_cfg.mdep_role);