diff options
author | Hayden Gomes <haydengomes@google.com> | 2020-11-06 15:15:26 -0800 |
---|---|---|
committer | Mikhail Naganov <mnaganov@google.com> | 2020-12-04 16:50:37 +0000 |
commit | 4e7d69e751f29d72c339ffbb66da95a0b08f4e12 (patch) | |
tree | 2b56a254117e5c3f757afcd68cdef76e4037d124 /audio/effect/all-versions/vts/functional/VtsHalAudioEffectTargetTest.cpp | |
parent | 6119f169216285af7562cf57c3f6a93a406e119e (diff) |
Changing package for audio_policy_configuration_V7_0
- Changed package to use android. prefix
- Added nullability flag to xsd_config
Bug: 171572311
Test: built and atest VtsHalAudioEffectV7_0TargetTest
VtsHalAudioEffectV7_0TargetTest VtsHalAudioEffectV4_0TargetTest
VtsAidlHalAudioControlTest
Change-Id: I9ac83a98256404313b5efef17c0a164d2ee72136
Merged-In: I9ac83a98256404313b5efef17c0a164d2ee72136
Diffstat (limited to 'audio/effect/all-versions/vts/functional/VtsHalAudioEffectTargetTest.cpp')
-rw-r--r-- | audio/effect/all-versions/vts/functional/VtsHalAudioEffectTargetTest.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/audio/effect/all-versions/vts/functional/VtsHalAudioEffectTargetTest.cpp b/audio/effect/all-versions/vts/functional/VtsHalAudioEffectTargetTest.cpp index b64f105eb4..199a8a52a8 100644 --- a/audio/effect/all-versions/vts/functional/VtsHalAudioEffectTargetTest.cpp +++ b/audio/effect/all-versions/vts/functional/VtsHalAudioEffectTargetTest.cpp @@ -28,8 +28,8 @@ #include <android/hidl/allocator/1.0/IAllocator.h> #include <android/hidl/memory/1.0/IMemory.h> #if MAJOR_VERSION >= 7 -#include <audio_policy_configuration_V7_0-enums.h> -#include <audio_policy_configuration_V7_0.h> +#include <android_audio_policy_configuration_V7_0-enums.h> +#include <android_audio_policy_configuration_V7_0.h> #endif #include <common/all-versions/VersionUtils.h> @@ -54,7 +54,7 @@ using namespace ::android::hardware::audio::effect::CPP_VERSION; #if MAJOR_VERSION >= 7 // Make an alias for enumerations generated from the APM config XSD. namespace xsd { -using namespace ::audio::policy::configuration::CPP_VERSION; +using namespace ::android::audio::policy::configuration::CPP_VERSION; } #endif @@ -262,8 +262,8 @@ void AudioEffectHidlTest::getChannelCount(uint32_t* channelCount) { *channelCount = audio_channel_count_from_out_mask( static_cast<audio_channel_mask_t>(currentConfig.outputCfg.channels)); #else - *channelCount = - audio::policy::configuration::V7_0::getChannelCount(currentConfig.outputCfg.channels); + *channelCount = android::audio::policy::configuration::V7_0::getChannelCount( + currentConfig.outputCfg.channels); ASSERT_NE(*channelCount, 0); #endif } |