Home | History | Annotate | Download | only in hl

Lines Matching full:mdep

423     tBTA_HL_MDEP        *p_mdep= &p_acb->sup_feature.mdep[mdep_idx];
1780 ** Description This function finds the MDEP configuration index based
1781 ** on the local MDEP ID
1797 if ( p_sup_feature->mdep[i].mdep_id == local_mdep_id)
1821 ** the MDEP configuration data
1835 p_mdep_cfg = &p_acb->sup_feature.mdep[mdep_cfg_idx].mdep_cfg;
1937 (p_acb->sup_feature.mdep[mdep_cfg_idx].mdep_cfg.mdep_role == BTA_HL_MDEP_ROLE_SOURCE) &&
1992 if ( p_sup_feature->mdep[i].mdep_id == p_acb->mdl_cfg[mdl_cfg_idx].local_mdep_id)
2210 /* Find the first available mdep index, and create a MDL Endpoint */
2214 if ( p_acb->sup_feature.mdep[mdep_idx].mdep_id == 0)
2226 APPL_TRACE_ERROR("bta_hl_app_update: Out of MDEP IDs");
2231 &(p_acb->sup_feature.mdep[mdep_idx].mdep_id), &mca_cs) == MCA_SUCCESS)
2236 p_acb->sup_feature.mdep[mdep_idx].mdep_id,
2237 &p_acb->sup_feature.mdep[mdep_idx].mdep_cfg))
2239 p_acb->sup_feature.mdep[mdep_idx].ori_app_id = app_id;
2240 APPL_TRACE_DEBUG("mdep idx %d id %d ori_app_id %d num data type %d",mdep_idx,
2241 mdep[mdep_idx].mdep_id,
2242 p_acb->sup_feature.mdep[mdep_idx].ori_app_id,
2243 p_acb->sup_feature.mdep[mdep_idx].mdep_cfg.num_of_mdep_data_types);
2244 if (p_acb->sup_feature.mdep[mdep_idx].mdep_cfg.mdep_role ==
2249 else if (p_acb->sup_feature.mdep[mdep_idx].mdep_cfg.mdep_role ==
2257 p_acb->sup_feature.mdep[mdep_idx].mdep_cfg.mdep_role);
2308 if (p_acb->sup_feature.mdep[i].ori_app_id == app_id)
2314 (p_acb->sup_feature.mdep[i].mdep_id)) != MCA_SUCCESS)
2320 memset(&p_acb->sup_feature.mdep[i], 0, sizeof(tBTA_HL_MDEP));
2329 /* Register/Update MDEP(s) in SDP Record */
2373 &(p_acb->sup_feature.mdep[0].mdep_id),
2376 if (p_acb->sup_feature.mdep[0].mdep_id != BTA_HL_ECHO_TEST_MDEP_ID)
2379 APPL_TRACE_ERROR("BAD MDEP ID for echo test mdep_id=%d",
2380 p_acb->sup_feature.mdep[0].mdep_id );
2402 &(p_acb->sup_feature.mdep[i].mdep_id), &mca_cs) == MCA_SUCCESS)
2406 p_acb->sup_feature.mdep[i].mdep_id,
2407 &p_acb->sup_feature.mdep[i].mdep_cfg))
2409 if (p_acb->sup_feature.mdep[i].mdep_cfg.mdep_role == BTA_HL_MDEP_ROLE_SOURCE)
2413 else if (p_acb->sup_feature.mdep[i].mdep_cfg.mdep_role == BTA_HL_MDEP_ROLE_SINK)
2422 p_acb->sup_feature.mdep[i].ori_app_id = p_acb->app_id;
2424 p_acb->sup_feature.mdep[i].ori_app_id);
2560 p_mdep_cfg = &p_acb->sup_feature.mdep[p_dcb->local_mdep_cfg_idx];
2636 if (p_sup_feature->mdep[local_mdep_cfg_idx].mdep_cfg.mdep_role ==