Home
last modified time | relevance | path

Searched refs:productStrategy (Results 1 – 14 of 14) 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.cpp202 const auto &productStrategy = iter.second; in listAudioProductStrategies() local
204 {productStrategy->getName(), productStrategy->listAudioAttributes(), in listAudioProductStrategies()
205 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.h292 product_strategy_t &productStrategy) in getProductStrategyFromAudioAttributes() argument
294 productStrategy = mEngine->getProductStrategyForAttributes(aa.getAttributes()); in getProductStrategyFromAudioAttributes()
295 return productStrategy != PRODUCT_STRATEGY_NONE ? NO_ERROR : BAD_VALUE; in getProductStrategyFromAudioAttributes()
DAudioPolicyManager.cpp2527 for (const auto &productStrategy : mEngine->getOrderedProductStrategies()) { in setVolumeIndexForAttributes() local
2528 auto activeClients = desc->clientsList(true /*activeOnly*/, productStrategy, in setVolumeIndexForAttributes()
2534 bool isHigherPriority = productStrategy < strategy; in setVolumeIndexForAttributes()
2541 " on output %zu, bailing out", __func__, productStrategy, in setVolumeIndexForAttributes()
5208 for (const auto &productStrategy : mEngine->getOrderedProductStrategies()) { in getNewOutputDevices() local
5209 StreamTypeVector streams = mEngine->getStreamTypesForProductStrategy(productStrategy); in getNewOutputDevices()
5210 auto attr = mEngine->getAllAttributesForProductStrategy(productStrategy).front(); in getNewOutputDevices()
5213 (isInCall() || mOutputs.isStrategyActiveOnSameModule(productStrategy, outputDesc))) || in getNewOutputDevices()
5215 mOutputs.isStrategyActiveOnSameModule(productStrategy, outputDesc)) || in getNewOutputDevices()
5216 outputDesc->isStrategyActive(productStrategy)) { in getNewOutputDevices()
[all …]
/frameworks/av/include/media/
DIAudioPolicyService.h218 product_strategy_t &productStrategy) = 0;
DAudioSystem.h387 product_strategy_t &productStrategy);
/frameworks/av/media/libaudioclient/include/media/
DIAudioPolicyService.h218 product_strategy_t &productStrategy) = 0;
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h266 product_strategy_t &productStrategy) = 0;
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp1293 const AudioAttributes &aa, product_strategy_t &productStrategy) in getProductStrategyFromAudioAttributes() argument
1299 return mAudioPolicyManager->getProductStrategyFromAudioAttributes(aa, productStrategy); in getProductStrategyFromAudioAttributes()
DAudioPolicyService.h252 product_strategy_t &productStrategy);
/frameworks/av/media/libaudioclient/
DAudioSystem.cpp1493 product_strategy_t &productStrategy) in getProductStrategyFromAudioAttributes() argument
1497 return aps->getProductStrategyFromAudioAttributes(aa,productStrategy); in getProductStrategyFromAudioAttributes()
DIAudioPolicyService.cpp1208 product_strategy_t &productStrategy) in getProductStrategyFromAudioAttributes() argument
1224 productStrategy = static_cast<product_strategy_t>(reply.readInt32()); in getProductStrategyFromAudioAttributes()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java2396 for (final AudioProductStrategy productStrategy : in getVolumeGroupIdForAttributesInt()
2398 int volumeGroupId = productStrategy.getVolumeGroupIdForAudioAttributes(attributes); in getVolumeGroupIdForAttributesInt()