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.cpp184 return STRATEGY_MEDIA; in getStrategyForStream()
207 return STRATEGY_MEDIA; in getStrategyForUsage()
228 return STRATEGY_MEDIA; in getStrategyForUsage()
282 STRATEGY_MEDIA, availableOutputDevices, availableInputDevices, outputs); in getDeviceForStrategyInt()
301 STRATEGY_MEDIA, availableOutputDevices, availableInputDevices, outputs); in getDeviceForStrategyInt()
454 case STRATEGY_MEDIA: { in getDeviceForStrategyInt()
463 if (isInCall() && (strategy == STRATEGY_MEDIA)) { in getDeviceForStrategyInt()
513 if (strategy == STRATEGY_MEDIA) { in getDeviceForStrategyInt()
526 if ((strategy == STRATEGY_MEDIA) && in getDeviceForStrategyInt()
/frameworks/av/services/audiopolicy/common/include/
DRoutingStrategy.h26 STRATEGY_MEDIA, enumerator
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DStream.h37 mApplicableStrategy(STRATEGY_MEDIA) in Element()
DUsage.h36 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.cpp500 if ((isStrategyActive(desc, STRATEGY_MEDIA, in setPhoneState()
509 setStrategyMute(STRATEGY_MEDIA, true, desc); in setPhoneState()
510 setStrategyMute(STRATEGY_MEDIA, false, desc, MUTE_TIME_MS, in setPhoneState()
511 getDeviceForStrategy(STRATEGY_MEDIA, true /*fromCache*/)); in setPhoneState()
4181 if (strategy == STRATEGY_MEDIA) { in AudioPolicyManager()
4218 checkOutputForStrategy(STRATEGY_MEDIA); in AudioPolicyManager()
4318 } else if (isStrategyActive(outputDesc, STRATEGY_MEDIA)) { in AudioPolicyManager()
4319 device = getDeviceForStrategy(STRATEGY_MEDIA, fromCache); in AudioPolicyManager()
4926 audio_devices_t musicDevice = getDeviceForStrategy(STRATEGY_MEDIA, true /*fromCache*/); in AudioPolicyManager()