Lines Matching refs:routing_strategy
675 routing_strategy strategy = getStrategy(stream); in getOutput()
746 routing_strategy strategy = (routing_strategy) getStrategyForAttr(&attributes); in getOutputForAttr()
1170 routing_strategy strategy = getStrategy(stream); in startSource()
1874 routing_strategy curStrategy = getStrategy((audio_stream_type_t)curStream); in setStreamVolumeIndex()
1966 routing_strategy strategy = getStrategy(AUDIO_STREAM_MUSIC); in getOutputForEffect()
2817 void AudioPolicyManager::checkStrategyRoute(routing_strategy strategy, in checkStrategyRoute()
2827 if (!isStrategyActive(outputDesc, (routing_strategy)strategy)) { in checkStrategyRoute()
2849 SortedVector<routing_strategy> affectedStrategies; in clearSessionRoutes()
2956 routing_strategy strategy = (routing_strategy) getStrategyForAttr(&sourceDesc->mAttributes); in connectAudioSource()
3108 audio_io_handle_t output, routing_strategy strategy) in getSourceForStrategyOnOutput()
3113 routing_strategy sourceStrategy = in getSourceForStrategyOnOutput()
3114 (routing_strategy) getStrategyForAttr(&sourceDesc->mAttributes); in getSourceForStrategyOnOutput()
4138 void AudioPolicyManager::checkOutputForStrategy(routing_strategy strategy) in AudioPolicyManager()
4374 routing_strategy curStrategy = getStrategy((audio_stream_type_t)curStream); in AudioPolicyManager()
4376 getDeviceForStrategy((routing_strategy)curStrategy, true /*fromCache*/); in AudioPolicyManager()
4396 routing_strategy AudioPolicyManager::getStrategy(audio_stream_type_t stream) const in AudioPolicyManager()
4484 audio_devices_t AudioPolicyManager::getDeviceForStrategy(routing_strategy strategy, in AudioPolicyManager()
4496 routing_strategy routeStrategy = getStrategy(route->mStreamType); in AudioPolicyManager()
4513 mDeviceForStrategy[i] = getDeviceForStrategy((routing_strategy)i, false /*fromCache*/); in AudioPolicyManager()
4534 audio_devices_t curDevice = getDeviceForStrategy((routing_strategy)i, false /*fromCache*/); in AudioPolicyManager()
4556 setStrategyMute((routing_strategy)i, mute, desc, mute ? 0 : delayMs); in AudioPolicyManager()
4557 if (isStrategyActive(desc, (routing_strategy)i)) { in AudioPolicyManager()
4580 if (isStrategyActive(outputDesc, (routing_strategy)i)) { in AudioPolicyManager()
4581 setStrategyMute((routing_strategy)i, true, outputDesc); in AudioPolicyManager()
4583 setStrategyMute((routing_strategy)i, false, outputDesc, in AudioPolicyManager()
4909 const routing_strategy stream_strategy = getStrategy(stream); in AudioPolicyManager()
5028 void AudioPolicyManager::setStrategyMute(routing_strategy strategy, in AudioPolicyManager()
5094 const routing_strategy stream_strategy = getStrategy(stream); in AudioPolicyManager()
5210 routing_strategy strategy, uint32_t inPastMs, in AudioPolicyManager()