Home
last modified time | relevance | path

Searched refs:STRATEGY_MEDIA (Results 1 – 4 of 4) 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/qcom/audio/msm8909/policy_hal/
DAudioPolicyManager.cpp579 && (!isStrategyActive(mPrimaryOutput,STRATEGY_MEDIA)))) { in getNewOutputDevice()
583 && (!isStrategyActive(mPrimaryOutput, STRATEGY_MEDIA)))) { in getNewOutputDevice()
587 } else if (isStrategyActive(outputDesc, STRATEGY_MEDIA)) { in getNewOutputDevice()
588 device = getDeviceForStrategy(STRATEGY_MEDIA, fromCache); in getNewOutputDevice()
848 if ((isStrategyActive(desc, STRATEGY_MEDIA, in setPhoneState()
857 setStrategyMute(STRATEGY_MEDIA, true, desc); in setPhoneState()
858 setStrategyMute(STRATEGY_MEDIA, false, desc, MUTE_TIME_MS, in setPhoneState()
859 getDeviceForStrategy(STRATEGY_MEDIA, true /*fromCache*/)); in setPhoneState()
/hardware/libhardware_legacy/audio/
DAudioPolicyManagerBase.cpp365 if ((desc->isStrategyActive(STRATEGY_MEDIA, in setPhoneState()
374 setStrategyMute(STRATEGY_MEDIA, true, mOutputs.keyAt(i)); in setPhoneState()
375 setStrategyMute(STRATEGY_MEDIA, false, mOutputs.keyAt(i), MUTE_TIME_MS, in setPhoneState()
376 getDeviceForStrategy(STRATEGY_MEDIA, true /*fromCache*/)); in setPhoneState()
1335 if (pDesc->mEnabled && (pDesc->mStrategy == STRATEGY_MEDIA) && in isNonOffloadableEffectEnabled()
2343 if (strategy == STRATEGY_MEDIA) { in checkOutputForStrategy()
2376 checkOutputForStrategy(STRATEGY_MEDIA); in checkOutputForAllStrategies()
2468 } else if (outputDesc->isStrategyActive(STRATEGY_MEDIA)) { in getNewDevice()
2469 device = getDeviceForStrategy(STRATEGY_MEDIA, fromCache); in getNewDevice()
2517 return STRATEGY_MEDIA; in getStrategy()
[all …]
/hardware/libhardware_legacy/include/hardware_legacy/
DAudioPolicyManagerBase.h154 STRATEGY_MEDIA, enumerator