Searched refs:isStrategyActive (Results 1 – 3 of 3) sorted by relevance
/hardware/qcom/audio/msm8909/policy_hal/ |
D | AudioPolicyManager.cpp | 568 if (isStrategyActive(outputDesc, STRATEGY_ENFORCED_AUDIBLE) && in getNewOutputDevice() 572 isStrategyActive(outputDesc, STRATEGY_PHONE)|| in getNewOutputDevice() 573 isStrategyActive(mPrimaryOutput, STRATEGY_PHONE)) { in getNewOutputDevice() 575 } else if (isStrategyActive(outputDesc, STRATEGY_ENFORCED_AUDIBLE)) { in getNewOutputDevice() 577 } else if (isStrategyActive(outputDesc, STRATEGY_SONIFICATION)|| in getNewOutputDevice() 578 (isStrategyActive(mPrimaryOutput,STRATEGY_SONIFICATION) in getNewOutputDevice() 579 && (!isStrategyActive(mPrimaryOutput,STRATEGY_MEDIA)))) { in getNewOutputDevice() 581 } else if (isStrategyActive(outputDesc, STRATEGY_SONIFICATION_RESPECTFUL)|| in getNewOutputDevice() 582 (isStrategyActive(mPrimaryOutput,STRATEGY_SONIFICATION_RESPECTFUL) in getNewOutputDevice() 583 && (!isStrategyActive(mPrimaryOutput, STRATEGY_MEDIA)))) { in getNewOutputDevice() [all …]
|
/hardware/libhardware_legacy/audio/ |
D | AudioPolicyManagerBase.cpp | 365 if ((desc->isStrategyActive(STRATEGY_MEDIA, in setPhoneState() 368 desc->isStrategyActive(STRATEGY_SONIFICATION, in setPhoneState() 2336 if (desc->isStrategyActive(strategy)) { in checkOutputForStrategy() 2459 if (outputDesc->isStrategyActive(STRATEGY_ENFORCED_AUDIBLE)) { in getNewDevice() 2462 outputDesc->isStrategyActive(STRATEGY_PHONE)) { in getNewDevice() 2464 } else if (outputDesc->isStrategyActive(STRATEGY_SONIFICATION)) { in getNewDevice() 2466 } else if (outputDesc->isStrategyActive(STRATEGY_SONIFICATION_RESPECTFUL)) { in getNewDevice() 2468 } else if (outputDesc->isStrategyActive(STRATEGY_MEDIA)) { in getNewDevice() 2470 } else if (outputDesc->isStrategyActive(STRATEGY_DTMF)) { in getNewDevice() 2796 if (desc->isStrategyActive((routing_strategy)i)) { in checkDeviceMuteStrategies() [all …]
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
D | AudioPolicyManagerBase.h | 269 bool isStrategyActive(routing_strategy strategy,
|