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

Commit 3e5d63a8 authored by Mingguang Xu's avatar Mingguang Xu
Browse files

Wifi usability: Add timestamp in WifiUsabilityStats



Together with the timestamps in each entry (WifiUsabilityStatsEntry) of WifiUsabilityStats, the added timestamp allows us to check whether the WifiUsabilityStats is obsolete or not.

Bug: 129282057
Test: frameworks/base/wifi/tests/runtests.sh

Change-Id: I1c968786173f0e719b10651315a6d1bb5b42438f
Signed-off-by: default avatarMingguang Xu <mingguangxu@google.com>
parent 151675e3
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -2095,6 +2095,9 @@ message WifiUsabilityStats {
  // Firmware alert code. Only valid when the stats was triggered by a firmware
  // Firmware alert code. Only valid when the stats was triggered by a firmware
  // alert, otherwise -1.
  // alert, otherwise -1.
  optional int32 firmware_alert_code = 4 [default = -1];
  optional int32 firmware_alert_code = 4 [default = -1];

  // Absolute milliseconds from device boot when these stats were sampled
  optional int64 time_stamp_ms = 5;
}
}


message DeviceMobilityStatePnoScanStats {
message DeviceMobilityStatePnoScanStats {