* 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 Merged-In: I94d1530758f79ce6d5f119426b1379c76517afec (cherry picked from commit 1021a6108132bf0d98676cae1afe98a1960f1375)
31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
// Copyright (C) 2018 The Android Open Source Project
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
// C++ library for Bluetooth platform wide protobuf definitions
|
|
cc_library_static {
|
|
name: "libbt-platform-protos-lite",
|
|
host_supported: true,
|
|
proto: {
|
|
export_proto_headers: true,
|
|
type: "lite",
|
|
},
|
|
srcs: [
|
|
"android/bluetooth/a2dp/enums.proto",
|
|
"android/bluetooth/enums.proto",
|
|
"android/bluetooth/hci/enums.proto",
|
|
"android/bluetooth/hfp/enums.proto",
|
|
"android/bluetooth/smp/enums.proto",
|
|
],
|
|
}
|