| <!-- |
| Copyright 2020 The Chromium Authors. All rights reserved. |
| Use of this source code is governed by a BSD-style license that can be |
| found in the LICENSE file. |
| --> |
| |
| <!-- |
| This file is used to generate a comprehensive list of Bluetooth histograms |
| along with a detailed description for each histogram. |
| |
| For best practices on writing histogram descriptions, see |
| https://chromium.googlesource.com/chromium/src.git/+/HEAD/tools/metrics/histograms/README.md |
| |
| Please send CLs to chromium-metrics-reviews@google.com rather than to specific |
| individuals. These CLs will be automatically reassigned to a reviewer within |
| about 5 minutes. This approach helps the metrics team to load-balance incoming |
| reviews. Googlers can read more about this at go/gwsq-gerrit. |
| --> |
| |
| <histogram-configuration> |
| |
| <histograms> |
| |
| <histogram name="Bluetooth.Android.GATTConnection.Disconnected.Result" |
| enum="AndroidGATTConnectionErrorCodes" expires_after="2021-01-31"> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Disconnected GATT connection status codes. Used to better understand errors |
| seen in Android. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Android.GATTConnection.Failure.Result" |
| enum="AndroidGATTConnectionErrorCodes" expires_after="2021-01-31"> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Failed GATT connection error codes. Used to better understand errors seen in |
| Android. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Android.GATTConnection.Success.Result" |
| enum="AndroidGATTConnectionErrorCodes" expires_after="2021-05-02"> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Successful GATT connection result codes. Used to better understand Android |
| results. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Availability.v2" enum="BluetoothAvailability" |
| expires_after="2021-12-31"> |
| <owner>kenrb@chromium.org</owner> |
| <owner>kpaulhamus@chromium.org</owner> |
| <summary> |
| Determines the availability and capabilities of the Bluetooth driver. This |
| metric is logged on startup. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.ChromeOS.DeviceSelectionDuration" units="ms" |
| expires_after="2021-03-05"> |
| <!-- Name completed by histogram_suffixes name="BluetoothUISurfaces", |
| name="BluetoothPairingStates", and name="BluetoothTransportTypes" --> |
| |
| <owner>hansberry@chromium.org</owner> |
| <owner>cros-system-services-networking@google.com</owner> |
| <summary> |
| Records how long it takes for the user to select a device either after they |
| open the UI and Bluetooth is on, or after Bluetooth turns on while the UI is |
| open. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.ChromeOS.Pairing.Duration.Failure" units="ms" |
| expires_after="2021-03-05"> |
| <!-- Name completed by histogram_suffixes name="BluetoothTransportTypes" --> |
| |
| <owner>hansberry@chromium.org</owner> |
| <owner>cros-system-services-networking@google.com</owner> |
| <summary> |
| Records how long it takes for a failed pairing attempt, initiated from |
| Bluetooth Settings or System Tray, to finish. If the user needed to go |
| through an auth process during pairing, the time the user took to confirm |
| that is not included. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.ChromeOS.Pairing.Duration.Success" units="ms" |
| expires_after="2021-03-05"> |
| <!-- Name completed by histogram_suffixes name="BluetoothTransportTypes" --> |
| |
| <owner>hansberry@chromium.org</owner> |
| <owner>cros-system-services-networking@google.com</owner> |
| <summary> |
| Records how long it takes for a successful pairing attempt, initiated from |
| Bluetooth Settings or System Tray, to finish. If the user needed to go |
| through an auth process during pairing, the time the user took to confirm |
| that is not included. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.ChromeOS.Pairing.Result" enum="BooleanSuccess" |
| expires_after="2021-05-09"> |
| <!-- Name completed by histogram_suffixes name="BluetoothTransportTypes" --> |
| |
| <owner>hansberry@chromium.org</owner> |
| <owner>cros-system-services-networking@google.com</owner> |
| <summary> |
| Records success or failure of a pairing attempt (initiated in the UI) to a |
| peripheral after the user taps that device in the list of discovered |
| peripherals in Bluetooth Settings or System Tray. |
| |
| Suffixed by Bluetooth transport type. View the base histogram to see results |
| for all transport types aggregated together, and suffixed histograms for the |
| results of just that particular transport type. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.ChromeOS.Pairing.Result.FailureReason" |
| enum="BluetoothConnectionFailureReason" expires_after="2021-03-05"> |
| <!-- Name completed by histogram_suffixes name="BluetoothTransportTypes" --> |
| |
| <owner>hansberry@chromium.org</owner> |
| <owner>cros-system-services-networking@google.com</owner> |
| <summary> |
| Breaks down why a pairing attempt to a peripheral failed (see |
| 'Bluetooth.ChromeOS.Pairing.Result'). |
| |
| Suffixed by Bluetooth transport type. View the base histogram to see results |
| for all transport types aggregated together, and suffixed histograms for the |
| results of just that particular transport type. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.ChromeOS.Pairing.TransportType" |
| enum="BluetoothTransportType" expires_after="2021-03-05"> |
| <owner>hansberry@chromium.org</owner> |
| <owner>cros-system-services-networking@google.com</owner> |
| <summary> |
| An enumerated histogram which captures the transport type of devices which |
| are paired with. Reports of transport types other than classic, BLE, or dual |
| should be considered concerning and investigated. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.ChromeOS.UserInitiatedReconnectionAttempt.Result" |
| enum="BooleanSuccess" expires_after="2021-05-09"> |
| <!-- Name completed by histogram_suffixes name="BluetoothUISurfaces" --> |
| |
| <owner>hansberry@chromium.org</owner> |
| <owner>cros-system-services-networking@google.com</owner> |
| <summary> |
| Records success or failure of a reconnection attempt to an already paired |
| peripheral after the user taps that device in the list of peripherals in |
| Bluetooth Settings or System Tray. Explicitly excludes automatic |
| reconnection attempts initiated by Chrome OS. |
| |
| Suffixed by Bluetooth UI surface. View the base histogram to see results for |
| all UI surfaces aggregated together, and suffixed histograms for the results |
| of just that particular UI surfaces. |
| </summary> |
| </histogram> |
| |
| <histogram |
| name="Bluetooth.ChromeOS.UserInitiatedReconnectionAttempt.Result.FailureReason" |
| enum="BluetoothConnectionFailureReason" expires_after="2021-03-05"> |
| <!-- Name completed by histogram_suffixes name="BluetoothUISurfaces" --> |
| |
| <owner>hansberry@chromium.org</owner> |
| <owner>cros-system-services-networking@google.com</owner> |
| <summary> |
| Breaks down why a user-initiated reconnection attempt to a peripheral failed |
| (see 'Bluetooth.ChromeOS.UserInitiatedReconnectionAttempt.Result'). |
| |
| Suffixed by Bluetooth UI surface. View the base histogram to see results for |
| all UI surfaces aggregated together, and suffixed histograms for the results |
| of just that particular UI surfaces. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.ConnectedDeviceCount" units="devices" |
| expires_after="2021-05-16"> |
| <owner>adlr@chromium.org</owner> |
| <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.DiscoverySession.Start.Outcome" |
| enum="BluetoothDiscoveryOutcomes" expires_after="M85"> |
| <obsolete> |
| Removed 2020/11/05. crbug.com/1088659 |
| </obsolete> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Records the outcome of calls to BluetoothAdapter::StartDiscoverySession. |
| Used to prioritize efforts to fix failures of this function. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.DiscoverySession.Stop.Outcome" |
| enum="BluetoothDiscoveryOutcomes" expires_after="2021-03-01"> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Records the outcome of calls to BluetoothDiscoverySession::Stop. Used to |
| prioritize efforts to fix failures of this function. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Linux.ConnectToServiceInsecurelyResult" |
| enum="BluetoothAdapterConnectToServiceInsecurelyResult" |
| expires_after="2022-01-01"> |
| <owner>alainm@chromium.org</owner> |
| <owner>nearby-share-chromeos-eng@google.com</owner> |
| <summary> |
| Result of attempting a call to mojom::Adapter::ConnectToServiceInsecurely(). |
| Emitted when function completes. |
| </summary> |
| </histogram> |
| |
| <histogram base="true" name="Bluetooth.MacOS.Errors" |
| enum="MacOSBluetoothOperationsResult" expires_after="2021-01-31"> |
| <!-- Name completed by histogram_suffixes name="WebBluetoothMacOSAPIs" --> |
| |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Records how many times each macOS GATT error has occured. The results will |
| be used to determine how commun this errors are and if we need to provide |
| better error messages to the users. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.PairingMethod" enum="BluetoothPairingMethod" |
| expires_after="2020-11-08"> |
| <owner>adlr@chromium.org</owner> |
| <summary> |
| Records the method used to pair each Bluetooth Device. Used to direct our |
| testing efforts. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.PairingResult" enum="BluetoothPairingResult" |
| expires_after="M85"> |
| <obsolete> |
| Removed 2020/11/05. crbug.com/1088659 |
| </obsolete> |
| <owner>adlr@chromium.org</owner> |
| <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="Bluetooth.Web.Android" enum="AndroidGATTStatusResult" |
| expires_after="2021-01-31"> |
| <!-- Name completed by histogram_suffixes name="AndroidGATTEvents" --> |
| |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary>'status' values returned by Android GATT event.</summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Web.Blocklist.ParsedNonEmptyString" |
| enum="BooleanSuccess" expires_after="M85"> |
| <obsolete> |
| Removed 2020/11/05. crbug.com/1088659 |
| </obsolete> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Records the result of BluetoothBlocklist::Add parsing a non-empty string. |
| These strings will be updated dynamically by a server, and this histogram |
| provides feedback that parsing is functioning correctly on clients. |
| |
| False values are BAD, a blocklist is failing to be applied correctly. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Web.Characteristic.ReadValue.Outcome" |
| enum="WebBluetoothGATTOperationOutcome" expires_after="2021-01-31"> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Records the outcome of a call to characteristic.readValue(). Used to know |
| what types of errors users are seeing. The results will be used to determine |
| how common these errors are and if we need to provide better error messages |
| to the users. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Web.Characteristic.StartNotifications.Outcome" |
| enum="WebBluetoothGATTOperationOutcome" expires_after="2021-01-31"> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Records the outcome of a call to characteristic.startNofications(). Used to |
| know what types of errors users are seeing. The results will be used to |
| determine how common these errors are and if we need to provide better error |
| messages to the users. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Web.Characteristic.WriteValue.Outcome" |
| enum="WebBluetoothGATTOperationOutcome" expires_after="2021-01-31"> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Records the outcome of a call to characteristic.writeValue(). Used to know |
| what types of errors users are seeing. The results will be used to determine |
| how common these errors are and if we need to provide better error messages |
| to the users. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Web.ChooserInteraction" enum="BooleanInvalid" |
| expires_after="2021-05-16"> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Counts how many times users interact with a regular chooser vs. an invalid |
| chooser. (A chooser is invalid when it's event handler becomes null.) |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Web.ConnectGATT.Outcome" |
| enum="WebBluetoothConnectGATTOutcome" expires_after="2021-05-16"> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Records the result of a device.gatt.connect() call. Used to understand what |
| errors developers are getting so we can target efforts toward the most |
| common ones. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Web.ConnectGATT.TimeFailed" units="ms" |
| expires_after="2021-01-31"> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Records how long it takes for a connection attempt to fail. Use to let |
| developers know how to better wait for and handle connection errors. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Web.ConnectGATT.TimeSuccess" units="ms" |
| expires_after="2021-01-31"> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Records how long it takes for a device to successfully connect. Use to let |
| developers know how long it should take to connect to a BLE device. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Web.Descriptor.ReadValue.Outcome" |
| enum="WebBluetoothGATTOperationOutcome" expires_after="M85"> |
| <obsolete> |
| Removed 2020/11/05. crbug.com/1088659 |
| </obsolete> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Records the outcome of a call to descriptor.readValue(). Used to know what |
| types of errors users are seeing. The results will be used to determine how |
| common these errors are and if we need to provide better error messages to |
| the users. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Web.Descriptor.WriteValue.Outcome" |
| enum="WebBluetoothGATTOperationOutcome" expires_after="M85"> |
| <obsolete> |
| Removed 2020/11/05. crbug.com/1088659 |
| </obsolete> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Records the outcome of a call to descriptor.writeValue(). Used to know what |
| types of errors users are seeing. The results will be used to determine how |
| common these errors are and if we need to provide better error messages to |
| the users. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Web.GetCharacteristic.Characteristic" |
| enum="GATTCharacteristicHash" expires_after="2021-01-31"> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Records the UUIDs used when getting a characteristic. The recorded value is |
| a 31-bit hash of the UUID. Used to know what types of characteristics to |
| target when building libraries that use the Web Bluetooth API. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Web.GetCharacteristic.Outcome" |
| enum="WebBluetoothGetCharacteristicOutcome" expires_after="2021-01-31"> |
| <obsolete> |
| Removed 2020/11/05. crbug.com/1088659 |
| </obsolete> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Records the outcome of a call to getCharacteristic(). Used to understand |
| what errors developers are getting so we can target efforts toward the most |
| common ones. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Web.GetCharacteristics.Characteristic" |
| enum="GATTCharacteristicHash" expires_after="2021-01-31"> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Records the UUIDs used when getting characteristics. The recorded value is a |
| 31-bit hash of the UUID. Used to know what types of characteristics to |
| target when building libraries that use the Web Bluetooth API. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Web.GetCharacteristics.Outcome" |
| enum="WebBluetoothGetCharacteristicOutcome" expires_after="M85"> |
| <obsolete> |
| Removed 2020/11/05. crbug.com/1088659 |
| </obsolete> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Records the outcome of a call to getCharacteristics(). Used to understand |
| what errors developers are getting so we can target efforts toward the most |
| common ones. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Web.GetDescriptor.Descriptor" |
| enum="GATTDescriptorHash" expires_after="M85"> |
| <obsolete> |
| Removed 2020/11/05. crbug.com/1088659 |
| </obsolete> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@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" expires_after="M85"> |
| <obsolete> |
| Removed 2020/11/05. crbug.com/1088659 |
| </obsolete> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@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" expires_after="M85"> |
| <obsolete> |
| Removed 2020/11/05. crbug.com/1088659 |
| </obsolete> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@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" expires_after="M85"> |
| <obsolete> |
| Removed 2020/11/05. crbug.com/1088659 |
| </obsolete> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@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" expires_after="2021-01-31"> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Records the result of a GATTServer.getPrimaryService() call. 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.Services" |
| enum="GATTServiceHash" expires_after="2021-01-31"> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Records what GATT Services are used when connected. The record value is a |
| 31-bit hash of the Service UUID. This will help us know if we should build |
| an API for specific services rather than a general Bluetooth API. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Web.GetPrimaryServices.Outcome" |
| enum="WebBluetoothGetPrimaryServiceOutcome" expires_after="2021-01-31"> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Records the result of a GATTServer.getPrimaryServices() call. Used to |
| understand what errors developers are getting so we can target efforts |
| toward the most common ones. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Web.GetPrimaryServices.Services" |
| enum="GATTServiceHash" expires_after="2021-01-31"> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Records what GATT Services are used when connected. The record value is a |
| 31-bit hash of the Service UUID. This will help us know if we should build |
| an API for specific services rather than a general Bluetooth API. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Web.RequestDevice.Filters.Count" units="filters" |
| expires_after="2021-01-31"> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Records how many filters are used when scanning. These results will help us |
| better understand the uses of the API and make changes according to |
| developers' behavior. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Web.RequestDevice.Filters.Services" |
| enum="GATTServiceHash" expires_after="2021-04-04"> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Records a 31-bit hash of the GATT Service UUIDs used when scanning. This |
| will help us know if we should build an API for specific services rather |
| than a general Bluetooth API. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Web.RequestDevice.FilterSize" units="services" |
| expires_after="2021-01-31"> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Records how many services are used in a filter. These results will help us |
| better understand the uses of the API and make changes according to |
| developers' behavior. |
| </summary> |
| </histogram> |
| |
| <histogram |
| name="Bluetooth.Web.RequestDevice.NumOfDevicesInChooserWhenNotAcceptingAllDevices" |
| units="devices" expires_after="2021-01-31"> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| In the case of not accepting all devices, records the number of devices that |
| are in the chooser when a device is paired. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Web.RequestDevice.OptionalServices.Count" |
| units="filters" expires_after="2021-01-31"> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Records how many optional services are used when scanning. These results |
| will help us better understand the uses of the API and make changes |
| according to developers' behavior. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Web.RequestDevice.OptionalServices.Services" |
| enum="GATTServiceHash" expires_after="2021-01-31"> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Records what optional services are used. The recorded value is a 31-bit hash |
| of the Service UUID. These results will help us better understand the uses |
| of the API and make changes according to developers' behavior. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Web.RequestDevice.Options.AcceptAllDevices" |
| enum="Boolean" expires_after="2021-01-31"> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Records the value of 'acceptAllDevices' in RequestDeviceOptions. These |
| results will help us better understand the uses of the API and make changes |
| according to developers' behavior. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Web.RequestDevice.Outcome" |
| enum="WebBluetoothRequestDeviceOutcome" expires_after="2021-05-16"> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Records the result of a navigator.bluetooth.requestDevice() call. Used to |
| understand what errors developers are getting so we can target efforts |
| toward the most common ones. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Web.RequestDevice.RSSISignalStrength" units="dBm" |
| expires_after="2021-01-31"> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Raw RSSI values provided to chooser, before processing them for display in |
| the Web Bluetooth chooser. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Web.RequestDevice.RSSISignalStrengthLevel" |
| enum="WebBluetoothRSSISignalStrengthLevel" expires_after="2021-01-31"> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Displayed RSSI levels, after processing and as displayed to users in the Web |
| Bluetooth chooser. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Web.RequestDevice.ScanningDuration" units="ms" |
| expires_after="2021-01-31"> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Records the duration scanning for devices is run, terminated by events such |
| as the chooser being closed with a selected device, cancelled, or the scan |
| duration timing out. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Web.RequestDevice.UnionOfServices.Count" |
| units="services" expires_after="2021-01-31"> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Records how many services are used when scanning. This results will help us |
| better understand the uses of the API and make changes according to |
| developers' behavior. |
| </summary> |
| </histogram> |
| |
| <histogram name="Bluetooth.Web.RequestDevice.UnionOfServices.Services" |
| enum="GATTServiceHash" expires_after="2021-06-13"> |
| <owner>ortuno@chromium.org</owner> |
| <owner>reillyg@chromium.org</owner> |
| <summary> |
| Records what services are used from either required or optional sets. The |
| recorded value is a 31-bit hash of the Service UUID. These results will help |
| us better understand the uses of the API and make changes according to |
| developers' behavior. |
| </summary> |
| </histogram> |
| |
| </histograms> |
| |
| </histogram-configuration> |