diff options
author | Etienne Ruffieux <eruffieux@google.com> | 2022-01-28 13:50:37 +0000 |
---|---|---|
committer | Etienne Ruffieux <eruffieux@google.com> | 2022-01-28 14:41:44 +0000 |
commit | 6086f2d4eb59a89cb25c126befef140347b4ffe1 (patch) | |
tree | 8024a62c701423d64931849afc8c983669f80319 | |
parent | 2914eb3dbe1efdb65119b088979e0db7b784c3ee (diff) | |
download | libsysprop-6086f2d4eb59a89cb25c126befef140347b4ffe1.tar.gz |
Bluetooth boot time start service
Added new sysprops to retrieve Bluetooth configs
Tag: #feature
Test: manual
Bug: 216497194
Change-Id: I43f77ea8d739c9d13bf603231ddfba64c957813d
-rw-r--r-- | srcs/android/sysprop/BluetoothProperties.sysprop | 20 | ||||
-rw-r--r-- | srcs/api/PlatformProperties-current.txt | 8 |
2 files changed, 28 insertions, 0 deletions
diff --git a/srcs/android/sysprop/BluetoothProperties.sysprop b/srcs/android/sysprop/BluetoothProperties.sysprop index 3617943..244d93c 100644 --- a/srcs/android/sysprop/BluetoothProperties.sysprop +++ b/srcs/android/sysprop/BluetoothProperties.sysprop @@ -103,6 +103,26 @@ prop { prop_name: "bluetooth.hardware.power.rx_cur_ma" } +# Whether Bluetooth should keep its state after reboot. +# Set by vendors overlay, read at Bluetooth initialization +prop { + api_name: "isSupportPersistedStateEnabled" + type: Boolean + scope: Public + access: Readonly + prop_name: "bluetooth.framework.support_persisted_state" +} + +# Whether Bluetooth should keep its state after reboot. +# Set by vendors overlay, read at Bluetooth initialization +prop { + api_name: "isAdapterAddressValidationEnabled" + type: Boolean + scope: Public + access: Readonly + prop_name: "bluetooth.framework.adapter_address_validation" +} + # Whether the Advanced Audio Distribution Profile (A2DP) Sink role is enabled on this device. # Set by vendors overlay, read at Bluetooth initialization prop { diff --git a/srcs/api/PlatformProperties-current.txt b/srcs/api/PlatformProperties-current.txt index 2874ce0..640c2be 100644 --- a/srcs/api/PlatformProperties-current.txt +++ b/srcs/api/PlatformProperties-current.txt @@ -45,6 +45,10 @@ props { prop_name: "bluetooth.hardware.power.tx_cur_ma" } prop { + api_name: "isAdapterAddressValidationEnabled" + prop_name: "bluetooth.framework.adapter_address_validation" + } + prop { api_name: "isProfileA2dpSinkEnabled" prop_name: "bluetooth.profile.a2dp.sink.enabled" } @@ -153,6 +157,10 @@ props { prop_name: "bluetooth.profile.vc.server.enabled" } prop { + api_name: "isSupportPersistedStateEnabled" + prop_name: "bluetooth.framework.support_persisted_state" + } + prop { api_name: "snoop_default_mode" type: Enum access: ReadWrite |