diff options
author | 2023-03-22 22:12:11 +0000 | |
---|---|---|
committer | 2023-03-23 00:30:10 +0000 | |
commit | 5a00b850b0ebdb337effb97564d46d8ee497f307 (patch) | |
tree | 0d581b29747c7ca57b5418e79a585d33092e95a0 /system/common/metrics.cc | |
parent | 71de262595ed495e841ef397e991d940a9482220 (diff) |
Revert "[BluetoothMetrics] This covers the case for Direct LE-AC..."
Revert submission 2496315-bluetooth-le-connection-session
Reason for revert: Breaks flossbuild (caught by presubmit and bypassed)
Reverted changes: /q/submissionid:2496315-bluetooth-le-connection-session
Change-Id: Ie355f78d4c535b5fa44c3451d420302c679eb862
Diffstat (limited to 'system/common/metrics.cc')
-rw-r--r-- | system/common/metrics.cc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/system/common/metrics.cc b/system/common/metrics.cc index b243fd78b7..baf838b0c4 100644 --- a/system/common/metrics.cc +++ b/system/common/metrics.cc @@ -20,7 +20,6 @@ #include <base/base64.h> #include <base/logging.h> -#include <frameworks/proto_logging/stats/enums/bluetooth/le/enums.pb.h> #include <include/hardware/bt_av.h> #include <statslog_bt.h> #include <unistd.h> @@ -36,9 +35,6 @@ #include "address_obfuscator.h" #include "bluetooth/metrics/bluetooth.pb.h" -#include "gd/metrics/metrics_state.h" -#include "gd/hci/address.h" -#include "gd/os/metrics.h" #include "leaky_bonded_queue.h" #include "metric_id_allocator.h" #include "osi/include/osi.h" @@ -72,7 +68,6 @@ using bluetooth::metrics::BluetoothMetricsProto::ScanEvent_ScanEventType; using bluetooth::metrics::BluetoothMetricsProto::ScanEvent_ScanTechnologyType; using bluetooth::metrics::BluetoothMetricsProto::WakeEvent; using bluetooth::metrics::BluetoothMetricsProto::WakeEvent_WakeEventType; -using bluetooth::hci::Address; static float combine_averages(float avg_a, int64_t ct_a, float avg_b, int64_t ct_b) { @@ -974,19 +969,6 @@ void LogLeAudioBroadcastSessionReported(int64_t duration_nanos) { } } -void LogLeBluetoothConnectionMetricEventReported( - const Address& address, - android::bluetooth::le::LeConnectionOriginType origin_type, - android::bluetooth::le::LeConnectionType connection_type, - android::bluetooth::le::LeConnectionState transaction_state, - std::vector<std::pair<os::ArgumentType, int>> - argument_list) { - // Log the events for the State Management - metrics::MetricsCollector::GetLEConnectionMetricsCollector() - ->AddStateChangedEvent(address, origin_type, connection_type, - transaction_state, argument_list); -} - } // namespace common } // namespace bluetooth |