Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Unified Diff: tools/metrics/histograms/histograms.xml

Issue 13872017: Bluetooth: gather usage metrics (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase since Cellular.* appeared under us Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/bluetooth/test/mock_bluetooth_device.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index a56a5cf5e02e8b6538112dc6e246d3098964f9ad..40ff3f29eef85a90e124f0dad19b63010c1ec342 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -364,6 +364,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).
@@ -6227,6 +6250,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"/>
« no previous file with comments | « device/bluetooth/test/mock_bluetooth_device.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698