Lines Matching refs:routing_strategy
779 routing_strategy strategy = getStrategy(stream); in getOutput()
857 routing_strategy strategy = (routing_strategy) getStrategyForAttr(&attributes); in getOutputForAttr()
1241 routing_strategy strategy = getStrategy(stream); in startSource()
2284 routing_strategy curStrategy = getStrategy((audio_stream_type_t)curStream); in setStreamVolumeIndex()
2349 routing_strategy strategy = getStrategy(AUDIO_STREAM_MUSIC); in selectOutputForMusicEffects()
3261 void AudioPolicyManager::checkStrategyRoute(routing_strategy strategy, in checkStrategyRoute()
3271 if (!isStrategyActive(outputDesc, (routing_strategy)strategy)) { in checkStrategyRoute()
3293 SortedVector<routing_strategy> affectedStrategies; in clearSessionRoutes()
3400 routing_strategy strategy = (routing_strategy) getStrategyForAttr(&sourceDesc->mAttributes); in connectAudioSource()
3852 audio_io_handle_t output, routing_strategy strategy) in getSourceForStrategyOnOutput()
3857 routing_strategy sourceStrategy = in getSourceForStrategyOnOutput()
3858 (routing_strategy) getStrategyForAttr(&sourceDesc->mAttributes); in getSourceForStrategyOnOutput()
4698 void AudioPolicyManager::checkOutputForStrategy(routing_strategy strategy) in loadConfig()
4951 routing_strategy curStrategy = getStrategy((audio_stream_type_t)curStream); in loadConfig()
4953 getDeviceForStrategy((routing_strategy)curStrategy, false /*fromCache*/); in loadConfig()
4972 routing_strategy AudioPolicyManager::getStrategy(audio_stream_type_t stream) const in loadConfig()
5060 audio_devices_t AudioPolicyManager::getDeviceForStrategy(routing_strategy strategy, in loadConfig()
5087 mDeviceForStrategy[i] = getDeviceForStrategy((routing_strategy)i, false /*fromCache*/); in loadConfig()
5108 audio_devices_t curDevice = getDeviceForStrategy((routing_strategy)i, false /*fromCache*/); in loadConfig()
5130 setStrategyMute((routing_strategy)i, mute, desc, mute ? 0 : delayMs); in loadConfig()
5131 if (isStrategyActive(desc, (routing_strategy)i)) { in loadConfig()
5158 if (isStrategyActive(outputDesc, (routing_strategy)i)) { in loadConfig()
5161 setStrategyMute((routing_strategy)i, true, outputDesc, delayMs); in loadConfig()
5162 setStrategyMute((routing_strategy)i, false, outputDesc, in loadConfig()
5563 const routing_strategy stream_strategy = getStrategy(stream); in loadConfig()
5687 void AudioPolicyManager::setStrategyMute(routing_strategy strategy, in loadConfig()
5753 const routing_strategy stream_strategy = getStrategy(stream); in loadConfig()
5871 routing_strategy strategy, uint32_t inPastMs, in loadConfig()