Lines Matching refs:STRATEGY_MEDIA
365 if ((desc->isStrategyActive(STRATEGY_MEDIA,
374 setStrategyMute(STRATEGY_MEDIA, true, mOutputs.keyAt(i));
375 setStrategyMute(STRATEGY_MEDIA, false, mOutputs.keyAt(i), MUTE_TIME_MS,
376 getDeviceForStrategy(STRATEGY_MEDIA, true /*fromCache*/));
1335 if (pDesc->mEnabled && (pDesc->mStrategy == STRATEGY_MEDIA) &&
2343 if (strategy == STRATEGY_MEDIA) {
2376 checkOutputForStrategy(STRATEGY_MEDIA);
2468 } else if (outputDesc->isStrategyActive(STRATEGY_MEDIA)) {
2469 device = getDeviceForStrategy(STRATEGY_MEDIA, fromCache);
2486 // and then return STRATEGY_MEDIA, but we want to return the empty set.
2517 return STRATEGY_MEDIA;
2559 device = getDeviceForStrategy(STRATEGY_MEDIA, false /*fromCache*/);
2570 device = getDeviceForStrategy(STRATEGY_MEDIA, false /*fromCache*/);
2671 // - in countries where not enforced in which case it follows STRATEGY_MEDIA
2683 case STRATEGY_MEDIA: {
2733 ALOGE("getDeviceForStrategy() no device found for STRATEGY_MEDIA");
3278 audio_devices_t musicDevice = getDeviceForStrategy(STRATEGY_MEDIA, true /*fromCache*/);