Home
last modified time | relevance | path

Searched refs:productStrategy (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/media/java/android/media/audiopolicy/
DAudioProductStrategy.java92 for (final AudioProductStrategy productStrategy : in getAudioAttributesForStrategyWithLegacyStreamType()
94 AudioAttributes aa = productStrategy.getAudioAttributesForLegacyStreamType(streamType); in getAudioAttributesForStrategyWithLegacyStreamType()
113 for (final AudioProductStrategy productStrategy : in getLegacyStreamTypeForStrategyWithAudioAttributes()
115 if (productStrategy.supportsAudioAttributes(audioAttributes)) { in getLegacyStreamTypeForStrategyWithAudioAttributes()
116 int streamType = productStrategy.getLegacyStreamTypeForAudioAttributes( in getLegacyStreamTypeForStrategyWithAudioAttributes()
120 + productStrategy.getId() + " has no stream type associated, " in getLegacyStreamTypeForStrategyWithAudioAttributes()
/frameworks/av/services/audiopolicy/engine/common/src/
DEngineBase.cpp270 const auto &productStrategy = iter.second; in listAudioProductStrategies() local
272 {productStrategy->getName(), productStrategy->listAudioAttributes(), in listAudioProductStrategies()
273 productStrategy->getId()}); in listAudioProductStrategies()
/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java196 for (final AudioProductStrategy productStrategy : in getVolumeGroupIdForLegacyStreamType()
198 int volumeGroupId = productStrategy.getVolumeGroupIdForLegacyStreamType(streamType); in getVolumeGroupIdForLegacyStreamType()
213 for (final AudioProductStrategy productStrategy : in getAudioAttributesForLegacyStreamType()
215 AudioAttributes aa = productStrategy.getAudioAttributesForLegacyStreamType(streamType); in getAudioAttributesForLegacyStreamType()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h300 product_strategy_t &productStrategy) in getProductStrategyFromAudioAttributes() argument
302 productStrategy = mEngine->getProductStrategyForAttributes(aa.getAttributes()); in getProductStrategyFromAudioAttributes()
303 return productStrategy != PRODUCT_STRATEGY_NONE ? NO_ERROR : BAD_VALUE; in getProductStrategyFromAudioAttributes()
DAudioPolicyManager.cpp2543 for (const auto &productStrategy : mEngine->getOrderedProductStrategies()) { in setVolumeIndexForAttributes() local
2544 auto activeClients = desc->clientsList(true /*activeOnly*/, productStrategy, in setVolumeIndexForAttributes()
2550 bool isHigherPriority = productStrategy < strategy; in setVolumeIndexForAttributes()
2557 " on output %zu, bailing out", __func__, productStrategy, in setVolumeIndexForAttributes()
5292 for (const auto &productStrategy : mEngine->getOrderedProductStrategies()) { in getNewOutputDevices() local
5293 StreamTypeVector streams = mEngine->getStreamTypesForProductStrategy(productStrategy); in getNewOutputDevices()
5294 auto attr = mEngine->getAllAttributesForProductStrategy(productStrategy).front(); in getNewOutputDevices()
5297 (isInCall() || mOutputs.isStrategyActiveOnSameModule(productStrategy, outputDesc)) && in getNewOutputDevices()
5300 mOutputs.isStrategyActiveOnSameModule(productStrategy, outputDesc)) || in getNewOutputDevices()
5301 outputDesc->isStrategyActive(productStrategy)) { in getNewOutputDevices()
[all …]
/frameworks/av/media/libaudioclient/include/media/
DIAudioPolicyService.h220 product_strategy_t &productStrategy) = 0;
DAudioSystem.h389 product_strategy_t &productStrategy);
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h272 product_strategy_t &productStrategy) = 0;
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp1301 const AudioAttributes &aa, product_strategy_t &productStrategy) in getProductStrategyFromAudioAttributes() argument
1307 return mAudioPolicyManager->getProductStrategyFromAudioAttributes(aa, productStrategy); in getProductStrategyFromAudioAttributes()
DAudioPolicyService.h263 product_strategy_t &productStrategy);
/frameworks/av/media/libaudioclient/
DAudioSystem.cpp1514 product_strategy_t &productStrategy) in getProductStrategyFromAudioAttributes() argument
1518 return aps->getProductStrategyFromAudioAttributes(aa,productStrategy); in getProductStrategyFromAudioAttributes()
DIAudioPolicyService.cpp1212 product_strategy_t &productStrategy) in getProductStrategyFromAudioAttributes() argument
1228 productStrategy = static_cast<product_strategy_t>(reply.readInt32()); in getProductStrategyFromAudioAttributes()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java2471 for (final AudioProductStrategy productStrategy : in getVolumeGroupIdForAttributesInt()
2473 int volumeGroupId = productStrategy.getVolumeGroupIdForAudioAttributes(attributes); in getVolumeGroupIdForAttributesInt()