Home
last modified time | relevance | path

Searched refs:audioChannelMaskToHal (Results 1 – 6 of 6) sorted by relevance

/hardware/interfaces/audio/common/all-versions/default/7.0/
DHidlUtils.cpp119 status_t HidlUtils::audioChannelMaskToHal(const AudioChannelMask& channelMask, in audioChannelMaskToHal() function in android::hardware::audio::common::COMMON_TYPES_CPP_VERSION::implementation::HidlUtils
145 CONVERT_CHECKED(audioChannelMaskToHal(configBase.channelMask, &halConfigBase->channel_mask), in audioConfigBaseToHal()
198 audioChannelMaskToHal(configBase.channelMask.value(), &halConfigBase->channel_mask), in audioConfigBaseOptionalToHal()
428 CONVERT_CHECKED(audioChannelMaskToHal(config.channelMask, &halConfig->channel_mask), result); in audioGainConfigToHal()
475 CONVERT_CHECKED(audioChannelMaskToHal(gain.channelMask, &halGain->channel_mask), result); in audioGainToHal()
985 audioChannelMaskToHal(profile.channelMasks[i], &halProfile->channel_masks[i]), in audioUsageFromHal()
/hardware/interfaces/audio/core/all-versions/default/util/
DCoreUtils.cpp257 CONVERT_CHECKED(HidlUtils::audioChannelMaskToHal(trackMetadata.channelMask, in sinkMetadataToHalV7()
367 CONVERT_CHECKED(HidlUtils::audioChannelMaskToHal(trackMetadata.channelMask, in sourceMetadataToHalV7()
/hardware/interfaces/audio/common/all-versions/default/tests/
Dhidlutils_tests.cpp62 EXPECT_EQ(BAD_VALUE, HidlUtils::audioChannelMaskToHal("", &halInvalid)); in TEST()
64 EXPECT_EQ(BAD_VALUE, HidlUtils::audioChannelMaskToHal("AUDIO_CHANNEL_INVALID", &halInvalid)); in TEST()
65 EXPECT_EQ(BAD_VALUE, HidlUtils::audioChannelMaskToHal("random string", &halInvalid)); in TEST()
89 EXPECT_EQ(NO_ERROR, HidlUtils::audioChannelMaskToHal(channelMask, &halChannelMask)) in TEST()
102 HidlUtils::audioChannelMaskToHal(channelMaskBack, &halChannelMaskBack)) in TEST()
/hardware/interfaces/audio/effect/all-versions/default/
DVirtualizerEffect.cpp211 if (status_t status = HidlUtils::audioChannelMaskToHal(mask, &halChannelMask); in getVirtualSpeakerAngles()
DEffect.cpp383 (void)HidlUtils::audioChannelMaskToHal(config.mainChannels, &halConfig->main_channels); in effectAuxChannelsConfigToHal()
384 (void)HidlUtils::audioChannelMaskToHal(config.auxChannels, &halConfig->aux_channels); in effectAuxChannelsConfigToHal()
/hardware/interfaces/audio/common/all-versions/default/
DHidlUtils.h90 static status_t audioChannelMaskToHal(const AudioChannelMask& channelMask,