summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorkeybuk@chromium.org <keybuk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-28 17:03:06 +0000
committerkeybuk@chromium.org <keybuk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-28 17:03:06 +0000
commit5359e057f26d72bab59bc787b59aac937591fd86 (patch)
treed89d690e199e606e00479b497af5020ad105ff95 /tools
parentcb86ee6f9f22bc88c27f055e3882a0ea9f9b4525 (diff)
downloadchromium_src-5359e057f26d72bab59bc787b59aac937591fd86.zip
chromium_src-5359e057f26d72bab59bc787b59aac937591fd86.tar.gz
chromium_src-5359e057f26d72bab59bc787b59aac937591fd86.tar.bz2
Bluetooth: gather usage metrics
BUG=233820 TEST=chrome:///histograms R=isherman@chromium.org, satorux@chromium.org, youngki@chromium.org Review URL: https://codereview.chromium.org/13872017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196990 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r--tools/metrics/histograms/histograms.xml44
1 files changed, 44 insertions, 0 deletions
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 4252654..d0ed103 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -371,6 +371,29 @@ other types of suffix sets.
</summary>
</histogram>
+<histogram name="Bluetooth.ConnectedDeviceCount" units="devices">
+ <summary>
+ Counts the number of simulataneously connected Bluetooth devices. Used to
+ direct testing efforts, and by our UI team to determine appropriate UI
+ sizes.
+ </summary>
+</histogram>
+
+<histogram name="Bluetooth.PairingMethod" enum="BluetoothPairingMethod">
+ <summary>
+ Records the method used to pair each Bluetooth Device. Used to direct our
+ testing efforts.
+ </summary>
+</histogram>
+
+<histogram name="Bluetooth.PairingResult" enum="BluetoothPairingResult">
+ <summary>
+ Records the result of pairing each Bluetooth Device. Used to understand
+ whether we are having significant problems with Bluetooth pairing and seeing
+ errors more commonly than we should.
+ </summary>
+</histogram>
+
<histogram name="Cellular.ActivationFailure">
<summary>
The count of cellular device activation failures (Chrome OS).
@@ -6311,6 +6334,27 @@ other types of suffix sets.
<int value="2" label="Failure"/>
</enum>
+<enum name="BluetoothPairingMethod" type="int">
+ <int value="0" label="No user interaction required"/>
+ <int value="1" label="PIN Code requested from user"/>
+ <int value="2" label="Passkey requested from user"/>
+ <int value="3" label="PIN Code entered into device"/>
+ <int value="4" label="Passkey entered into device"/>
+ <int value="5" label="Passkey confirmed on both devices"/>
+</enum>
+
+<enum name="BluetoothPairingResult" type="int">
+ <int value="0" label="Success"/>
+ <int value="1" label="Connection already in-progress"/>
+ <int value="2" label="Failed for non-specific reason"/>
+ <int value="3" label="Authentication failed"/>
+ <int value="4" label="Authentication canceled"/>
+ <int value="5" label="Authentication rejected"/>
+ <int value="6" label="Authentication timed out"/>
+ <int value="7" label="Unsupported device"/>
+ <int value="8" label="Unknown or unhandler error"/>
+</enum>
+
<enum name="BooleanAttempted" type="int">
<int value="0" label="Not Attempted"/>
<int value="1" label="Attempted"/>