summaryrefslogtreecommitdiff
path: root/sysprop
AgeCommit message (Collapse)Author
2025-03-18OWNER freeze window William Escande
Bug: 381884217 Flag: EXEMPT only changing OWNERS Test: m . Change-Id: I9c8322fca831c81a158bac4765f79db00ddb061b
2025-02-19HAL: Add a sysprop to read MSFT vendor specific opcode Katherine Lai
Using MGMT to read the MSFT vendor specific opcode from the kernel is too BlueZ specific. Replace with a sysprop instead. Bug: 390425327 Bug: 365787977 Flag: com.android.bluetooth.flags.le_scan_msft_support Test: mmm packages/modules/Bluetooth Change-Id: I88bd30f1c1b81ab1299af0459aef4e7596183db0
2025-01-15bta: change avdt open timeout for PTS test Jakub Rotkiewicz
In the test A2DP/SNK/SYN/BV-01-C the PTS sends open command in around ~10 seconds, which is way longer than the stack allows and it has to be handled in other way. This CL adds sysprop that will setup the timeout to a greater value for PTS test purpose only. Bug: 384490929 Flag: EXEMPT - test only Test: atest pts-bot:A2DP/SNK/SYN/BV-01-C -v Change-Id: Id5c4b7dbe2a176facee5eb843ddeaf785ca5c4e9
2025-01-09Modify apex_available to Bluetooth apex William Escande
Bluetooth apex name has changed from com.android.btservices to com.android.bt. We now need to update the reference in the code. for i in `fd Android.bp` do perl -i -0pe "s/(apex_available: \[[^\]]*\")com.android.btservices(\"[^\]]*])/\1com.android.bt\2/g" $i # to replace btservices by bt perl -i -0pe "s/apex_available: \[\n *\"com.android.bt\",\n *\],/apex_available: [\"com.android.bt\"],/g" $i # to reduce the 3 lines into 1 when bt is the only apex available done Bug: 383863941 Flag: Exempt build infra Test: m . Change-Id: Ib9a8e1f5d4b31edbfd66273b09e45329a0122508
2024-12-27Revert^2 "OWNER remove freeze window" William Escande
This reverts commit a6f7fa1da0e5ca8b6a0f1734bfa089d542f2afba. Reason for revert: Prebuilt as landed Change-Id: I40a2bd6b29b924f51f9823381485f3adcf249b42
2024-12-20Revert "OWNER remove freeze window" Thomas Girardier
This reverts commit 5616c5a9624baea932bd552ecedd772ceaf9068b. Reason for revert: Freezing Bluetooth during holiday period and transition to Mainline since it is now built from source. Change-Id: I56fe54154296ef1bcee7e92f77a462036ef8008b
2024-12-06OWNER remove freeze window William Escande
This reverts aosp/3387082 Bug: 381884217 Flag: EXEMPT only changing OWNERS Test: m . Change-Id: I716f0283525750a6fc7cfe85251c1c1b8632f9e6
2024-12-02OWNER freeze window William Escande
Bug: 381884217 Flag: EXEMPT only changing OWNERS Test: m . Change-Id: Iff8ed28793141c2463d2c8a251ff454fc25c448e
2024-11-04osi: Use CLOCK_MONOTONIC on platforms that can't wake on BT Arjun Dhaliwal
Some devices (such as TVs) are not wired up to be woken by the controller. These devices might run into unforeseen issues going to sleep with timers armed. This commit adds a sysprop (bluetooth.hardware.wakeup_supported) to specify that the platform is wired up like that, and makes all alarms on those platforms monotonic, so they do not count up during suspend. Bug: 343826774 Test: m -j128 com.android.btservices & QA testing Flag: EXEMPT, behaviour controlled by sysprop Change-Id: Ie720ea3c20cba317eb3536c49604c9c8b9c2d80f
2024-10-01System property for changing minimum key size Himanshu Rawat
Introducing a system property to allow increasing the minimum key size from default of 7 octets. System property: bluetooth.gap.min_key_size Test: mmm pacakges/modules/Bluetooth Flag: EXEMPT guarded by system property Bug: 362624309 Change-Id: Idaa7eb191158d8487437642b2f2f7f5492619a88
2024-07-18Remove obsolete owner William Escande
also added myself into tools for the ktfmt & lint Test: None Flag: Exempt owner only Bug: 311772251 Change-Id: If48e75f1b20ca1c519b797a50618ccad527feb97
2024-07-03sysprop: Remove the wrapper GET_SYSPROP Henri Chataing
Originally added to let FLOSS have a different API. Ia8b81aa0800cc02f82bed1666dd14ffbbbe82bbf removes this workaround. Bug: 331817295 Test: m com.android.btservices Test: ./floss/build/build-in-container.py Flag: EXEMPT, mechanical refactor Change-Id: I8d6bdd7cac1da0a1bc76ca6ede4fcd98357cdb0e
2024-05-23sysprop: Remove floss workaround from wrapper David Duarte
This makes floss able to use system properties defined with sysprop Bug: 337064224 Test: ./floss/build/build-in-container.py Flag: EXEMPT, floss Change-Id: Ia8b81aa0800cc02f82bed1666dd14ffbbbe82bbf
2024-04-09Allow LE encryption while BR/EDR encryption is going on Himanshu Rawat
LE encryption request was rejected if the stack was encrypting BR/EDR transport. There is no such restriction in the specification. BT controllers should be able to encrypt both the transports at the same time. Added a system property to all platforms to allow LE encryption when BR/EDR encryption is going on. Test: mmm packages/modules/Bluetooth Bug: 330704060 Flag: EXEMPT guarded by system property Change-Id: Ia501de06a1c3f37627b3ae1422ac27ba7f83353c
2024-03-07Merge "AptX Voice SWB power management" into main Jakub Rotkiewicz
2024-03-06Replace bt_did.conf by sysprops David Duarte
Bug: 270423435 Bug: 327667978 Test: m com.android.btservices Change-Id: I8dba4b547fab9b093814bb69d83ed6d2893baacb
2024-03-06AptX Voice SWB power management Phaneendra Reddy
Handle SWB codec selection based on network type and codecs selected over network during call initiation. Bug: 308497929 Bug: 293574035 Test: atest HeadsetServiceAndStateMachineTest Test: atest bt_host_test_bta Change-Id: If97ab81c3f7e00ac8f38d41c3f0e2e3d438f34be
2024-02-09configurable private address rotation intervals Andriy Naborskyy
Bug: 322406148 Test: override on device and check address rotation frequency. Test: m com.android.btservices Flag: EXEMPT no logical change, add sysprop Change-Id: Id11194f2af59d9426c9362af6086a23eaf16e383
2023-12-07Remove sysprop/pan.sysprop Hyundo Moon
The sysprop "bluetooth.pan.nap.enabled" was made when "bluetooth.profile.pan.nap.enabled" has long since existed. This CL removes the newly created one, including the file where it is defined. Bug: 305785609 Test: m -j; Flag: EXEMPT, duplicate sysprop removal - it should be no-op ideally Change-Id: I33fec7ff1c2a5fd115a0a20452c9bb33f3dd5d95
2023-11-16HFP: Add sysprop for AptX Voice William Escande
Bug: 308497929 Test: m Bluetooth | No test require when adding sysprop Change-Id: I538da9e91f501d21f65f234b3e403faef68e57fb
2023-11-14Sysprop: wrap usage because of Floss William Escande
Test: m Bluetooth | No-op change Bug: 310741104 Change-Id: I95d113e90ba710d687722f846f52011950bf3f5d
2023-10-09Add ble sysprop for vnd_included Yongqin Liu
The original BLE_VND_INCLUDED define method cannot be override on runtime and some targets need to disable this feature(Eg: hikey960 board) Test: m . Test: bluetooth enabled by default after boot with the hikey960 board Bug: 302408538 Change-Id: I6da644a22056c8198b0dcd63b98c12fe829d487f Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2023-06-07Add A2DP src and sink co-exist feature init::flag (5/5) jinyao.yu
[Description] Add A2DP src and sink co-exist feature, that we can connect both sink and src remote device at the same time while only keep 1 streaming. Add property “bluetooth.a2dp.src_sink_coexist.enabled” to control this feature Bug: 256938279 Test: A2DP src/sink connect, streaming successully, net_test_btif_rc unit test pass Change-Id: I89ee8391f73daffaa992a5e7fafba36635a19641
2023-03-19Format build files with bpfmt David Duarte
Test: TreeHugger Change-Id: I9351bf55695797eeed568adf3fbdbb761859b98f
2023-03-09Add hfp sysprop for hf_features William Escande
The `define` cannot be override on runtime and some target need to configure the features (Eg: Wear OS) Test: manual | set the property and check new behavior Bug: 263323082 Change-Id: I197d670c929c7a086340f9d8ff72b0ec170616fe
2023-03-09Add hfp sysprop for hf_client_features William Escande
The `define` cannot be override on runtime and some target need to configure the features (Eg: Wear OS) Test: atest net_test_bta net_test_btif_hf_client_service Test: manual | set the property and check new behavior Bug: 263323082 Change-Id: Ic241364ceed263138797e3c3ad0f139da67e689a
2023-03-07Add hfp sysprop for profile version William Escande
The `define` cannot be override on runtime and some target need to change the default version to use (Eg: Wear OS) Bug: 263323082 Test: atest net_test_btif_hf_client_service net_test_bta net_test_btif_bta Change-Id: Iee020f8029dc5f82564fa28574914096a8e7cd75
2023-03-03Add pan sysprop for nap William Escande
The `define` cannot be override on runtime and some target need to disable nap (Eg: Wear OS) Test: manual | set the property and check new behavior Bug: 263323082 Change-Id: I27f9ec11fd4ef50ce2f66e3329dc0394257bcc2e
2023-03-01Add hfp sysprop for hf services William Escande
The `define` cannot be override on runtime and some target need to configure the available services (Eg: Wear OS) Test: manual | set the property and check new behavior Bug: 263323082 Change-Id: I39e474b2a0d167c1098ba9df15d5518644786e9e
2023-02-28Add bta sysprop for disable delay William Escande
The `define` cannot be override on runtime and some target need to configure the delay of bta disable to 1000 ms (Eg: Wear OS) Test: manual | set the property and check new behavior Bug: 263323082 Change-Id: Ie652d793984b71f8ad6622f74cdac2d00c1c4516
2023-02-27Add avrcp sysprop for absolute volume William Escande
The `define` cannot be override on runtime and some target need to configure the support for absolute volume to false (Eg: Wear OS) Test: manual | set the property and check avrcp absolute volume Bug: 263323082 Change-Id: I14757867def3ef3110387f92f158ec6b5708da76