- Feb 23, 2024
-
-
Rongxuan Liu authored
getPaSyncInterval() and setPaSyncInterval() both declared the unknown interval value is 0xFFFF. But in metadata builder, we set the default as -1. In the case of assistant parsing metadata from Base, pa interval is not present and we uses -1 there which is not matching the APIs. We should update the default value to 0xFFFF to keep aligned with APIs. Tag: #bug Bug: 326528942 Bug: 316005152 Test: atest BluetoothLeBroadcastTest BluetoothLeBroadcastMetadataTest BluetoothLeBroadcastAssistantTest Change-Id: I9adf0356cbf0f52907ca816cb3aae84a4f58dd6b
-
- Feb 22, 2024
-
-
Omair Kamil authored
Test: atest GattClientTest Bug: 303249477 Flag: EXEMPT test change Change-Id: I9b7f3df12142870bcfdbb352da57828228b89930
-
- Feb 15, 2024
-
-
Omair Kamil authored
Also replace the usage of the deprecated getExtra method. Test: atest SdpClientTest Bug: 325352365 Flag: EXEMPT test change Change-Id: Ia271a50164dfba39c7b39aba3e0569704ca39317
-
- Feb 13, 2024
-
-
William Escande authored
replaced: ``` if (foo) { /* * long code */ } ``` by ``` if (!bar) { return; } /* * long code */ ``` To win some indent spaces Bug: 324492914 Test: m Bluetooth | Existing test Flag: Exempt, mechanical no-op Change-Id: Ib735d03f1ea14547aae9213b6f7abc3362ff1338
-
William Escande authored
replaced: ``` if (service) { /* * long code */ } ``` by ``` if (!service) { return; } /* * long code */ ``` To win some indent spaces Bug: 324492914 Test: m Bluetooth | Existing test Flag: Exempt, mechanical no-op Change-Id: Ia580c60c2e35b446ecdfb373afed10206e4376b7
-
- Feb 12, 2024
-
-
Michal Belusiak authored
Bug: 323288188 Bug: 323288608 Test: atest BluetoothLeAudioTest; atest LeAudioServiceTest; atest --host bluetooth_le_audio_client_test Tag: #feature Change-Id: I8ca46c5b4d771efc63fe735b52f4e02c3c4e0eb6
-
- Feb 09, 2024
-
-
Michal Belusiak authored
Add argument for selecting a VOCS instance in setVolumeOffset. Add instance id argument for onVolumeOffsetChanged callback. Add callbacks for audio location and audio description change. Add method to read number of VOCS instances. Bug: 322779934 Bug: 323156655 Tag: #feature Test: atest VolumeControlServiceTest BluetoothVolumeControlTest Change-Id: I080bfb20112ce37c1f6560cd254b4a0c9433b1c1
-
- Feb 08, 2024
-
-
William Escande authored
Bug: 316946334 Bug: 323060869 Test: m Bluetooth Test: atest CtsBluetoothTestCases Test: atest ServiceBluetoothRoboTests Change-Id: I0d8c37a9b3684a0b2c45111ddb8b0738a9682792
-
Kyunglyul Hyun authored
Previously, when BluetoothGatt#writeCharacteristics failed early, the `mDeviceBusy` incorrectly remain `true`. This prevented subsequent operations on the BluetoothGatt instance. This change ensures the `mDeviceBusy` is properly set to `false` after a failure is returned by the service, allowing for continued use of the instance. It also adds a test for ensuring the behavior. Bug: 322580271 Bug: 322509603 Test: atest GattClientTest Change-Id: I6aea853745e15aca5c4caf75037e680592e74c81
-
- Feb 07, 2024
-
-
Himanshu Rawat authored
Added new setter and getter APIs for preferred transport. Added transport information in the connection state change intent Test: mmm packages/modules/Bluetooth Bug: 324094735 Bug: 320762367 Change-Id: Id9cef158de8084b90098bf2160b233ebe0814461
-
- Feb 05, 2024
-
-
Sagar Verma authored
Add missing spec defined sampling frequencies Bug: 322482347 Bug: 323287937 Test: mmm packages/modules/Bluetooth Change-Id: Ie644abe38a812b18e37077b03c4dbae67555bfbc
-
Łukasz Rymanowski authored
Bug: 323288188 Bug: 323288608 Test: atest BluetoothLeAudioTest Tag: #feature Change-Id: I44c7aa9d9f6afb163a1ecfa5fd2184a4af06267e
-
Ben authored
Reduce the flakyness of GattClientTest#directConnectGattAfterClose by only reconnecting once (instead of 10 times) and ensuring the second gatt connection disconnects before the end of the test. Bug: 322506814 Flag: TEST_ONLY Test: atest BumbleBluetoothTests:android.bluetooth.GattClientTest Change-Id: I221291d49f6c14e3e3652288f35d4dcaa095415d
-
Ben authored
Fix GattClientTest#reconnectExistingClient flake where the gatt callback was sometimes being called to notify of disconnection at the end of the test. The end of the test and the disconnection were racing. This is fixed by explicitly disconnecting at the end of the test. Bug: 322517596 Flag: TEST_ONLY Test: atest BumbleBluetoothTests:android.bluetooth.GattClientTest Change-Id: I428a3c6230aa139fc0479c1fcb5b09dd97686f57
-
- Feb 02, 2024
-
-
Chienyuan Huang authored
Bug: 322979029 Bug: 317683528 Test: atest DistanceMeasurementResultTest Change-Id: Idee22a13c2a598443d3889ce25b2f492c0c7872c
-
Rongxuan Liu authored
This API allows application to set preference if the device should remain as inactive audio device upon connection. Tag: #feature Bug: 311243225 Bug: 322387487 Test: atest DatabaseManagerTest BluetoothDeviceTest Change-Id: I20aeb3b9a232a5d6544795871a64c88e782e46c5
-
Himanshu Rawat authored
Test that parallel service discovery should not cause the BT stack to lose track of the pairing with the same device. Test: atest BumbleBluetoothTests:PairingTest Flag: EXEMPT test code Bug: 311790408 Change-Id: I8162681ccb4c378d249f3466b7c7dcc8dc605af9
-
David Duarte authored
During factoryReset a Pandora Server might shutdown itself (Bumble do this) leading to the stream being closed and the call failing with an UNAVAILABLE status. As this is an expected behavior, ignore this error. Bug: 322509596 Test: atest BumbleBluetoothTests Flag: Exempt, Test only change Change-Id: I98f937089413d480519e80b8ad41d7498150437b
-
- Feb 01, 2024
-
-
Christine Hallstrom authored
Also remove eruffieux@ who is no longer on the team. Bug: None Test: m . Flag: EXEMPT OWNERS file change Change-Id: I9ae89540ac4b968ec2a4e0a3504523121d818808
-
Angela Wang authored
The value is not correctly returned. It'll always return false. Bug: 323342069 Test: m Bluetooth Tag: #feature Flag: EXEMPT, simple bug fix Change-Id: Ibc0bea64d04e5f383c5ef5ed6bf7b4d7b2053897
-
- Jan 31, 2024
-
-
William Escande authored
Calling a flag check on device prior to V will check for READ_DEVICE_CONFIG permission. Test does not have this permission Bug: 323199303 Fix: 323199303 Test: atest CtsBluetoothTestCases on T devices Flag: Exempt, Cts test only Change-Id: I0b60d340dc756b748f526de37c32a7395ce1719e
-
Kihong Seong authored
Replace GATT_ERROR being returned to the developer when GATT connection times out after 30 seconds, with new status code GATT_CONNECTION_TIMEOUT. Bug: 201571634 Bug: 320574336 Test: atest GattClientTest Change-Id: I09e7fe32b67b40f5281f1f8cddfd2863bee2993e
-
- Jan 29, 2024
-
-
Angela Wang authored
Bug: 320960358 Test: m Bluetooth Test: call registerCallback() without exception Tag: #feature Flag: EXEMPT simple bug fix and the interface definition already flagged Change-Id: I4b6b4a6033c058683eb6a6e5405add7f9e2753b7
-
- Jan 26, 2024
-
-
Josh Wu authored
Flag: EXEMPT only a new log field added Test: atest BluetoothMetricsTests Bug: 278672462 Change-Id: I0f39f4ef8a84df026893097ace77e9010decb302
-
- Jan 25, 2024
-
-
Jihoon Kang authored
java_api_contribution modules are dynamically generated from droidstubs modules or java_sdk_library_import, and is not a user-facing module. Defining this module is a .bp file is a no-op. Test: m nothing Bug: 322242515 Change-Id: Id02754c66c7fc1fad9880187298694f4941f14e1 Flag: Exempt, Build files only
-
- Jan 24, 2024
-
-
Chienyuan Huang authored
Bug: 319563845 Bug: 317683528 Test: atest DistanceMeasurementResultTest Change-Id: Icc9a21a8b060cf91539a52f26c8b9d4a4e577eaf
-
- Jan 23, 2024
-
-
Christine Hallstrom authored
This API is planned to become public API in Android V. Bug: 321120941 Bug: 291280443 Test: m com.android.btservices Change-Id: I78ecd04308315d6ef92310c58b21639b56257b8f
-
Srinivas Patibandla authored
Bug: 280805266 Bug: 319716512 Test: atest com.android.bluetooth.btservice.storage.DatabaseManagerTest Change-Id: I6b7c3c690a43401659c9ee555d2afc6e97b76ba0
-
Chienyuan Huang authored
Bug: 319563845 Bug: 317683528 Test: atest DistanceMeasurementResultTest Test: atest DistanceMeasurementParamsTest Test: atest DistanceMeasurementManagerTest Test: atest ChannelSoundingParamsTest Change-Id: I45e701c417744452010fe3c94406d288c8baaa4e
-
Srinivas Patibandla authored
Introduced DckTestRule for the common DCK setup and teardown procedures, along with providing utility APIs. Test: atest BumbleBluetoothTests Bug: 315513588 Flag: TEST_ONLY Change-Id: Ie88dbbde18fc75e52ade0765c507c0b9695fc7da
-
- Jan 22, 2024
-
-
William Escande authored
Some nit change that will help land the ServiceMessenger Bug: 288450479 Test: m service-bluetooth | No-op change Flag: Exempt, no-op change Change-Id: I88bac32d3cdfdb123b12fd69f54997e089df7ea4
-
Chienyuan Huang authored
Bug: 319563845 Bug: 317683528 Test: atest DistanceMeasurementManagerTest Change-Id: I4423a62133c0a89f35f15f45c46c98529e3e0838
-
Chienyuan Huang authored
Bug: 319563845 Bug: 317683528 Test: atest ChannelSoundingParamsTest Test: atest DistanceMeasurementParamsTest Change-Id: I10e508d02a71e158b3306ebea3abf472abc6614c
-
Chienyuan Huang authored
Bug: 319563845 Bug: 317683528 Test: atest DistanceMeasurementResultTest Change-Id: Idcfb5f11a8de7ba45740e478bd6b64b5b6b2ea12
-
- Jan 20, 2024
-
-
Pomai Ahlo authored
Add logic necessary to log RfcommConnectionAttempt as described in go/rfcomm_metrics_design Bug: 306760576 Flag: EXEMPT the metrics implementation doesn't affect bt behavior Test: m Bluetooth Change-Id: I3c086bdd8a914895449080944d1dc3674ca49f5a
-
- Jan 19, 2024
-
-
William Escande authored
Follow up of aosp/2898732 for CLs being checked meantime Bug: 318901016 Test: m framework-bluetooth | no-op change from logical point of view Flag: Exempt, build change.. or said otherwise: This CL is the flag :) Change-Id: Id85bf02d3b66c835fa3ee742e301246ca52fb165
-
William Escande authored
This reverts commit 9a4b6b9c. Reason for revert: Re-landing the fix and check the test is passing Bug: 318901016 Bug: 321154514 Change-Id: If7985865d390258fee976833b8e29aad307e0fa2 Fix: 318901016 Test: atest StrictJavaPackagesTest Test: m framework-bluetooth | no-op change from logical point of view Flag: Exempt, build change.. or said otherwise: This CL is the flag :)
-
Henri Chataing authored
Incorrectly set to 0x1 instead of 0x2. The value is normative (defined by A2DP specification). Bug: 305734815 Bug: 308686081 Test: m com.android.btservice Change-Id: I8709577442ab07e8e0f64933c55c99844bcda3a3
-
Pomai Ahlo authored
New metrics are going to save latency information in nanoseconds. To accomodate for this, change socketCreationTime and socketCreationLatency to nanoseconds. This does not change the units for existing metrics. Bug: 306760576 Flag: EXEMPT mechanical refactor Test: m Bluetooth Change-Id: Ica70f968847e8f41c51344851882baabb7d03945
-
Pomai Ahlo authored
Move metrics logic from BluetothSocket.java and BluetoothServerSocket.java into a new SocketMetrics.java Bug: 306760576 Flag: EXEMPT strictly mechanical refactor Test: m Bluetooth Change-Id: Iad667d59a45d5f5d729acc6613bc41aeccd7d113
-