Distinguish libhwbinder log tags.
find ./*.cpp -type f -exec sed -i -e 's/LOG_TAG "/LOG_TAG "hw-/g' {} \;
Also added logtag for BufferedTextOutput.
Fixes: 35713802
Test: hidl_test (for sanity)
Change-Id: I7159dca318c1014a61046d247ef31d67c3ac2b55
diff --git a/BpHwBinder.cpp b/BpHwBinder.cpp
index 762d048..6a752f8 100644
--- a/BpHwBinder.cpp
+++ b/BpHwBinder.cpp
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-#define LOG_TAG "BpHwBinder"
+#define LOG_TAG "hw-BpHwBinder"
//#define LOG_NDEBUG 0
#include <hwbinder/BpHwBinder.h>
diff --git a/BufferedTextOutput.cpp b/BufferedTextOutput.cpp
index 36f212b..8ef48e1 100644
--- a/BufferedTextOutput.cpp
+++ b/BufferedTextOutput.cpp
@@ -14,6 +14,8 @@
* limitations under the License.
*/
+#define LOG_TAG "hw-BufferedTextOutput"
+
#include <hwbinder/BufferedTextOutput.h>
#include <hwbinder/Debug.h>
diff --git a/IInterface.cpp b/IInterface.cpp
index b22879d..01866e6 100644
--- a/IInterface.cpp
+++ b/IInterface.cpp
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-#define LOG_TAG "IInterface"
+#define LOG_TAG "hw-IInterface"
#include <utils/Log.h>
#include <hwbinder/IInterface.h>
diff --git a/IPCThreadState.cpp b/IPCThreadState.cpp
index 74ff59e..83e2dd8 100644
--- a/IPCThreadState.cpp
+++ b/IPCThreadState.cpp
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-#define LOG_TAG "IPCThreadState"
+#define LOG_TAG "hw-IPCThreadState"
#include <hwbinder/IPCThreadState.h>
diff --git a/Parcel.cpp b/Parcel.cpp
index 81f97e3..2fa0f50 100644
--- a/Parcel.cpp
+++ b/Parcel.cpp
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-#define LOG_TAG "Parcel"
+#define LOG_TAG "hw-Parcel"
//#define LOG_NDEBUG 0
#include <errno.h>
diff --git a/ProcessState.cpp b/ProcessState.cpp
index 21223fb..9ce070c 100644
--- a/ProcessState.cpp
+++ b/ProcessState.cpp
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-#define LOG_TAG "ProcessState"
+#define LOG_TAG "hw-ProcessState"
#include <hwbinder/ProcessState.h>