summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/common/metrics.cc3
-rw-r--r--system/gd/os/android/metrics.cc3
2 files changed, 4 insertions, 2 deletions
diff --git a/system/common/metrics.cc b/system/common/metrics.cc
index 49b73a01c3..1ece069ab3 100644
--- a/system/common/metrics.cc
+++ b/system/common/metrics.cc
@@ -790,7 +790,8 @@ void LogSocketConnectionState(const RawAddress& address, int port, int type,
address.IsEmpty() ? 0 : obfuscated_id.size());
int ret = stats_write(BLUETOOTH_SOCKET_CONNECTION_STATE_CHANGED, obfuscated_id_field, port, type,
connection_state, tx_bytes, rx_bytes, uid, server_port, socket_role,
- metric_id);
+ metric_id, 0 /* connection_duration_ms */, 1 /* error_code */,
+ 0 /* is_hardware_offload */);
if (ret < 0) {
log::warn(
"failed for {}, port {}, type {}, state {}, tx_bytes {}, rx_bytes {}, "
diff --git a/system/gd/os/android/metrics.cc b/system/gd/os/android/metrics.cc
index ddb9d826f1..3b6d9602b0 100644
--- a/system/gd/os/android/metrics.cc
+++ b/system/gd/os/android/metrics.cc
@@ -339,7 +339,8 @@ void LogMetricSocketConnectionState(const Address& address, int port, int type,
}
int ret = stats_write(BLUETOOTH_SOCKET_CONNECTION_STATE_CHANGED, byteField, port, type,
connection_state, tx_bytes, rx_bytes, uid, server_port, socket_role,
- metric_id);
+ metric_id, 0 /* connection_duration_ms */, 1 /* error_code */,
+ 0 /* is_hardware_offload */);
if (ret < 0) {
log::warn(
"Failed for {}, port {}, type {}, state {}, tx_bytes {}, rx_bytes {}, uid {}, "