Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/audiopolicy/
DAudioProductStrategy.java133 for (final AudioProductStrategy productStrategy : in getAudioAttributesForStrategyWithLegacyStreamType()
135 AudioAttributes aa = productStrategy.getAudioAttributesForLegacyStreamType(streamType); in getAudioAttributesForStrategyWithLegacyStreamType()
154 for (final AudioProductStrategy productStrategy : in getLegacyStreamTypeForStrategyWithAudioAttributes()
156 if (productStrategy.supportsAudioAttributes(audioAttributes)) { in getLegacyStreamTypeForStrategyWithAudioAttributes()
157 int streamType = productStrategy.getLegacyStreamTypeForAudioAttributes( in getLegacyStreamTypeForStrategyWithAudioAttributes()
161 + productStrategy.getId() + " have no associated stream type, " in getLegacyStreamTypeForStrategyWithAudioAttributes()
355 for (AudioProductStrategy productStrategy : getAudioProductStrategies()) { in getVolumeGroupIdForAudioAttributesInt()
356 int volumeGroupId = productStrategy.getVolumeGroupIdForAudioAttributes(attributes); in getVolumeGroupIdForAudioAttributesInt()
/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java229 for (final AudioProductStrategy productStrategy : in getVolumeGroupIdForLegacyStreamType()
231 int volumeGroupId = productStrategy.getVolumeGroupIdForLegacyStreamType(streamType); in getVolumeGroupIdForLegacyStreamType()
246 for (final AudioProductStrategy productStrategy : in getAudioAttributesForLegacyStreamType()
248 AudioAttributes aa = productStrategy.getAudioAttributesForLegacyStreamType(streamType); in getAudioAttributesForLegacyStreamType()
/frameworks/av/services/audiopolicy/engine/common/src/
DEngineBase.cpp327 const auto &productStrategy = iter.second; in listAudioProductStrategies() local
329 {productStrategy->getName(), productStrategy->listVolumeGroupAttributes(), in listAudioProductStrategies()
330 productStrategy->getId()}); in listAudioProductStrategies()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h380 const audio_attributes_t &aa, product_strategy_t &productStrategy, in getProductStrategyFromAudioAttributes() argument
383 productStrategy = mEngine->getProductStrategyForAttributes(aa, fallbackOnDefault); in getProductStrategyFromAudioAttributes()
384 return (fallbackOnDefault && productStrategy == PRODUCT_STRATEGY_NONE) ? in getProductStrategyFromAudioAttributes()
DAudioPolicyManager.cpp3533 for (const auto &productStrategy : mEngine->getOrderedProductStrategies()) { in setVolumeIndexForAttributes() local
3534 auto activeClients = desc->clientsList(true /*activeOnly*/, productStrategy, in setVolumeIndexForAttributes()
3540 bool isHigherPriority = productStrategy < strategy; in setVolumeIndexForAttributes()
3547 " on output %zu, bailing out", __func__, productStrategy, in setVolumeIndexForAttributes()
7497 for (const auto &productStrategy : mEngine->getOrderedProductStrategies()) { in getNewOutputDevices() local
7498 StreamTypeVector streams = mEngine->getStreamTypesForProductStrategy(productStrategy); in getNewOutputDevices()
7507 mOutputs.isStrategyActiveOnSameModule(productStrategy, outputDesc)) && in getNewOutputDevices()
7517 if (doGetOutputDevicesForVoice() || outputDesc->isStrategyActive(productStrategy) || in getNewOutputDevices()
7520 mOutputs.isStrategyActiveOnSameModule(productStrategy, outputDesc))) { in getNewOutputDevices()
7523 auto attr = mEngine->getAllAttributesForProductStrategy(productStrategy).front(); in getNewOutputDevices()
[all …]
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h329 const audio_attributes_t &aa, product_strategy_t &productStrategy,
/frameworks/av/media/libaudioclient/include/media/
DAudioSystem.h541 const audio_attributes_t &aa, product_strategy_t &productStrategy,
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp2195 product_strategy_t productStrategy; in getProductStrategyFromAudioAttributes() local
2203 aa, productStrategy, fallbackOnDefault))); in getProductStrategyFromAudioAttributes()
2205 legacy2aidl_product_strategy_t_int32_t(productStrategy)); in getProductStrategyFromAudioAttributes()
/frameworks/av/media/libaudioclient/
DAudioSystem.cpp2274 product_strategy_t& productStrategy, in getProductStrategyFromAudioAttributes() argument
2286 productStrategy = VALUE_OR_RETURN_STATUS( in getProductStrategyFromAudioAttributes()