Merge "Add COLD_DEVICE_REBOOTING LatencyType" into udc-dev

This commit is contained in:
Fengjiang Li
2023-04-13 18:18:27 +00:00
committed by Android (Google) Code Review
@@ -797,6 +797,7 @@ public class StatsLogManager implements ResourceBasedOverride {
enum LatencyType {
UNKNOWN(0),
// example: launcher restart that happens via daily backup and restore
COLD(1),
HOT(2),
TIMEOUT(3),
@@ -804,7 +805,9 @@ public class StatsLogManager implements ResourceBasedOverride {
COLD_USERWAITING(5),
ATOMIC(6),
CONTROLLED(7),
CACHED(8);
CACHED(8),
// example: device is rebooting via power key or shell command `adb reboot`
COLD_DEVICE_REBOOTING(9);
private final int mId;
LatencyType(int id) {