Refine metrics for Bluetooth operations

Desktop / Chromium - Ryan Hansberry [chromium.org] - 11 October 2017 18:14 EDT

This CL accounts for future additions to Bluetooth error codes, and creates a histogram that captures all possible results of a BLE connection attempt.

Bug: 772068 Change-Id: I50d3c6f05dc6e69fd18dfb9ef09ff6cabe56144b Reviewed-on: https://chromium-review.googlesource.com/710799

70b9e1d Refine metrics for Bluetooth operations.
chromeos/components/tether/ble_synchronizer.cc | 5 +-
chromeos/components/tether/ble_synchronizer.h | 3 +
.../components/tether/ble_synchronizer_unittest.cc | 30 ++--
...bluetooth_low_energy_weave_client_connection.cc | 125 +++++++++++-----
.../bluetooth_low_energy_weave_client_connection.h | 97 ++++++++++++-
..._low_energy_weave_client_connection_unittest.cc | 157 ++++++++++++++++++++-
tools/metrics/histograms/enums.xml | 21 +++
tools/metrics/histograms/histograms.xml | 32 +++--
8 files changed, 409 insertions(+), 61 deletions(-)

Upstream: git.chromium.org


  • Share