OSDN Git Service

Atom: Add BluetoothLinkLayerConnectionEvent atom
authorJack He <siyuanh@google.com>
Tue, 18 Dec 2018 23:43:27 +0000 (15:43 -0800)
committerJack He <siyuanh@google.com>
Wed, 16 Jan 2019 04:07:32 +0000 (20:07 -0800)
commitab86dbd20cf17a1389d42135865eabfc4fc48604
tree7c660d94fe2ca67a1dbc6ccb1bca854bda60a5e1
parent0780b258705d57d67ea1f03b4c62fe9bc4a10f48
Atom: Add BluetoothLinkLayerConnectionEvent atom

* Add this atom to report events related to Bluetooth link layer
  connection, including:
  - Obfuscated ID of remote device
  - Connection handle
  - Direction of the connection
  - Type of the connection
  - Associated HCI command and/or event
  - Status code associated with HCI command and/or event
  - Reason code associated with HCI command and/or event
* Add enum definitions for HCI commands and events as defined in the
  Bluetooth 5.0 specification
* Add enum definitions for link type and direction

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