blob: ec42b0bdc4dbf3f3665534942979b1408d0ba8f8 [file] [log] [blame]
<!-- Structured metrics is under development and isn't available for use yet. -->
<structured-metrics>
<project name="Bluetooth">
<owner>yudiliu@chromium.org</owner>
<id>per-project</id>
<summary>
Project for recording bluetooth metrics.
</summary>
<event name="BluetoothAdapterStateChanged">
<summary>
Records the toggle of the adapter.
</summary>
<metric name="SystemTime" type="int">
<summary>
The system time in nanoseconds.
</summary>
</metric>
<metric name="AdapterState" type="int">
<summary>
The state of the bluetooth adapter, 0 for disabled and 1 for enabled.
</summary>
</metric>
</event>
<event name="BluetoothPairingStateChanged">
<summary>
Records the device pairing state change.
</summary>
<metric name="SystemTime" type="int">
<summary>
The system time in nanoseconds.
</summary>
</metric>
<metric name="DeviceId" type="hmac-string">
<summary>
The bluetooth device id.
</summary>
</metric>
<metric name="DeviceType" type="int">
<summary>
The bluetooth device type such as LE, BREDR.
</summary>
</metric>
<metric name="PairingState" type="int">
<summary>
The state of the pairing.
</summary>
</metric>
</event>
<event name="BluetoothAclConnectionStateChanged">
<summary>
Records the ACL connection state change.
</summary>
<metric name="SystemTime" type="int">
<summary>
The system time in nanoseconds.
</summary>
</metric>
<metric name="DeviceId" type="hmac-string">
<summary>
The bluetooth device id.
</summary>
</metric>
<metric name="DeviceType" type="int">
<summary>
The bluetooth device type such as LE, BREDR.
</summary>
</metric>
<metric name="ConnectionDirection" type="int">
<summary>
Whether it is an incoming or outgoing connection.
</summary>
</metric>
<metric name="StateChangeType" type="int">
<summary>
Whether it is a connection or disconnection state change.
</summary>
</metric>
<metric name="AclConnectionState" type="int">
<summary>
The state of the connection.
</summary>
</metric>
</event>
<event name="BluetoothProfileConnectionStateChanged">
<summary>
Records the profile connection state change.
</summary>
<metric name="SystemTime" type="int">
<summary>
The system time in nanoseconds.
</summary>
</metric>
<metric name="DeviceId" type="hmac-string">
<summary>
The bluetooth device id.
</summary>
</metric>
<metric name="StateChangeType" type="int">
<summary>
Whether it is a connection or disconnection state change.
</summary>
</metric>
<metric name="Profile" type="int">
<summary>
The bluetooth profile.
</summary>
</metric>
<metric name="ProfileConnectionState" type="int">
<summary>
The state of the profile connection.
</summary>
</metric>
</event>
<event name="BluetoothDeviceInfoReport">
<summary>
Records the bluetooth device info.
</summary>
<metric name="SystemTime" type="int">
<summary>
The system time in nanoseconds.
</summary>
</metric>
<metric name="DeviceId" type="hmac-string">
<summary>
The bluetooth device id.
</summary>
</metric>
<metric name="DeviceType" type="int">
<summary>
The bluetooth device type such as LE, BREDR.
</summary>
</metric>
<metric name="DeviceClass" type="int">
<summary>
The bluetooth device class such as HID, Headset.
</summary>
</metric>
<metric name="VendorId" type="int">
<summary>
The vendor id of the bluetooth device.
</summary>
</metric>
<metric name="VendorIdSource" type="int">
<summary>
The vendor id source such as SIG and USB.
</summary>
</metric>
<metric name="ProductId" type="int">
<summary>
The product id of the bluetooth device.
</summary>
</metric>
<metric name="ProductVersion" type="int">
<summary>
The product version of the bluetooth device.
</summary>
</metric>
</event>
</project>
<project name="TestProjectOne">
<owner>tby@chromium.org</owner>
<id>none</id>
<summary>
Project for unit testing, do not use.
</summary>
<event name="TestEventOne">
<summary>
Event for unit testing, do not use.
</summary>
<metric name="TestMetricOne" type="hmac-string">
<summary>
A per-user keyed hashed value.
</summary>
</metric>
<metric name="TestMetricTwo" type="int">
<summary>
An unhashed value, recorded as-is.
</summary>
</metric>
</event>
<event name="TestEventTwo">
<summary>
Event for unit testing, do not use.
</summary>
<metric name="TestMetricThree" type="int">
<summary>
A per-user keyed hashed value.
</summary>
</metric>
</event>
</project>
<project name="TestProjectTwo">
<owner>tby@chromium.org</owner>
<id>none</id>
<summary>
Project for unit testing, do not use.
</summary>
<event name="TestEventThree">
<summary>
Event for unit testing, do not use.
</summary>
<metric name="TestMetricFour" type="hmac-string">
<summary>
A per-user keyed hashed value.
</summary>
</metric>
</event>
</project>
</structured-metrics>