Searched refs:EnumBitfield (Results 1 – 5 of 5) sorted by relevance
31 class EnumBitfield {35 EnumBitfield(const EnumBitfield&) = default;36 explicit EnumBitfield(Enum value) : mValue(value) {} in EnumBitfield() function37 explicit EnumBitfield(Bitfield value) : EnumBitfield(static_cast<Enum>(value)) {} in EnumBitfield() function39 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()
25 using ::android::hardware::audio::common::utils::EnumBitfield;40 descriptor->flags = EnumBitfield<EffectFlags>(halDescriptor.flags); in effectDescriptorFromHal()
22 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()
80 config.channelMask = EnumBitfield<AudioChannelMask>(channelMask); in combineAudioConfig()
89 using ::android::hardware::audio::common::utils::EnumBitfield;