summaryrefslogtreecommitdiff
path: root/audio/common/all-versions/default/tests/hidlutils6_tests.cpp
diff options
context:
space:
mode:
authorMikhail Naganov <mnaganov@google.com>2022-01-26 18:57:31 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2022-01-26 18:57:31 +0000
commit9b5dcd32aa701057e28c405e87f8c13bc77145dd (patch)
tree61be897f9dbe3a3aa904b21ab0a52d638e406e25 /audio/common/all-versions/default/tests/hidlutils6_tests.cpp
parent425df50402834f8b634ce33feee783dfb3df3907 (diff)
parent40fde0bc07be50644705a708a522c941840f35c7 (diff)
Merge changes from topic "b-214426419-hal-v7_1"
* changes: Audio HAL V7.1: Update VTS Audio HAL V7.1: Update the default implementation Audio HAL V7.1: Interfaces & types
Diffstat (limited to 'audio/common/all-versions/default/tests/hidlutils6_tests.cpp')
-rw-r--r--audio/common/all-versions/default/tests/hidlutils6_tests.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/audio/common/all-versions/default/tests/hidlutils6_tests.cpp b/audio/common/all-versions/default/tests/hidlutils6_tests.cpp
index 3a24e752bc..ca59b9de6c 100644
--- a/audio/common/all-versions/default/tests/hidlutils6_tests.cpp
+++ b/audio/common/all-versions/default/tests/hidlutils6_tests.cpp
@@ -23,14 +23,14 @@
#include <system/audio.h>
using namespace android;
-using namespace ::android::hardware::audio::common::CPP_VERSION;
-using ::android::hardware::audio::common::CPP_VERSION::implementation::HidlUtils;
+using namespace ::android::hardware::audio::common::COMMON_TYPES_CPP_VERSION;
+using ::android::hardware::audio::common::COMMON_TYPES_CPP_VERSION::implementation::HidlUtils;
// Not generated automatically because DeviceAddress contains
// an union.
//
// operator== must be defined in the same namespace as the data type.
-namespace android::hardware::audio::common::CPP_VERSION {
+namespace android::hardware::audio::common::COMMON_TYPES_CPP_VERSION {
inline bool operator==(const DeviceAddress& lhs, const DeviceAddress& rhs) {
if (lhs.device != rhs.device) return false;
@@ -49,7 +49,7 @@ inline bool operator==(const DeviceAddress& lhs, const DeviceAddress& rhs) {
return lhs.busAddress == rhs.busAddress;
}
-} // namespace android::hardware::audio::common::CPP_VERSION
+} // namespace android::hardware::audio::common::COMMON_TYPES_CPP_VERSION
static void ConvertDeviceAddress(const DeviceAddress& device) {
audio_devices_t halDeviceType;