Merge "Add COLD_DEVICE_REBOOTING LatencyType" into udc-dev
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user