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
This commit is contained in:
xshu
2018-03-15 16:48:29 -07:00
parent 315c230cbb
commit 6352262bf8

View File

@@ -422,6 +422,13 @@ message WifiLog {
// 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.