metrics: watchdog connection delay field
Add 2 fields to check if watchdog is really working as well as we think
it is.
Bug: 75001353
Test: compile, run ./frameworks/base/wifi/tests/runtests.sh
Change-Id: If547bd962f12773f4a4b36fb8fc3e50aff259dac
diff --git a/proto/src/wifi.proto b/proto/src/wifi.proto
index 934ad88..ce1dd50 100644
--- a/proto/src/wifi.proto
+++ b/proto/src/wifi.proto
@@ -422,6 +422,13 @@
// Indicates the number of times a scan request from an external background app was throttled.
optional int32 num_external_background_app_oneshot_scan_requests_throttled = 106;
+
+ // WifiLastResortWatchdog time milliseconds delta between trigger and first connection success
+ optional int64 watchdog_trigger_to_connection_success_duration_ms = 107 [default = -1];
+
+ // The number of times wifi experienced failures after watchdog has already been triggered and is
+ // waiting for a connection success
+ optional int64 watchdog_total_connection_failure_count_after_trigger = 108;
}
// Information that gets logged for every WiFi connection.