OSDN Git Service

Atom: Add more Bluetooth atoms
authorJack He <siyuanh@google.com>
Mon, 21 Jan 2019 05:22:46 +0000 (21:22 -0800)
committerJack He <siyuanh@google.com>
Mon, 28 Jan 2019 21:56:33 +0000 (13:56 -0800)
commit1021a6108132bf0d98676cae1afe98a1960f1375
treeb177ae99b3cced88a7aee1f38685124076e2d598
parentc27040aea7775482f5a2e2d8d2c075b61c6c1ad8
Atom: Add more Bluetooth atoms

* BluetoothHciTimeoutReported is logged when Bluetooth controller
  failed to respond to an HCI command in time
* BluetoothQualityReportReported is logged when Bluetooth controller
  sends a link quality report event to Android host due to bad link
  quality
* BluetoothManufacturerInfoReported is logged when we learn about
  manufactuer defined metadata for a device such as manufactuer name
  model number, software version, and hardware version
* BluetoothRemoteVersionInfoReported is logged when we learn about
  the manufactuer and Bluetooth version of remote Bluetooth controller
  and stack
* BluetoothSdpAttributeReported is logged when we learn about services
  provided by the remote device and their metdata such as protocol
  version and feature bitmask. Only profiles that use 16-bit UUIDs are
  logged
* BluetoothBondStateChanged is logged when Bluetooth bonding state is
  changed a a macro level such as none -> bonding, bonding -> bonded,
  and user interaction events such as passkey confirmation
* BluetoothClassicPairingEventReported is logged from native layer
  when Bluetooth classic pairing state changed due to HCI command
  or events. This is a more verbose level logging compared to
  BluetoothBondStateChanged
* BluetoothSmpPairingEventReported is logged from native layer when
  Bluetooth Security Manager Protocol based pairing state changed due to
  SMP command sent or received. Pairing failure reason code is also
  logged as a pre-defined enum

Bug: 112969790
Test: test drive with statsd
Change-Id: I94d1530758f79ce6d5f119426b1379c76517afec
cmds/statsd/src/atoms.proto
core/proto/Android.bp
core/proto/android/bluetooth/enums.proto
core/proto/android/bluetooth/hci/enums.proto
core/proto/android/bluetooth/smp/enums.proto [new file with mode: 0644]