Lines Matching refs:mdep
422 tBTA_HL_MDEP *p_mdep= &p_acb->sup_feature.mdep[mdep_idx];
1777 ** Description This function finds the MDEP configuration index based
1778 ** on the local MDEP ID
1794 if ( p_sup_feature->mdep[i].mdep_id == local_mdep_id)
1818 ** the MDEP configuration data
1832 p_mdep_cfg = &p_acb->sup_feature.mdep[mdep_cfg_idx].mdep_cfg;
1934 (p_acb->sup_feature.mdep[mdep_cfg_idx].mdep_cfg.mdep_role == BTA_HL_MDEP_ROLE_SOURCE) &&
1989 if ( p_sup_feature->mdep[i].mdep_id == p_acb->mdl_cfg[mdl_cfg_idx].local_mdep_id)
2207 /* Find the first available mdep index, and create a MDL Endpoint */
2211 if ( p_acb->sup_feature.mdep[mdep_idx].mdep_id == 0)
2223 APPL_TRACE_ERROR0("bta_hl_app_update: Out of MDEP IDs");
2228 &(p_acb->sup_feature.mdep[mdep_idx].mdep_id), &mca_cs) == MCA_SUCCESS)
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[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);
2305 if (p_acb->sup_feature.mdep[i].ori_app_id == app_id)
2311 (p_acb->sup_feature.mdep[i].mdep_id)) != MCA_SUCCESS)
2317 memset(&p_acb->sup_feature.mdep[i], 0, sizeof(tBTA_HL_MDEP));
2326 /* Register/Update MDEP(s) in SDP Record */
2370 &(p_acb->sup_feature.mdep[0].mdep_id),
2373 if (p_acb->sup_feature.mdep[0].mdep_id != BTA_HL_ECHO_TEST_MDEP_ID)
2376 APPL_TRACE_ERROR1("BAD MDEP ID for echo test mdep_id=%d",
2377 p_acb->sup_feature.mdep[0].mdep_id );
2399 &(p_acb->sup_feature.mdep[i].mdep_id), &mca_cs) == MCA_SUCCESS)
2403 p_acb->sup_feature.mdep[i].mdep_id,
2404 &p_acb->sup_feature.mdep[i].mdep_cfg))
2406 if (p_acb->sup_feature.mdep[i].mdep_cfg.mdep_role == BTA_HL_MDEP_ROLE_SOURCE)
2410 else if (p_acb->sup_feature.mdep[i].mdep_cfg.mdep_role == BTA_HL_MDEP_ROLE_SINK)
2419 p_acb->sup_feature.mdep[i].ori_app_id = p_acb->app_id;
2421 p_acb->sup_feature.mdep[i].ori_app_id);
2557 p_mdep_cfg = &p_acb->sup_feature.mdep[p_dcb->local_mdep_cfg_idx];
2633 if (p_sup_feature->mdep[local_mdep_cfg_idx].mdep_cfg.mdep_role ==