Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/engine/common/include/
DProductStrategy.h125 const audio_attributes_t &attr, bool fallbackOnDefault = true) const;
150 const audio_attributes_t &attr, bool fallbackOnDefault = true) const;
153 audio_stream_type_t stream, bool fallbackOnDefault = true) const;
163 const audio_attributes_t &attr, bool fallbackOnDefault = true) const;
DEngineBase.h59 const audio_attributes_t &attr, bool fallbackOnDefault = true) const override;
86 const audio_attributes_t &attr, bool fallbackOnDefault = true) const override;
89 audio_stream_type_t stream, bool fallbackOnDefault = true) const override;
/frameworks/av/services/audiopolicy/engine/common/src/
DProductStrategy.cpp148 const audio_attributes_t &attributes, bool fallbackOnDefault) const in getProductStrategyForAttributes()
162 return (matchScore != AudioProductStrategy::MATCH_ON_DEFAULT_SCORE || fallbackOnDefault) ? in getProductStrategyForAttributes()
244 const audio_attributes_t &attr, bool fallbackOnDefault) const in getVolumeGroupAttributesForAttributes()
260 return (matchScore != AudioProductStrategy::MATCH_ON_DEFAULT_SCORE || fallbackOnDefault) ? in getVolumeGroupAttributesForAttributes()
273 const audio_attributes_t &attr, bool fallbackOnDefault) const in getVolumeGroupForAttributes()
275 return getVolumeGroupAttributesForAttributes(attr, fallbackOnDefault).getGroupId(); in getVolumeGroupForAttributes()
279 audio_stream_type_t stream, bool fallbackOnDefault) const in getVolumeGroupForStreamType()
288 return fallbackOnDefault ? getDefaultVolumeGroup() : VOLUME_GROUP_NONE; in getVolumeGroupForStreamType()
DEngineBase.cpp89 const audio_attributes_t &attr, bool fallbackOnDefault) const in getProductStrategyForAttributes()
91 return mProductStrategies.getProductStrategyForAttributes(attr, fallbackOnDefault); in getProductStrategyForAttributes()
382 const audio_attributes_t &attr, bool fallbackOnDefault) const in getVolumeGroupForAttributes()
384 return mProductStrategies.getVolumeGroupForAttributes(attr, fallbackOnDefault); in getVolumeGroupForAttributes()
388 audio_stream_type_t stream, bool fallbackOnDefault) const in getVolumeGroupForStreamType()
390 return mProductStrategies.getVolumeGroupForStreamType(stream, fallbackOnDefault); in getVolumeGroupForStreamType()
/frameworks/av/services/audiopolicy/engine/interface/
DEngineInterface.h137 const audio_attributes_t &attr, bool fallbackOnDefault = true) const = 0;
303 const audio_attributes_t &attr, bool fallbackOnDefault = true) const = 0;
315 audio_stream_type_t stream, bool fallbackOnDefault = true) const = 0;
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h381 bool fallbackOnDefault) in getProductStrategyFromAudioAttributes() argument
383 productStrategy = mEngine->getProductStrategyForAttributes(aa, fallbackOnDefault); in getProductStrategyFromAudioAttributes()
384 return (fallbackOnDefault && productStrategy == PRODUCT_STRATEGY_NONE) ? in getProductStrategyFromAudioAttributes()
394 const audio_attributes_t &aa, volume_group_t &volumeGroup, bool fallbackOnDefault) in getVolumeGroupFromAudioAttributes() argument
396 volumeGroup = mEngine->getVolumeGroupForAttributes(aa, fallbackOnDefault); in getVolumeGroupFromAudioAttributes()
397 return (fallbackOnDefault && volumeGroup == VOLUME_GROUP_NONE) ? in getVolumeGroupFromAudioAttributes()
501 const audio_attributes_t &attributes, bool fallbackOnDefault = true) const
504 attributes, fallbackOnDefault));
507 audio_stream_type_t stream, bool fallbackOnDefault = true) const
510 stream, fallbackOnDefault));
/frameworks/av/media/libaudioclient/aidl/android/media/
DIAudioPolicyService.aidl346 in AudioAttributes aa, boolean fallbackOnDefault); in getProductStrategyFromAudioAttributes() argument
350 boolean fallbackOnDefault); in getVolumeGroupFromAudioAttributes() argument
/frameworks/base/media/java/android/media/audiopolicy/
DAudioProductStrategy.java185 @NonNull AudioAttributes attributes, boolean fallbackOnDefault) { in getVolumeGroupIdForAudioAttributes() argument
191 if (fallbackOnDefault) { in getVolumeGroupIdForAudioAttributes()
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h330 bool fallbackOnDefault) = 0;
335 const audio_attributes_t &aa, volume_group_t &volumeGroup, bool fallbackOnDefault) = 0;
/frameworks/av/media/libaudioclient/include/media/
DAudioSystem.h542 bool fallbackOnDefault = true);
551 bool fallbackOnDefault = true);
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.h251 bool fallbackOnDefault,
257 bool fallbackOnDefault,
DAudioPolicyInterfaceImpl.cpp2192 bool fallbackOnDefault, int32_t* _aidl_return) { in getProductStrategyFromAudioAttributes() argument
2203 aa, productStrategy, fallbackOnDefault))); in getProductStrategyFromAudioAttributes()
2226 bool fallbackOnDefault, int32_t* _aidl_return) { in getVolumeGroupFromAudioAttributes() argument
2238 aa, volumeGroup, fallbackOnDefault))); in getVolumeGroupFromAudioAttributes()
/frameworks/av/media/libaudioclient/
DAudioSystem.cpp2275 bool fallbackOnDefault) { in getProductStrategyFromAudioAttributes() argument
2284 aps->getProductStrategyFromAudioAttributes(aaAidl, fallbackOnDefault, in getProductStrategyFromAudioAttributes()
2305 bool fallbackOnDefault) { in getVolumeGroupFromAudioAttributes() argument
2313 aps->getVolumeGroupFromAudioAttributes(aaAidl, fallbackOnDefault, &volumeGroupAidl))); in getVolumeGroupFromAudioAttributes()