Lines Matching refs:routing_strategy
692 routing_strategy strategy = getStrategy(stream); in getOutput()
763 routing_strategy strategy = (routing_strategy) getStrategyForAttr(&attributes); in getOutputForAttr()
1188 routing_strategy strategy = getStrategy(stream); in startSource()
1903 routing_strategy curStrategy = getStrategy((audio_stream_type_t)curStream); in setStreamVolumeIndex()
1999 routing_strategy strategy = getStrategy(AUDIO_STREAM_MUSIC); in getOutputForEffect()
2849 void AudioPolicyManager::checkStrategyRoute(routing_strategy strategy, in checkStrategyRoute()
2859 if (!isStrategyActive(outputDesc, (routing_strategy)strategy)) { in checkStrategyRoute()
2881 SortedVector<routing_strategy> affectedStrategies; in clearSessionRoutes()
2988 routing_strategy strategy = (routing_strategy) getStrategyForAttr(&sourceDesc->mAttributes); in connectAudioSource()
3140 audio_io_handle_t output, routing_strategy strategy) in getSourceForStrategyOnOutput()
3145 routing_strategy sourceStrategy = in getSourceForStrategyOnOutput()
3146 (routing_strategy) getStrategyForAttr(&sourceDesc->mAttributes); in getSourceForStrategyOnOutput()
4171 void AudioPolicyManager::checkOutputForStrategy(routing_strategy strategy) in AudioPolicyManager()
4407 routing_strategy curStrategy = getStrategy((audio_stream_type_t)curStream); in AudioPolicyManager()
4409 getDeviceForStrategy((routing_strategy)curStrategy, false /*fromCache*/); in AudioPolicyManager()
4429 routing_strategy AudioPolicyManager::getStrategy(audio_stream_type_t stream) const in AudioPolicyManager()
4517 audio_devices_t AudioPolicyManager::getDeviceForStrategy(routing_strategy strategy, in AudioPolicyManager()
4529 routing_strategy routeStrategy = getStrategy(route->mStreamType); in AudioPolicyManager()
4546 mDeviceForStrategy[i] = getDeviceForStrategy((routing_strategy)i, false /*fromCache*/); in AudioPolicyManager()
4567 audio_devices_t curDevice = getDeviceForStrategy((routing_strategy)i, false /*fromCache*/); in AudioPolicyManager()
4589 setStrategyMute((routing_strategy)i, mute, desc, mute ? 0 : delayMs); in AudioPolicyManager()
4590 if (isStrategyActive(desc, (routing_strategy)i)) { in AudioPolicyManager()
4617 if (isStrategyActive(outputDesc, (routing_strategy)i)) { in AudioPolicyManager()
4620 setStrategyMute((routing_strategy)i, true, outputDesc, delayMs); in AudioPolicyManager()
4621 setStrategyMute((routing_strategy)i, false, outputDesc, in AudioPolicyManager()
4947 const routing_strategy stream_strategy = getStrategy(stream); in AudioPolicyManager()
5066 void AudioPolicyManager::setStrategyMute(routing_strategy strategy, in AudioPolicyManager()
5132 const routing_strategy stream_strategy = getStrategy(stream); in AudioPolicyManager()
5248 routing_strategy strategy, uint32_t inPastMs, in AudioPolicyManager()