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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 2667053002: Add RemoteGATTDescriptor to WebBluetoothFunction histogram enum. (Closed)
Patch Set: Missing return stmt. Created 3 years, 10 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:
Download patch
« no previous file with comments | « content/browser/bluetooth/web_bluetooth_service_impl.cc ('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 0834e1beb3d8a6d8b86ce124b114dd9c8440e5dd..f71cd39493b39f7385a4b21a428da74f4e2d6b2f 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -5214,6 +5214,54 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Bluetooth.Web.GetDescriptor.Descriptor"
+ enum="GATTDescriptorHash">
+ <owner>jyasskin@chromium.org</owner>
+ <owner>ortuno@chromium.org</owner>
+ <owner>scheib@chromium.org</owner>
+ <summary>
+ Records the UUIDs used when getting a descriptor. The recorded value is a
+ 31-bit hash of the UUID. Used to know what types of descriptors to target
+ when building libraries that use the Web Bluetooth API.
+ </summary>
+</histogram>
+
+<histogram name="Bluetooth.Web.GetDescriptor.Outcome"
+ enum="WebBluetoothGetDescriptorOutcome">
+ <owner>jyasskin@chromium.org</owner>
+ <owner>ortuno@chromium.org</owner>
+ <owner>scheib@chromium.org</owner>
+ <summary>
+ Records the outcome of a call to getDescriptor(). Used to understand what
+ errors developers are getting so we can target efforts toward the most
+ common ones.
+ </summary>
+</histogram>
+
+<histogram name="Bluetooth.Web.GetDescriptors.Descriptor"
+ enum="GATTDescriptorHash">
+ <owner>jyasskin@chromium.org</owner>
+ <owner>ortuno@chromium.org</owner>
+ <owner>scheib@chromium.org</owner>
+ <summary>
+ Records the UUIDs used when getting descriptors. The recorded value is a
+ 31-bit hash of the UUID. Used to know what types of descriptors to target
+ when building libraries that use the Web Bluetooth API.
+ </summary>
+</histogram>
+
+<histogram name="Bluetooth.Web.GetDescriptors.Outcome"
+ enum="WebBluetoothGetDescriptorOutcome">
+ <owner>jyasskin@chromium.org</owner>
+ <owner>ortuno@chromium.org</owner>
+ <owner>scheib@chromium.org</owner>
+ <summary>
+ Records the outcome of a call to getDescriptors(). Used to understand what
+ errors developers are getting so we can target efforts toward the most
+ common ones.
+ </summary>
+</histogram>
+
<histogram name="Bluetooth.Web.GetPrimaryService.Outcome"
enum="WebBluetoothGetPrimaryServiceOutcome">
<owner>jyasskin@chromium.org</owner>
@@ -92590,6 +92638,50 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="2140490935" label="gatt.service_changed"/>
</enum>
+<enum name="GATTDescriptorHash" type="int">
+<!-- Hash values can be produced using tool: bluetooth_metrics_hash -->
+
+ <int value="34360078"
+ label="Environmental Sensing Configuration;
+ 0000290b-0000-1000-8000-00805f9b34fb"/>
+ <int value="212028968"
+ label="Value Trigger Setting; 0000290a-0000-1000-8000-00805f9b34fb"/>
+ <int value="434053918"
+ label="Valid Range; 00002906-0000-1000-8000-00805f9b34fb"/>
+ <int value="475200414"
+ label="Characteristic Aggregate Format;
+ 00002905-0000-1000-8000-00805f9b34fb"/>
+ <int value="1007170263"
+ label="Report Reference; 00002908-0000-1000-8000-00805f9b34fb"/>
+ <int value="1035573722"
+ label="External Report Reference; 00002907-0000-1000-8000-00805f9b34fb"/>
+ <int value="1113090825"
+ label="Characteristic Presentation Format;
+ 00002904-0000-1000-8000-00805f9b34fb"/>
+ <int value="1130337922"
+ label="Number of Digitals; 00002909-0000-1000-8000-00805f9b34fb"/>
+ <int value="1201129743"
+ label="Client Characteristic Configuration;
+ 00002902-0000-1000-8000-00805f9b34fb"/>
+ <int value="1208669602"
+ label="Environmental Sensing Trigger Setting;
+ 0000290d-0000-1000-8000-00805f9b34fb"/>
+ <int value="1322265676"
+ label="Server Characteristic Configuration;
+ 00002903-0000-1000-8000-00805f9b34fb"/>
+ <int value="1383133454"
+ label="Environmental Sensing Measurement;
+ 0000290c-0000-1000-8000-00805f9b34fb"/>
+ <int value="1406247203"
+ label="Time Trigger Setting; 0000290e-0000-1000-8000-00805f9b34fb"/>
+ <int value="1504592234"
+ label="Characteristic User Description;
+ 00002901-0000-1000-8000-00805f9b34fb"/>
+ <int value="1876461392"
+ label="Characteristic Extended Properties;
+ 00002900-0000-1000-8000-00805f9b34fb"/>
+</enum>
+
<enum name="GATTServiceHash" type="int">
<!-- Hash values can be produced using tool: bluetooth_metrics_hash -->
@@ -110542,6 +110634,10 @@ value.
<int value="8" label="RemoteGATTServer.disconnect()"/>
<int value="9" label="RemoteGATTService.getCharacteristics()"/>
<int value="10" label="RemoteGATTServer.getPrimaryServices()"/>
+ <int value="11" label="RemoteGATTDescriptor.readValue()"/>
+ <int value="12" label="RemoteGATTDescriptor.writeValue()"/>
+ <int value="13" label="RemoteGATTCharacteristic.getDescriptor()"/>
+ <int value="14" label="RemoteGATTCharacteristic.getDescriptors()"/>
</enum>
<enum name="WebBluetoothGATTOperationOutcome" type="int">
@@ -110570,6 +110666,16 @@ value.
<int value="5" label="No characteristics"/>
</enum>
+<enum name="WebBluetoothGetDescriptorOutcome" type="int">
+ <int value="0" label="Success"/>
+ <int value="1" label="No device"/>
+ <int value="2" label="No service"/>
+ <int value="3" label="No characteristic"/>
+ <int value="4" label="Not found"/>
+ <int value="5" label="Blocklisted"/>
+ <int value="6" label="No descriptors"/>
+</enum>
+
<enum name="WebBluetoothGetPrimaryServiceOutcome" type="int">
<int value="0" label="Success"/>
<int value="1" label="Device no longer in range."/>
« no previous file with comments | « content/browser/bluetooth/web_bluetooth_service_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698