Home
last modified time | relevance | path

Searched refs:EnumBitfield (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/audio/common/all-versions/util/include/common/all-versions/
DVersionUtils.h31 class EnumBitfield {
35 EnumBitfield(const EnumBitfield&) = default;
36 explicit EnumBitfield(Enum value) : mValue(value) {} in EnumBitfield() function
37 explicit EnumBitfield(Bitfield value) : EnumBitfield(static_cast<Enum>(value)) {} in EnumBitfield() function
39 EnumBitfield& operator=(const EnumBitfield&) = default;
40 EnumBitfield& operator=(Enum value) { return *this = EnumBitfield{value}; }
41 EnumBitfield& operator=(Bitfield value) { return *this = EnumBitfield{value}; }
52 EnumBitfield<Enum> mkEnumBitfield(Enum value) { in mkEnumBitfield()
53 return EnumBitfield<Enum>{value}; in mkEnumBitfield()
/hardware/interfaces/audio/effect/all-versions/default/
DConversions.cpp25 using ::android::hardware::audio::common::utils::EnumBitfield;
40 descriptor->flags = EnumBitfield<EffectFlags>(halDescriptor.flags); in effectDescriptorFromHal()
/hardware/interfaces/audio/common/all-versions/default/
DHidlUtils.cpp22 using ::android::hardware::audio::common::utils::EnumBitfield;
33 config->channelMask = EnumBitfield<AudioChannelMask>(halConfig.channel_mask); in audioConfigFromHal()
51 config->mode = EnumBitfield<AudioGainMode>(halConfig.mode); in audioGainConfigFromHal()
52 config->channelMask = EnumBitfield<AudioChannelMask>(halConfig.channel_mask); in audioGainConfigFromHal()
72 gain->mode = EnumBitfield<AudioGainMode>(halGain.mode); in audioGainFromHal()
73 gain->channelMask = EnumBitfield<AudioChannelMask>(halGain.channel_mask); in audioGainFromHal()
112 offload->channelMask = EnumBitfield<AudioChannelMask>(halOffload.channel_mask); in audioOffloadInfoFromHal()
145 config->configMask = EnumBitfield<AudioPortConfigMask>(halConfig.config_mask); in audioPortConfigFromHal()
147 config->channelMask = EnumBitfield<AudioChannelMask>(halConfig.channel_mask); in audioPortConfigFromHal()
247 port->channelMasks[i] = EnumBitfield<AudioChannelMask>(halPort.channel_masks[i]); in audioPortFromHal()
/hardware/interfaces/audio/core/all-versions/vts/functional/
DConfigHelper.h80 config.channelMask = EnumBitfield<AudioChannelMask>(channelMask); in combineAudioConfig()
DAudioPrimaryHidlHalTest.h89 using ::android::hardware::audio::common::utils::EnumBitfield;