Searched refs:productStrategy (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioProductStrategy.java | 92 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/ |
D | EngineBase.cpp | 270 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/ |
D | SeekBarVolumizer.java | 196 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/ |
D | AudioPolicyManager.h | 300 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()
|
D | AudioPolicyManager.cpp | 2543 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/ |
D | IAudioPolicyService.h | 220 product_strategy_t &productStrategy) = 0;
|
D | AudioSystem.h | 389 product_strategy_t &productStrategy);
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterface.h | 272 product_strategy_t &productStrategy) = 0;
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyInterfaceImpl.cpp | 1301 const AudioAttributes &aa, product_strategy_t &productStrategy) in getProductStrategyFromAudioAttributes() argument 1307 return mAudioPolicyManager->getProductStrategyFromAudioAttributes(aa, productStrategy); in getProductStrategyFromAudioAttributes()
|
D | AudioPolicyService.h | 263 product_strategy_t &productStrategy);
|
/frameworks/av/media/libaudioclient/ |
D | AudioSystem.cpp | 1514 product_strategy_t &productStrategy) in getProductStrategyFromAudioAttributes() argument 1518 return aps->getProductStrategyFromAudioAttributes(aa,productStrategy); in getProductStrategyFromAudioAttributes()
|
D | IAudioPolicyService.cpp | 1212 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/ |
D | AudioService.java | 2471 for (final AudioProductStrategy productStrategy : in getVolumeGroupIdForAttributesInt() 2473 int volumeGroupId = productStrategy.getVolumeGroupIdForAudioAttributes(attributes); in getVolumeGroupIdForAttributesInt()
|