Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6352262b authored by xshu's avatar xshu
Browse files

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
parent 315c230c
Loading
Loading
Loading
Loading
+7 −0
Original line number Original line Diff line number Diff line
@@ -422,6 +422,13 @@ message WifiLog {


  // Indicates the number of times a scan request from an external background app was throttled.
  // 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;
  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.
// Information that gets logged for every WiFi connection.