summaryrefslogtreecommitdiff
path: root/system/common/metrics.cc
diff options
context:
space:
mode:
author Henri Chataing <henrichataing@google.com> 2024-09-16 22:15:47 +0000
committer Henri Chataing <henrichataing@google.com> 2024-09-16 22:41:56 +0000
commitf004bdf22cb426e422d1f306827001fb731802ef (patch)
treef283315133825e01636dd125e9c265f10c9243fb /system/common/metrics.cc
parent28b9115aea50fdb1a0654cb53a6cce20e5ff590e (diff)
metric: Remove deprecated and unused LogLeBluetoothConnectionMetricEvent
Bug: 331817295 Flag: EXEMPT, deadcode removal Test: m com.android.btservices Change-Id: I22ee1da45e8dde171a4965b849fb413bb308f4b7
Diffstat (limited to 'system/common/metrics.cc')
-rw-r--r--system/common/metrics.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/system/common/metrics.cc b/system/common/metrics.cc
index 4f75ca4426..90539a7447 100644
--- a/system/common/metrics.cc
+++ b/system/common/metrics.cc
@@ -39,7 +39,6 @@
#include "common/time_util.h"
#include "hci/address.h"
#include "main/shim/metric_id_api.h"
-#include "metrics/metrics_state.h"
#include "osi/include/osi.h"
#include "types/raw_address.h"
@@ -895,16 +894,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