Searched refs:productStrategy (Results 1 – 14 of 14) 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 | 202 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/ |
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 | 292 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()
|
D | AudioPolicyManager.cpp | 2527 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/ |
D | IAudioPolicyService.h | 218 product_strategy_t &productStrategy) = 0;
|
D | AudioSystem.h | 387 product_strategy_t &productStrategy);
|
/frameworks/av/media/libaudioclient/include/media/ |
D | IAudioPolicyService.h | 218 product_strategy_t &productStrategy) = 0;
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterface.h | 266 product_strategy_t &productStrategy) = 0;
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyInterfaceImpl.cpp | 1293 const AudioAttributes &aa, product_strategy_t &productStrategy) in getProductStrategyFromAudioAttributes() argument 1299 return mAudioPolicyManager->getProductStrategyFromAudioAttributes(aa, productStrategy); in getProductStrategyFromAudioAttributes()
|
D | AudioPolicyService.h | 252 product_strategy_t &productStrategy);
|
/frameworks/av/media/libaudioclient/ |
D | AudioSystem.cpp | 1493 product_strategy_t &productStrategy) in getProductStrategyFromAudioAttributes() argument 1497 return aps->getProductStrategyFromAudioAttributes(aa,productStrategy); in getProductStrategyFromAudioAttributes()
|
D | IAudioPolicyService.cpp | 1208 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/ |
D | AudioService.java | 2396 for (final AudioProductStrategy productStrategy : in getVolumeGroupIdForAttributesInt() 2398 int volumeGroupId = productStrategy.getVolumeGroupIdForAudioAttributes(attributes); in getVolumeGroupIdForAttributesInt()
|