summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorisherman <isherman@chromium.org>2015-02-19 13:53:33 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-19 21:54:25 +0000
commitc902ed8da13be96e4cf7beed2e00913bbfc6bf7b (patch)
tree7ab4094f423689e46a0985de39c5183240207f98 /tools
parent817ed498aefaebf610a2d3dc85c442902964046e (diff)
downloadchromium_src-c902ed8da13be96e4cf7beed2e00913bbfc6bf7b.zip
chromium_src-c902ed8da13be96e4cf7beed2e00913bbfc6bf7b.tar.gz
chromium_src-c902ed8da13be96e4cf7beed2e00913bbfc6bf7b.tar.bz2
[Smart Lock] Add histograms.xml entries for Smart Lock setup device histograms.
BUG=442826 TEST=none R=tengs@chromium.org Review URL: https://codereview.chromium.org/922353003 Cr-Commit-Position: refs/heads/master@{#317141}
Diffstat (limited to 'tools')
-rw-r--r--tools/metrics/histograms/histograms.xml103
1 files changed, 103 insertions, 0 deletions
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index a1d0c71..56132cd 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -6456,6 +6456,81 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="EasyUnlock.Setup.Devices.Count.Eligible">
+ <owner>isherman@chromium.org</owner>
+ <owner>xiaowenx@chromium.org</owner>
+ <summary>
+ The number of eligible devices that the CryptAuth server returns during the
+ Smart Lock setup flow.
+ </summary>
+ <details>
+ Note that a single user might report multiple values, for example if she
+ tries to complete the setup flow with a device in airplane mode, and then
+ tries again taking the device out of airplane mode.
+ </details>
+</histogram>
+
+<histogram name="EasyUnlock.Setup.Devices.Count.Ineligible">
+ <owner>isherman@chromium.org</owner>
+ <owner>xiaowenx@chromium.org</owner>
+ <summary>
+ The number of ineligible devices that the CryptAuth server returns during
+ the Smart Lock setup flow.
+ </summary>
+ <details>
+ Note that a single user might report multiple values, for example if she
+ tries to complete the setup flow with a device in airplane mode, and then
+ tries again taking the device out of airplane mode.
+ </details>
+</histogram>
+
+<histogram name="EasyUnlock.Setup.Devices.HasSecureScreenLock"
+ enum="EasyUnlockHasSecureScreenLock">
+ <owner>isherman@chromium.org</owner>
+ <owner>xiaowenx@chromium.org</owner>
+ <summary>
+ Whether the user's phone has a secure screen lock installed. Recorded during
+ Smart Lock setup, when the user's phone first connects to the Chromebook.
+ </summary>
+</histogram>
+
+<histogram name="EasyUnlock.Setup.Devices.HasSmartLockEnabled"
+ enum="EasyUnlockHasSmartLockEnabled">
+ <owner>isherman@chromium.org</owner>
+ <owner>xiaowenx@chromium.org</owner>
+ <summary>
+ Whether the user's phone has Smart Lock for Android enabled. Recorded during
+ Smart Lock (for Chrome) setup, when the user selects the phone to use as her
+ unlock key.
+ </summary>
+ <details>
+ Note that this histogram tracks whether the setting under Settings ~>
+ Security ~> Trust agents ~> Smart Lock (Google) is enabled, which is the
+ default state. It does _not_ measure whether users have any Smart Lock
+ trustlets enabled.
+ </details>
+</histogram>
+
+<histogram name="EasyUnlock.Setup.Devices.IneligibilityReason"
+ enum="EasyUnlockDeviceIneligibilityReason">
+ <owner>isherman@chromium.org</owner>
+ <owner>xiaowenx@chromium.org</owner>
+ <summary>
+ Records the most actionable reason why none of a user's devices were
+ eligible as unlock keys for Smart Lock. This is recorded during the Smart
+ Lock setup flow, only if the CryptAuth server returns no eligible devices
+ for the user.
+ </summary>
+ <details>
+ To be precise, this metric tracks the _least_ actionable _reason_ why the
+ _most_ actionable _device_ is not eligible as an unlock key. For example,
+ suppose that the user has 10 ineligible devices returned. This metric tries
+ to identify the most likely candidate device for use as a Smart Lock key,
+ and then records the most confounding reason why that device is still not
+ eligible to be used as an unlock key.
+ </details>
+</histogram>
+
<histogram name="EasyUnlock.SetupStateOnClose" enum="EasyUnlockSetupState">
<owner>joshwoodward@google.com</owner>
<owner>tbarzic@chromium.org</owner>
@@ -46163,6 +46238,34 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<int value="6" label="Dismiss ('done')"/>
</enum>
+<enum name="EasyUnlockDeviceIneligibilityReason" type="int">
+ <int value="0" label="Unrecognized reason">
+ The server reported a reason that the client is not aware of. This should
+ only be recorded if the client's list of possible reasons is out of date.
+ </int>
+ <int value="1" label="Unknown">
+ The server returned the value &quot;Unknown&quot;.
+ </int>
+ <int value="2" label="Screen too large"/>
+ <int value="3" label="Phone lacks Bluetooth"/>
+ <int value="4" label="Bad OS version"/>
+ <int value="5" label="Bad software version (GMS Core)"/>
+ <int value="6" label="Auto unlocking not supported"/>
+ <int value="7" label="Invalid credentials"/>
+ <int value="8" label="Device offline"/>
+ <int value="9" label="No recent updates"/>
+</enum>
+
+<enum name="EasyUnlockHasSecureScreenLock" type="int">
+ <int value="0" label="Lacks secure screen lock"/>
+ <int value="1" label="Has secure screen lock"/>
+</enum>
+
+<enum name="EasyUnlockHasSmartLockEnabled" type="int">
+ <int value="0" label="Smart Lock for Android disabled"/>
+ <int value="1" label="Smart Lock for Android enabled"/>
+</enum>
+
<enum name="EasyUnlockNotificationEvent" type="int">
<int value="0" label="Set up notification shown"/>
<int value="1" label="Set up notification clicked"/>