summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2023-11-21 19:14:52 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-11-21 19:14:52 +0000
commit7ec3cf227293775afffa8eb33d275ce2ecc1ad38 (patch)
treee04666f7a3bb1598708d96e5bf28d136ff513bc1
parentbdf577f9fa997ca68994514f9692aaace003dd30 (diff)
parentd1f56c65d1dcab61da45a82122c570b1dbb5b348 (diff)
downloadlibsysprop-tmp_amf_315507370.tar.gz
Bluetooth: add system property for HID transport selection am: d1f56c65d1tmp_amf_315507370
Original change: https://android-review.googlesource.com/c/platform/system/libsysprop/+/2833239 Change-Id: I4b7684d36899af2b752db6063ab350ba98527c47 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--srcs/android/sysprop/BluetoothProperties.sysprop13
-rw-r--r--srcs/api/PlatformProperties-current.txt5
2 files changed, 18 insertions, 0 deletions
diff --git a/srcs/android/sysprop/BluetoothProperties.sysprop b/srcs/android/sysprop/BluetoothProperties.sysprop
index 53c1fe0..c9a70f0 100644
--- a/srcs/android/sysprop/BluetoothProperties.sysprop
+++ b/srcs/android/sysprop/BluetoothProperties.sysprop
@@ -757,6 +757,19 @@ prop {
prop_name: "bluetooth.core.le.vendor_capabilities.enabled"
}
+# list of supported HID transport protocols for IMU data over LE Audio by order of preferrence
+# Comma separated list of:
+# - "le-acl": LE ACL transport, the IMU data is reported via the sensor stack
+# - "iso-sw": ISO transport, the IMU data is reported via the sensor stack
+# - "iso-hw": ISO transport, the IMU data is tunneled to the Spatializer in the ADSP
+prop {
+ api_name: "dsa_transport_preference"
+ type: StringList
+ scope: Public
+ access: Readonly
+ prop_name: "bluetooth.core.le.dsa_transport_preference"
+}
+
# Used to disable enhanced SCO connection
prop {
api_name: "getDisableEnchancedConnection"
diff --git a/srcs/api/PlatformProperties-current.txt b/srcs/api/PlatformProperties-current.txt
index 22ada1d..5a40147 100644
--- a/srcs/api/PlatformProperties-current.txt
+++ b/srcs/api/PlatformProperties-current.txt
@@ -10,6 +10,11 @@ props {
props {
module: "android.sysprop.BluetoothProperties"
prop {
+ api_name: "dsa_transport_preference"
+ type: StringList
+ prop_name: "bluetooth.core.le.dsa_transport_preference"
+ }
+ prop {
api_name: "factory_reset"
access: ReadWrite
prop_name: "persist.bluetooth.factoryreset"