From cc7176fa32c8daa9b119f0da6478281c3d2f04b0 Mon Sep 17 00:00:00 2001 From: Mahaver Chopra Date: Wed, 26 Oct 2016 17:16:19 +0100 Subject: [PATCH] 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 --- proto/src/metrics_constants.proto | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) 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. -- 2.11.0