summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2024-03-08 23:40:15 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-03-08 23:40:15 +0000
commit0fb60f03cbe19b844fd5399c6e5c99562c9a4252 (patch)
tree2e0b3121552bccefadcd06e823725e4a0008b396
parentfd7924073e8eb3bbfd46e764fb7836673157460e (diff)
parent8fe76985f34116c7fece916155f6297955372ac6 (diff)
downloadproto_logging-0fb60f03cbe19b844fd5399c6e5c99562c9a4252.tar.gz
Merge "[BluetoothMetrics] Introducing the new RDI atom" into main
-rw-r--r--stats/atoms/bluetooth/bluetooth_extension_atoms.proto16
1 files changed, 16 insertions, 0 deletions
diff --git a/stats/atoms/bluetooth/bluetooth_extension_atoms.proto b/stats/atoms/bluetooth/bluetooth_extension_atoms.proto
index ed10deac..ed7ecb42 100644
--- a/stats/atoms/bluetooth/bluetooth_extension_atoms.proto
+++ b/stats/atoms/bluetooth/bluetooth_extension_atoms.proto
@@ -259,6 +259,17 @@ message BluetoothContentProfileErrorReported {
optional int32 tag = 4;
}
+message BluetoothRemoteDeviceInformation {
+ // SHA256 hashed Bluetooth device name.
+ optional string allowlisted_device_name_hash = 1;
+
+ // Class of Device
+ optional int32 class_of_device = 2;
+
+ // The first three bytes of MAC address
+ optional int32 oui = 3;
+}
+
/**
* Logs RFCOMM connection attempts
*
@@ -283,4 +294,9 @@ message BluetoothRfcommConnectionAttempted {
// Uid of the app that calls RFCOMM connection API
optional int32 uid = 6 [(is_uid) = true]; // [(datapol.semantic_type) = ST_SOFTWARE_ID]
+
+ // Remote Device Information
+ optional BluetoothRemoteDeviceInformation remote_device_information = 7 [(log_mode) = MODE_BYTES];
}
+
+