OSDN Git Service

Add various LOG_TAG bluetooth
authorChris Manton <cmanton@google.com>
Fri, 29 Jan 2021 22:01:13 +0000 (14:01 -0800)
committerChris Manton <cmanton@google.com>
Wed, 3 Feb 2021 05:26:20 +0000 (21:26 -0800)
Towards loggable code

Bug: 163134718
Tag: #refactor
Test: gd/cert/run

Change-Id: I7a507f06070008407e70079cd867d20a921458af

audio_hal_interface/codec_status.cc
bta/hd/bta_hd_api.cc
bta/hh/bta_hh_act.cc
bta/pan/bta_pan_act.cc
btif/src/btif_hf_client.cc
stack/bnep/bnep_main.cc
stack/smp/smp_l2c.cc

index 0819e5c..cd9d88e 100644 (file)
@@ -14,6 +14,8 @@
  * limitations under the License.
  */
 
+#define LOG_TAG "bluetooth"
+
 #include "codec_status.h"
 #include "client_interface.h"
 
index 40963cc..60b3634 100644 (file)
@@ -23,6 +23,8 @@
  *
  ******************************************************************************/
 
+#define LOG_TAG "bluetooth"
+
 #include "bt_target.h"
 
 #if defined(BTA_HD_INCLUDED) && (BTA_HD_INCLUDED == TRUE)
index 8a5ea0c..07137eb 100644 (file)
@@ -22,6 +22,8 @@
  *
  ******************************************************************************/
 
+#define LOG_TAG "bluetooth"
+
 #include "bt_target.h"
 
 #if (BTA_HH_INCLUDED == TRUE)
index 558431b..7c1978e 100644 (file)
@@ -22,6 +22,8 @@
  *
  ******************************************************************************/
 
+#define LOG_TAG "bluetooth"
+
 #include "bt_target.h"
 
 #if (PAN_INCLUDED == TRUE)
index eba5765..1c00a4d 100755 (executable)
@@ -42,7 +42,9 @@
  *
  ******************************************************************************/
 
+#ifndef LOG_TAG
 #define LOG_TAG "bt_btif_hfc"
+#endif
 
 #include <string.h>
 
index 1fcc2d3..98e8f60 100644 (file)
@@ -22,6 +22,8 @@
  *
  ******************************************************************************/
 
+#define LOG_TAG "bluetooth"
+
 #include <string.h>
 #include "bt_target.h"
 
index 23c072c..32d633f 100644 (file)
@@ -22,6 +22,8 @@
  *
  ******************************************************************************/
 
+#define LOG_TAG "bluetooth"
+
 #include <cutils/log.h>
 #include "bt_target.h"