Home
last modified time | relevance | path

Searched refs:STRATEGY_MEDIA (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.cpp192 return STRATEGY_MEDIA; in getStrategyForStream()
216 return STRATEGY_MEDIA; in getStrategyForUsage()
237 return STRATEGY_MEDIA; in getStrategyForUsage()
281 device = getDeviceForStrategyInt(STRATEGY_MEDIA, in getDeviceForStrategyInt()
300 STRATEGY_MEDIA, availableOutputDevices, availableInputDevices, outputs, in getDeviceForStrategyInt()
503 case STRATEGY_MEDIA: { in getDeviceForStrategyInt()
512 if (isInCall() && (strategy == STRATEGY_MEDIA)) { in getDeviceForStrategyInt()
569 if (strategy == STRATEGY_MEDIA) { in getDeviceForStrategyInt()
582 if ((strategy == STRATEGY_MEDIA) && in getDeviceForStrategyInt()
/frameworks/av/services/audiopolicy/common/include/
DRoutingStrategy.h26 STRATEGY_MEDIA, enumerator
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DUsage.h36 mApplicableStrategy(STRATEGY_MEDIA) in Element()
DStream.h37 mApplicableStrategy(STRATEGY_MEDIA) in Element()
DEngine.cpp165 return mPolicyEngine->getPropertyForKey<audio_devices_t, routing_strategy>(STRATEGY_MEDIA); in getDeviceForStrategy()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DEffectDescriptor.cpp157 if (effectDesc->mEnabled && (effectDesc->mStrategy == STRATEGY_MEDIA) && in isNonOffloadableEffectEnabled()
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Settings/
Ddevice_for_strategy_enforced_audible.pfw24 # - in countries where not enforced in which case it follows STRATEGY_MEDIA
Ddevice_for_strategy_accessibility.pfw6 # STRATEGY_ACCESSIBILITY follows STRATEGY_MEDIA otherwise
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp592 if ((isStrategyActive(desc, STRATEGY_MEDIA, in setPhoneState()
601 setStrategyMute(STRATEGY_MEDIA, true, desc); in setPhoneState()
602 setStrategyMute(STRATEGY_MEDIA, false, desc, MUTE_TIME_MS, in setPhoneState()
603 getDeviceForStrategy(STRATEGY_MEDIA, true /*fromCache*/)); in setPhoneState()
4750 if (strategy == STRATEGY_MEDIA) { in loadConfig()
4772 checkOutputForStrategy(STRATEGY_MEDIA); in loadConfig()
4889 } else if (isStrategyActive(outputDesc, STRATEGY_MEDIA)) { in loadConfig()
4890 device = getDeviceForStrategy(STRATEGY_MEDIA, fromCache); in loadConfig()
5582 audio_devices_t musicDevice = getDeviceForStrategy(STRATEGY_MEDIA, true /*fromCache*/); in loadConfig()