OSDN Git Service

liblog: use log/log.h when utilizing ALOG macros
authorMark Salyzyn <salyzyn@google.com>
Tue, 10 Jan 2017 18:16:48 +0000 (10:16 -0800)
committerMark Salyzyn <salyzyn@google.com>
Tue, 10 Jan 2017 23:02:14 +0000 (15:02 -0800)
Test: compile
Bug: 30465923
Change-Id: I67046a75be057e7905570748a1ed6bfd03c0e1c8

boot/1.0/default/BootControl.cpp
ir/1.0/default/ConsumerIr.cpp
nfc/1.0/default/Nfc.cpp
tests/bar/1.0/default/Bar.cpp
tests/inheritance/1.0/default/Child.cpp
tests/inheritance/1.0/default/Parent.cpp
tests/memory/1.0/default/MemoryTest.cpp
tests/pointer/1.0/default/Graph.cpp
tests/pointer/1.0/default/Pointer.cpp
tests/pointer/1.0/default/lib/PointerHelper.cpp

index 87f36ed..5f4592f 100644 (file)
@@ -1,5 +1,6 @@
 #define LOG_TAG "android.hardware.boot@1.0-impl"
-#include <android/log.h>
+
+#include <log/log.h>
 
 #include <hardware/hardware.h>
 #include <hardware/boot_control.h>
index 8cfb2e8..b96c695 100644 (file)
  */
 
 #define LOG_TAG "ConsumerIrService"
-#include <android/log.h>
+
+#include <log/log.h>
 
 #include <hardware/hardware.h>
 #include <hardware/consumerir.h>
+
 #include "ConsumerIr.h"
 
 namespace android {
index 44c8e42..0759605 100644 (file)
@@ -1,5 +1,6 @@
 #define LOG_TAG "android.hardware.nfc@1.0-impl"
-#include <android/log.h>
+
+#include <log/log.h>
 
 #include <hardware/hardware.h>
 #include <hardware/nfc.h>
index 16c0235..6a8a360 100644 (file)
@@ -2,9 +2,11 @@
 #define LOG_TAG "hidl_test"
 
 #include "Bar.h"
-#include <android/log.h>
+
 #include <inttypes.h>
 
+#include <log/log.h>
+
 namespace android {
 namespace hardware {
 namespace tests {
index fd6608c..d4e82c0 100644 (file)
@@ -1,5 +1,6 @@
 #define LOG_TAG "hidl_test"
-#include <android/log.h>
+
+#include <log/log.h>
 
 #include "Child.h"
 
index a6fd911..d3f1932 100644 (file)
@@ -1,5 +1,6 @@
 #define LOG_TAG "hidl_test"
-#include <android/log.h>
+
+#include <log/log.h>
 
 #include "Parent.h"
 
index 1f804ca..40bb2dc 100644 (file)
 
 #include "MemoryTest.h"
 
+#include <log/log.h>
+
 #include <hidlmemory/mapping.h>
 
 #include <android/hidl/memory/1.0/IMemory.h>
 
-#include <android/log.h>
-
 using android::hidl::memory::V1_0::IMemory;
 
 namespace android {
index 9852407..5c8098b 100644 (file)
@@ -1,7 +1,9 @@
 #define LOG_TAG "hidl_test"
 
 #include "Graph.h"
-#include <android/log.h>
+
+#include <log/log.h>
+
 #include <hidl-test/PointerHelper.h>
 
 #define PUSH_ERROR_IF(__cond__) if(__cond__) { errors.push_back(std::to_string(__LINE__) + ": " + #__cond__); }
index 2b4a323..52712d4 100644 (file)
@@ -1,7 +1,8 @@
 #define LOG_TAG "hidl_test"
 
 #include "Pointer.h"
-#include <android/log.h>
+
+#include <log/log.h>
 
 namespace android {
 namespace hardware {
index 3bc82c2..0a64cc3 100644 (file)
@@ -1,6 +1,9 @@
 #define LOG_TAG "hidl_test"
-#include <android/log.h>
+
+#include <log/log.h>
+
 #include "PointerHelper.h"
+
 namespace android {
 
 void simpleGraph(IGraph::Graph& g) {