OSDN Git Service

Migrate bluetooth imports to proto_logging
authorJeffrey Huang <jeffreyhuang@google.com>
Fri, 20 Nov 2020 20:01:19 +0000 (12:01 -0800)
committerJeffrey Huang <jeffreyhuang@google.com>
Tue, 24 Nov 2020 21:29:48 +0000 (13:29 -0800)
These enums are being migrated to proto_logging to decouple atoms.proto from statsd.

Bug: 167962588
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I034d91894564010862b3bd0a4035e3e532a814b1
Merged-In: I034d91894564010862b3bd0a4035e3e532a814b1

btif/src/btif_sock.cc
btif/src/btif_sock_rfc.cc
common/metrics.h
hci/src/hci_layer.cc
stack/acl/btm_ble_connection_establishment.cc
stack/btm/btm_sec.cc

index 64de9de..789dc4b 100644 (file)
@@ -22,7 +22,7 @@
 
 #include <base/logging.h>
 
-#include <frameworks/base/core/proto/android/bluetooth/enums.pb.h>
+#include <frameworks/proto_logging/stats/enums/bluetooth/enums.pb.h>
 #include <hardware/bluetooth.h>
 #include <hardware/bt_sock.h>
 
index 80a435d..f26c938 100644 (file)
@@ -30,7 +30,7 @@
 
 #include <mutex>
 
-#include <frameworks/base/core/proto/android/bluetooth/enums.pb.h>
+#include <frameworks/proto_logging/stats/enums/bluetooth/enums.pb.h>
 #include <hardware/bluetooth.h>
 #include <hardware/bt_sock.h>
 
index 8d83cac..c4fd14f 100644 (file)
@@ -18,9 +18,9 @@
 
 #pragma once
 
-#include <android/bluetooth/hci/enums.pb.h>
 #include <bta/include/bta_api.h>
-#include <frameworks/base/core/proto/android/bluetooth/enums.pb.h>
+#include <frameworks/proto_logging/stats/enums/bluetooth/enums.pb.h>
+#include <frameworks/proto_logging/stats/enums/bluetooth/hci/enums.pb.h>
 #include <stdint.h>
 #include <memory>
 #include <string>
index 9bfacf9..aad341b 100644 (file)
@@ -25,7 +25,7 @@
 #include <base/run_loop.h>
 #include <base/sequenced_task_runner.h>
 #include <base/threading/thread.h>
-#include <frameworks/base/core/proto/android/bluetooth/hci/enums.pb.h>
+#include <frameworks/proto_logging/stats/enums/bluetooth/hci/enums.pb.h>
 
 #include <signal.h>
 #include <string.h>
index d65601e..2cef75d 100644 (file)
@@ -16,8 +16,8 @@
  *
  ******************************************************************************/
 
-#include <frameworks/base/core/proto/android/bluetooth/enums.pb.h>
-#include <frameworks/base/core/proto/android/bluetooth/hci/enums.pb.h>
+#include <frameworks/proto_logging/stats/enums/bluetooth/enums.pb.h>
+#include <frameworks/proto_logging/stats/enums/bluetooth/hci/enums.pb.h>
 
 #include "bt_types.h"
 #include "btm_int.h"
index abead76..5cd0765 100644 (file)
@@ -26,8 +26,8 @@
 
 #include "stack/btm/btm_sec.h"
 
-#include <frameworks/base/core/proto/android/bluetooth/enums.pb.h>
-#include <frameworks/base/core/proto/android/bluetooth/hci/enums.pb.h>
+#include <frameworks/proto_logging/stats/enums/bluetooth/enums.pb.h>
+#include <frameworks/proto_logging/stats/enums/bluetooth/hci/enums.pb.h>
 #include <log/log.h>
 #include <string.h>