summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mahaver Chopra <mahaver@google.com> 2016-10-26 17:16:19 +0100
committer Mahaver Chopra <mahaver@google.com> 2016-10-28 14:15:33 +0100
commitcc7176fa32c8daa9b119f0da6478281c3d2f04b0 (patch)
tree4fc5e31505bf431448e63716fd0f6f46c8bf63ba
parent8977c2dcd65266cc60e5c6e3b7688fcdc7fd9761 (diff)
Provisioning constants
Happens once, when the device is provisioned. It shouldn't be more than 10 times in device's life. Test: NA Bug: 31425628 Bug: 32438787 Bug: 31423584 Bug: 32439982 Bug: 32474640 Change-Id: Ib69805a2ebae3396968b47ec1f4821b567afa0d7
-rw-r--r--proto/src/metrics_constants.proto32
1 files changed, 32 insertions, 0 deletions
diff --git a/proto/src/metrics_constants.proto b/proto/src/metrics_constants.proto
index cebde98aad85..ba0725e2aeda 100644
--- a/proto/src/metrics_constants.proto
+++ b/proto/src/metrics_constants.proto
@@ -2593,6 +2593,38 @@ message MetricsEvent {
// ACTION: Logs provisioning started by trusted source.
PROVISIONING_ENTRY_POINT_TRUSTED_SOURCE = 618;
+ // ACTION: Logged when copy account task finishes.
+ // TIME: Indicates time taken by copy account task to finish in MS.
+ PROVISIONING_COPY_ACCOUNT_TASK_MS = 619;
+
+ // ACTION: Logged when create profile task finishes.
+ // TIME: Indicates time taken by create profile task to finish in MS.
+ PROVISIONING_CREATE_PROFILE_TASK_MS = 620;
+
+ // ACTION: Logged when start profile task finishes.
+ // TIME: Indicates time taken by start profile task to finish in MS.
+ PROVISIONING_START_PROFILE_TASK_MS = 621;
+
+ // ACTION: Logged when download package task finishes.
+ // TIME: Indicates time taken by download package task to finish in MS.
+ PROVISIONING_DOWNLOAD_PACKAGE_TASK_MS = 622;
+
+ // ACTION: Logged when install package task finishes.
+ // TIME: Indicates time taken by install package task to finish in MS.
+ PROVISIONING_INSTALL_PACKAGE_TASK_MS = 623;
+
+ // ACTION: User cancelled provisioning.
+ PROVISIONING_CANCELLED = 624;
+
+ // ACTION: Logged when provisioning throws an error.
+ PROVISIONING_ERROR = 625;
+
+ // ACTION: Logs the status of copying user account during provisioning.
+ PROVISIONING_COPY_ACCOUNT_STATUS = 626;
+
+ // ACTION: Logs the end to end time taken by all provisioning tasks.
+ PROVISIONING_TOTAL_TASK_TIME_MS = 627;
+
// ---- End O Constants, all O constants go above this line ----
// Add new aosp constants above this line.