Home
last modified time | relevance | path

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

/hardware/qcom/audio/legacy/alsa_sound/
DAudioPolicyManagerALSA.cpp128 if (desc->strategyRefCount(STRATEGY_MEDIA) != 0) { in setPhoneState()
129 setStrategyMute(STRATEGY_MEDIA, true, mOutputs.keyAt(i)); in setPhoneState()
130 setStrategyMute(STRATEGY_MEDIA, false, mOutputs.keyAt(i), MUTE_TIME_MS, in setPhoneState()
131 getDeviceForStrategy(STRATEGY_MEDIA, true /*fromCache*/)); in setPhoneState()
/hardware/libhardware_legacy/audio/
DAudioPolicyManagerBase.cpp364 if ((desc->isStrategyActive(STRATEGY_MEDIA, in setPhoneState()
373 setStrategyMute(STRATEGY_MEDIA, true, mOutputs.keyAt(i)); in setPhoneState()
374 setStrategyMute(STRATEGY_MEDIA, false, mOutputs.keyAt(i), MUTE_TIME_MS, in setPhoneState()
375 getDeviceForStrategy(STRATEGY_MEDIA, true /*fromCache*/)); in setPhoneState()
1334 if (pDesc->mEnabled && (pDesc->mStrategy == STRATEGY_MEDIA) && in isNonOffloadableEffectEnabled()
2342 if (strategy == STRATEGY_MEDIA) { in checkOutputForStrategy()
2375 checkOutputForStrategy(STRATEGY_MEDIA); in checkOutputForAllStrategies()
2467 } else if (outputDesc->isStrategyActive(STRATEGY_MEDIA)) { in getNewDevice()
2468 device = getDeviceForStrategy(STRATEGY_MEDIA, fromCache); in getNewDevice()
2516 return STRATEGY_MEDIA; in getStrategy()
[all …]
/hardware/libhardware_legacy/include/hardware_legacy/
DAudioPolicyManagerBase.h154 STRATEGY_MEDIA, enumerator