Home
last modified time | relevance | path

Searched refs:volume_group_t (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/av/services/audiopolicy/engine/common/include/
DProductStrategy.h48 volume_group_t mVolumeGroup = VOLUME_GROUP_NONE;
95 volume_group_t getVolumeGroupForAttributes(const audio_attributes_t &attr) const;
97 volume_group_t getVolumeGroupForStreamType(audio_stream_type_t stream) const;
99 volume_group_t getDefaultVolumeGroup() const;
157 volume_group_t getVolumeGroupForAttributes(
160 volume_group_t getVolumeGroupForStreamType(
163 volume_group_t getDefaultVolumeGroup() const;
DVolumeGroup.h35 volume_group_t getId() const { return mId; } in getId()
51 const volume_group_t mId;
55 class VolumeGroupMap : public std::map<volume_group_t, sp<VolumeGroup> >
DEngineBase.h74 IVolumeCurves *getVolumeCurvesForVolumeGroup(volume_group_t group) const override in getVolumeCurvesForVolumeGroup()
82 volume_group_t getVolumeGroupForAttributes(
85 volume_group_t getVolumeGroupForStreamType(
/frameworks/av/media/libaudioclient/include/media/
DAudioCommonTypes.h44 enum volume_group_t : uint32_t;
45 static const volume_group_t VOLUME_GROUP_NONE = static_cast<volume_group_t>(-1);
DAudioAttributes.h34 AudioAttributes(volume_group_t groupId, in AudioAttributes()
45 volume_group_t getGroupId() const { return mGroupId; } in getGroupId()
59 volume_group_t mGroupId = VOLUME_GROUP_NONE;
DAudioVolumeGroup.h34 volume_group_t group, in AudioVolumeGroup()
40 volume_group_t getId() const { return mGroupId; } in getId()
49 volume_group_t mGroupId = VOLUME_GROUP_NONE;
DPolicyAidlConversion.h42 ConversionResult<volume_group_t>
45 legacy2aidl_volume_group_t_int32_t(volume_group_t legacy);
DAidlConversion.h367 ConversionResult<volume_group_t>
370 legacy2aidl_volume_group_t_int32_t(volume_group_t legacy);
DAudioSystem.h449 const AudioAttributes &aa, volume_group_t &volumeGroup, bool fallbackOnDefault = true);
521 virtual void onAudioVolumeGroupChanged(volume_group_t group, int flags) = 0;
/frameworks/av/services/audiopolicy/engine/common/src/
DProductStrategy.cpp123 volume_group_t ProductStrategy::getVolumeGroupForAttributes(const audio_attributes_t &attr) const in getVolumeGroupForAttributes()
133 volume_group_t ProductStrategy::getVolumeGroupForStreamType(audio_stream_type_t stream) const in getVolumeGroupForStreamType()
143 volume_group_t ProductStrategy::getDefaultVolumeGroup() const in getDefaultVolumeGroup()
275 volume_group_t ProductStrategyMap::getVolumeGroupForAttributes( in getVolumeGroupForAttributes()
279 volume_group_t group = iter.second->getVolumeGroupForAttributes(attr); in getVolumeGroupForAttributes()
287 volume_group_t ProductStrategyMap::getVolumeGroupForStreamType( in getVolumeGroupForStreamType()
291 volume_group_t group = iter.second->getVolumeGroupForStreamType(stream); in getVolumeGroupForStreamType()
300 volume_group_t ProductStrategyMap::getDefaultVolumeGroup() const in getDefaultVolumeGroup()
DVolumeGroup.cpp35 mName(name), mId(static_cast<volume_group_t>(HandleGenerator<uint32_t>::getNextHandle())), in VolumeGroup()
DEngineBase.cpp289 volume_group_t volGr = mProductStrategies.getVolumeGroupForAttributes(attr); in getVolumeCurvesForAttributes()
297 volume_group_t volGr = mProductStrategies.getVolumeGroupForStreamType(stream); in getVolumeCurvesForStreamType()
333 volume_group_t EngineBase::getVolumeGroupForAttributes( in getVolumeGroupForAttributes()
339 volume_group_t EngineBase::getVolumeGroupForStreamType( in getVolumeGroupForStreamType()
/frameworks/av/services/audiopolicy/engine/interface/
DEngineInterface.h38 using VolumeGroupVector = std::vector<volume_group_t>;
267 virtual IVolumeCurves *getVolumeCurvesForVolumeGroup(volume_group_t group) const = 0;
284 virtual volume_group_t getVolumeGroupForAttributes(
296 virtual volume_group_t getVolumeGroupForStreamType(
/frameworks/base/core/jni/
Dandroid_media_AudioVolumeGroupCallback.h34 void onAudioVolumeGroupChanged(volume_group_t group, int flags) override;
Dandroid_media_AudioVolumeGroupCallback.cpp71 void JNIAudioVolumeGroupCallback::onAudioVolumeGroupChanged(volume_group_t group, int flags) in onAudioVolumeGroupChanged()
/frameworks/av/services/audiopolicy/common/include/
DVolume.h35 enum VolumeSource : std::underlying_type<volume_group_t>::type;
/frameworks/av/media/libaudioclient/
DPolicyAidlConversion.cpp29 ConversionResult<volume_group_t>
31 return convertReinterpret<volume_group_t>(aidl); in aidl2legacy_int32_t_volume_group_t()
35 legacy2aidl_volume_group_t_int32_t(volume_group_t legacy) { in legacy2aidl_volume_group_t_int32_t()
DAidlConversion.cpp2152 ConversionResult<volume_group_t>
2154 return convertReinterpret<volume_group_t>(aidl); in aidl2legacy_int32_t_volume_group_t()
2158 legacy2aidl_volume_group_t_int32_t(volume_group_t legacy) { in legacy2aidl_volume_group_t_int32_t()
DAudioSystem.cpp2074 volume_group_t& volumeGroup, in getVolumeGroupFromAudioAttributes()
2379 volume_group_t groupLegacy = VALUE_OR_RETURN_BINDER_STATUS( in onAudioVolumeGroupChanged()
/frameworks/av/services/audiopolicy/tests/
DAudioPolicyTestClient.h75 void onAudioVolumeGroupChanged(volume_group_t /*group*/, int /*flags*/) override { } in onAudioVolumeGroupChanged() argument
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.h310 void onAudioVolumeGroupChanged(volume_group_t group, int flags);
311 void doOnAudioVolumeGroupChanged(volume_group_t group, int flags);
515 void changeAudioVolumeGroupCommand(volume_group_t group, int flags);
605 volume_group_t mGroup;
751 virtual void onAudioVolumeGroupChanged(volume_group_t group, int flags);
780 void onAudioVolumeGroupChanged(volume_group_t group, int flags);
DAudioPolicyClientImpl.cpp263 void AudioPolicyService::AudioPolicyClient::onAudioVolumeGroupChanged(volume_group_t group, in onAudioVolumeGroupChanged()
DAudioPolicyService.cpp284 void AudioPolicyService::onAudioVolumeGroupChanged(volume_group_t group, int flags) in onAudioVolumeGroupChanged()
289 void AudioPolicyService::doOnAudioVolumeGroupChanged(volume_group_t group, int flags) in doOnAudioVolumeGroupChanged()
412 void AudioPolicyService::NotificationClient::onAudioVolumeGroupChanged(volume_group_t group, in onAudioVolumeGroupChanged()
1996 void AudioPolicyService::AudioCommandThread::changeAudioVolumeGroupCommand(volume_group_t group, in changeAudioVolumeGroupCommand()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h351 const AudioAttributes &aa, volume_group_t &volumeGroup, bool fallbackOnDefault) in getVolumeGroupFromAudioAttributes()
415 std::vector<volume_group_t> getVolumeGroups() const in getVolumeGroups()
420 VolumeSource toVolumeSource(volume_group_t volumeGroup) const in toVolumeSource()
435 static_cast<volume_group_t>(volumeSource)); in getVolumeCurves()
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h302 const AudioAttributes &aa, volume_group_t &volumeGroup, bool fallbackOnDefault) = 0;
435 virtual void onAudioVolumeGroupChanged(volume_group_t group, int flags) = 0;

12