summaryrefslogtreecommitdiff
path: root/audio/core/all-versions/default/Conversions.cpp
diff options
context:
space:
mode:
authorMikhail Naganov <mnaganov@google.com>2018-12-14 14:31:45 -0800
committerMikhail Naganov <mnaganov@google.com>2018-12-14 16:34:28 -0800
commit00a44c0fc2bb46b5b93b6b426b97a0b9591d9f5a (patch)
tree15bc80f8ed771c1e595b1354dffd6ad36b538db4 /audio/core/all-versions/default/Conversions.cpp
parent0c157d30f2ea75b82a80b248816e9a53da8560a5 (diff)
Audio HAL: More generalization for types imports
Complement imports of audio::CPP_VERSION with audio::common::CPP_VERSION for core. Import namespaces in VTS tests. Remove "using namespace" from .cpp files where there are already imports in the .h file. Test: try moving types between audio/types.hal and common/types.hal. Change-Id: I49c2e2466c8175f2516c2273f5c26d125afd4801
Diffstat (limited to 'audio/core/all-versions/default/Conversions.cpp')
-rw-r--r--audio/core/all-versions/default/Conversions.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/audio/core/all-versions/default/Conversions.cpp b/audio/core/all-versions/default/Conversions.cpp
index 9249780e93..11872c0e00 100644
--- a/audio/core/all-versions/default/Conversions.cpp
+++ b/audio/core/all-versions/default/Conversions.cpp
@@ -26,8 +26,6 @@ namespace audio {
namespace CPP_VERSION {
namespace implementation {
-using namespace ::android::hardware::audio::common::CPP_VERSION;
-
std::string deviceAddressToHal(const DeviceAddress& address) {
// HAL assumes that the address is NUL-terminated.
char halAddress[AUDIO_DEVICE_MAX_ADDRESS_LEN];