summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2017-07-17 09:01:37 -0700
committerTom Cherry <tomcherry@google.com>2017-07-17 09:17:17 -0700
commit3d58fa92a87578b0944aec2c47ca23ebbf5720e3 (patch)
tree91d13ba66888f296065e65b9dc25a31732844696
parent052255ec30cf33e27bb0406cd5b3f9998325d6e4 (diff)
downloadandroid_hardware_broadcom_wlan-3d58fa92a87578b0944aec2c47ca23ebbf5720e3.tar.gz
android_hardware_broadcom_wlan-3d58fa92a87578b0944aec2c47ca23ebbf5720e3.tar.bz2
android_hardware_broadcom_wlan-3d58fa92a87578b0944aec2c47ca23ebbf5720e3.zip
remove extraneous `using namespace android` and deprecate utils/Log.h
This namespace is not used by this file and its declaration is removed in a separate CL from utils/Log.h, which is the only place it is defined, so we must remove this extraneous line. Also, since that separate CL is deprecating utils/Log.h in favor of log/log.h, we make the switch to the new header. Test: Build Change-Id: I06ace87ae89d5bacf414f851674149c4741f1d87
-rw-r--r--bcmdhd/wifi_hal/wifi_logger.cpp4
-rw-r--r--bcmdhd/wifi_hal/wifi_offload.cpp4
2 files changed, 2 insertions, 6 deletions
diff --git a/bcmdhd/wifi_hal/wifi_logger.cpp b/bcmdhd/wifi_hal/wifi_logger.cpp
index e5b40c4..6924017 100644
--- a/bcmdhd/wifi_hal/wifi_logger.cpp
+++ b/bcmdhd/wifi_hal/wifi_logger.cpp
@@ -21,14 +21,12 @@
#define LOG_TAG "WifiHAL"
-#include <utils/Log.h>
+#include <log/log.h>
#include "wifi_hal.h"
#include "common.h"
#include "cpp_bindings.h"
-using namespace android;
-
typedef enum {
LOGGER_START_LOGGING = ANDROID_NL80211_SUBCMD_DEBUG_RANGE_START,
LOGGER_TRIGGER_MEM_DUMP,
diff --git a/bcmdhd/wifi_hal/wifi_offload.cpp b/bcmdhd/wifi_hal/wifi_offload.cpp
index e1013f5..52891c7 100644
--- a/bcmdhd/wifi_hal/wifi_offload.cpp
+++ b/bcmdhd/wifi_hal/wifi_offload.cpp
@@ -22,14 +22,12 @@
#define LOG_TAG "WifiHAL"
-#include <utils/Log.h>
+#include <log/log.h>
#include "wifi_hal.h"
#include "common.h"
#include "cpp_bindings.h"
-using namespace android;
-
typedef enum {
WIFI_OFFLOAD_START_MKEEP_ALIVE = ANDROID_NL80211_SUBCMD_WIFI_OFFLOAD_RANGE_START,
WIFI_OFFLOAD_STOP_MKEEP_ALIVE,