diff options
author | 2025-03-14 17:00:10 -0700 | |
---|---|---|
committer | 2025-03-17 18:07:24 +0000 | |
commit | 4e9002e82ba8cfa305399e72299d61935e8c79d4 (patch) | |
tree | 4c6d9ec8b6cbe9eaf0c750e11a3ab76446d0a2fc /system/btif | |
parent | efdf75f7c8441dba69d8dacedb1001785e2f7fbc (diff) |
system/common: Move remaining metrics to os/metrics.h
Bug: 401588157
Test: m com.android.bt
Flag: EXEMPT, no logical change
Change-Id: I6a7269d1084f86d0d12ee4ba8d040a6ef441a069
Diffstat (limited to 'system/btif')
-rw-r--r-- | system/btif/src/btif_a2dp_source.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/system/btif/src/btif_a2dp_source.cc b/system/btif/src/btif_a2dp_source.cc index 20805a92bd..5bf2ef0d87 100644 --- a/system/btif/src/btif_a2dp_source.cc +++ b/system/btif/src/btif_a2dp_source.cc @@ -48,7 +48,6 @@ #include "btif_hf.h" #include "btm_iso_api.h" #include "common/message_loop_thread.h" -#include "common/metrics.h" #include "common/repeating_timer.h" #include "common/time_util.h" #include "hardware/bt_av.h" @@ -1302,8 +1301,7 @@ static void btm_read_rssi_cb(void* data) { return; } - bluetooth::shim::LogMetricReadRssiResult(result->rem_bda, - bluetooth::common::kUnknownConnectionHandle, + bluetooth::shim::LogMetricReadRssiResult(result->rem_bda, bluetooth::os::kUnknownConnectionHandle, result->hci_status, result->rssi); log::warn("device: {}, rssi: {}", result->rem_bda, result->rssi); @@ -1321,7 +1319,7 @@ static void btm_read_failed_contact_counter_cb(void* data) { return; } bluetooth::shim::LogMetricReadFailedContactCounterResult( - result->rem_bda, bluetooth::common::kUnknownConnectionHandle, result->hci_status, + result->rem_bda, bluetooth::os::kUnknownConnectionHandle, result->hci_status, result->failed_contact_counter); log::warn("device: {}, Failed Contact Counter: {}", result->rem_bda, @@ -1340,7 +1338,7 @@ static void btm_read_tx_power_cb(void* data) { return; } bluetooth::shim::LogMetricReadTxPowerLevelResult(result->rem_bda, - bluetooth::common::kUnknownConnectionHandle, + bluetooth::os::kUnknownConnectionHandle, result->hci_status, result->tx_power); log::warn("device: {}, Tx Power: {}", result->rem_bda, result->tx_power); |