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: Mingguang Xu <mingguangxu@google.com>
This commit is contained in:
Mingguang Xu
2019-04-19 13:59:56 -07:00
parent 151675e37e
commit 3e5d63a8f7

View File

@@ -2095,6 +2095,9 @@ message WifiUsabilityStats {
// Firmware alert code. Only valid when the stats was triggered by a firmware
// alert, otherwise -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 {