/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
D | Engine.h | 63 virtual audio_devices_t getDeviceForStrategy(routing_strategy stategy) const; 64 virtual routing_strategy getStrategyForStream(audio_stream_type_t stream) in getStrategyForStream() 66 return mPolicyEngine->getPropertyForKey<routing_strategy, audio_stream_type_t>(stream); in getStrategyForStream() 68 virtual routing_strategy getStrategyForUsage(audio_usage_t usage); 102 virtual status_t addStrategy(const std::string &name, routing_strategy strategy) in addStrategy() 104 return mPolicyEngine->add<routing_strategy>(name, strategy); in addStrategy() 118 virtual bool setDeviceForStrategy(const routing_strategy &strategy, audio_devices_t devices) in setDeviceForStrategy() 120 return mPolicyEngine->setPropertyForKey<audio_devices_t, routing_strategy>(devices, in setDeviceForStrategy() 124 routing_strategy strategy) in setStrategyForStream() 126 return mPolicyEngine->setPropertyForKey<routing_strategy, audio_stream_type_t>(strategy, in setStrategyForStream() [all …]
|
D | Strategy.h | 31 class Element<routing_strategy> 55 status_t setIdentifier(routing_strategy identifier); 60 routing_strategy getIdentifier() const { return mIdentifier; } in getIdentifier() 79 routing_strategy mIdentifier; /**< Unique numerical Identifier of a policy base element*/ 84 typedef Element<routing_strategy> Strategy;
|
D | Engine.cpp | 43 StrategyCollection &Engine::getCollection<routing_strategy>() in getCollection() 64 const StrategyCollection &Engine::getCollection<routing_strategy>() const in getCollection() 141 routing_strategy Engine::ManagerInterfaceImpl::getStrategyForUsage(audio_usage_t usage) in getStrategyForUsage() 143 return mPolicyEngine->getPropertyForKey<routing_strategy, audio_usage_t>(usage); in getStrategyForUsage() 146 audio_devices_t Engine::ManagerInterfaceImpl::getDeviceForStrategy(routing_strategy strategy) const in getDeviceForStrategy() 165 return mPolicyEngine->getPropertyForKey<audio_devices_t, routing_strategy>(STRATEGY_MEDIA); in getDeviceForStrategy() 172 return mPolicyEngine->getPropertyForKey<audio_devices_t, routing_strategy>( in getDeviceForStrategy() 175 return mPolicyEngine->getPropertyForKey<audio_devices_t, routing_strategy>(strategy); in getDeviceForStrategy()
|
D | Usage.cpp | 37 status_t Element<audio_usage_t>::set<routing_strategy>(routing_strategy strategy) in set() 48 routing_strategy Element<audio_usage_t>::get<routing_strategy>() const in get()
|
D | Strategy.cpp | 28 status_t Element<routing_strategy>::setIdentifier(routing_strategy identifier) in setIdentifier() 47 status_t Element<routing_strategy>::set<audio_devices_t>(audio_devices_t devices) in set() 60 audio_devices_t Element<routing_strategy>::get<audio_devices_t>() const in get()
|
D | Stream.cpp | 48 status_t Element<audio_stream_type_t>::set<routing_strategy>(routing_strategy strategy) in set() 59 routing_strategy Element<audio_stream_type_t>::get<routing_strategy>() const in get()
|
D | Collection.h | 156 struct Collection<routing_strategy>::collectionSupported {}; 158 typedef Collection<routing_strategy> StrategyCollection;
|
D | Stream.h | 82 routing_strategy mApplicableStrategy; /**< Applicable strategy for this stream. */
|
D | Usage.h | 80 routing_strategy mApplicableStrategy; /**< Applicable strategy for this usage. */
|
/frameworks/av/services/audiopolicy/enginedefault/src/ |
D | Engine.h | 61 virtual audio_devices_t getDeviceForStrategy(routing_strategy strategy) const in getDeviceForStrategy() 65 virtual routing_strategy getStrategyForStream(audio_stream_type_t stream) in getStrategyForStream() 69 virtual routing_strategy getStrategyForUsage(audio_usage_t usage) in getStrategyForUsage() 125 routing_strategy getStrategyForStream(audio_stream_type_t stream); 126 routing_strategy getStrategyForUsage(audio_usage_t usage); 127 audio_devices_t getDeviceForStrategy(routing_strategy strategy) const; 128 audio_devices_t getDeviceForStrategyInt(routing_strategy strategy,
|
D | Engine.cpp | 164 routing_strategy Engine::getStrategyForStream(audio_stream_type_t stream) in getStrategyForStream() 196 routing_strategy Engine::getStrategyForUsage(audio_usage_t usage) in getStrategyForUsage() 232 audio_devices_t Engine::getDeviceForStrategy(routing_strategy strategy) const in getDeviceForStrategy() 245 audio_devices_t Engine::getDeviceForStrategyInt(routing_strategy strategy, in getDeviceForStrategyInt()
|
/frameworks/av/services/audiopolicy/engineconfigurable/interface/ |
D | AudioPolicyPluginInterface.h | 49 virtual android::status_t addStrategy(const std::string &name, routing_strategy id) = 0; 98 … virtual bool setDeviceForStrategy(const routing_strategy &strategy, audio_devices_t devices) = 0; 108 …virtual bool setStrategyForStream(const audio_stream_type_t &stream, routing_strategy strategy) = … 129 virtual bool setStrategyForUsage(const audio_usage_t &usage, routing_strategy strategy) = 0;
|
/frameworks/av/services/audiopolicy/engine/interface/ |
D | AudioPolicyManagerInterface.h | 68 virtual audio_devices_t getDeviceForStrategy(routing_strategy stategy) const = 0; 77 virtual routing_strategy getStrategyForStream(audio_stream_type_t stream) = 0; 86 virtual routing_strategy getStrategyForUsage(audio_usage_t usage) = 0;
|
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/plugin/ |
D | Strategy.cpp | 22 using android::routing_strategy; 38 mId = static_cast<routing_strategy>(context.getItemAsInteger(MappingKeyIdentifier)); in Strategy()
|
D | Usage.cpp | 22 using android::routing_strategy; 48 static_cast<routing_strategy>(applicableStrategy)); in sendToHW()
|
D | Stream.cpp | 22 using android::routing_strategy; 44 static_cast<routing_strategy>(params.strategy)); in sendToHW()
|
D | Strategy.h | 46 android::routing_strategy mId; /**< strategy identifier to link with audio.h.*/
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.h | 238 routing_strategy getStrategy(audio_stream_type_t stream) const; 291 virtual audio_devices_t getDeviceForStrategy(routing_strategy strategy, 294 bool isStrategyActive(const sp<AudioOutputDescriptor> outputDesc, routing_strategy strategy, 335 void setStrategyMute(routing_strategy strategy, 385 void checkOutputForStrategy(routing_strategy strategy); 495 void checkStrategyRoute(routing_strategy strategy, audio_io_handle_t ouptutToSkip); 503 routing_strategy strategy);
|
D | AudioPolicyManager.cpp | 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() [all …]
|
/frameworks/av/services/audiopolicy/common/include/ |
D | RoutingStrategy.h | 25 enum routing_strategy { enum
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | EffectDescriptor.h | 34 routing_strategy mStrategy; // routing strategy the effect is associated to
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | EffectDescriptor.cpp | 76 effectDesc->mStrategy = static_cast<routing_strategy>(strategy); in registerEffect()
|