Home
last modified time | relevance | path

Searched refs:isStrategyActive (Results 1 – 2 of 2) sorted by relevance

/hardware/libhardware_legacy/audio/
DAudioPolicyManagerBase.cpp364 if ((desc->isStrategyActive(STRATEGY_MEDIA, in setPhoneState()
367 desc->isStrategyActive(STRATEGY_SONIFICATION, in setPhoneState()
2335 if (desc->isStrategyActive(strategy)) { in checkOutputForStrategy()
2458 if (outputDesc->isStrategyActive(STRATEGY_ENFORCED_AUDIBLE)) { in getNewDevice()
2461 outputDesc->isStrategyActive(STRATEGY_PHONE)) { in getNewDevice()
2463 } else if (outputDesc->isStrategyActive(STRATEGY_SONIFICATION)) { in getNewDevice()
2465 } else if (outputDesc->isStrategyActive(STRATEGY_SONIFICATION_RESPECTFUL)) { in getNewDevice()
2467 } else if (outputDesc->isStrategyActive(STRATEGY_MEDIA)) { in getNewDevice()
2469 } else if (outputDesc->isStrategyActive(STRATEGY_DTMF)) { in getNewDevice()
2795 if (desc->isStrategyActive((routing_strategy)i)) { in checkDeviceMuteStrategies()
[all …]
/hardware/libhardware_legacy/include/hardware_legacy/
DAudioPolicyManagerBase.h269 bool isStrategyActive(routing_strategy strategy,