- Jun 09, 2023
-
-
Jack He authored
* Restrict BAS usage to BLE only to avoid affecting BR/EDR link Bug: 285628594 Test: none (cherry picked from https://android-review.googlesource.com/q/commit:a10e36a11a0efbb5d417af5e8d4fb97bfe35ff78) Merged-In: Id4f52a490938e8084ea3dc0c277cb4782c747ddd Change-Id: Id4f52a490938e8084ea3dc0c277cb4782c747ddd
-
Jakub Rotkiewicz authored
Bug: 283910297 Test: atest CsipSetCoordinatorServiceTest (cherry picked from https://android-review.googlesource.com/q/commit:9fa2190a469e5995aeb0f9b66a9971b3c1ed82e3) Merged-In: I72878dad690dbd017b32f20521278b94d843aee1 Change-Id: I72878dad690dbd017b32f20521278b94d843aee1
-
Łukasz Rymanowski authored
Make sure to retry when registration does not happen, and in other case clear the callback which indicates scan is ongoing. Bug: 283228408 Test: manual Tag: #feature (cherry picked from https://android-review.googlesource.com/q/commit:8c02fa7af535428884f57d88e68e479087bec83d) Merged-In: I2399058997b20ea3534951b25c4a8169211d7052 Change-Id: I2399058997b20ea3534951b25c4a8169211d7052
-
- Jun 05, 2023
-
-
Yuyang Huang authored
Test: atest BluetoothInstrumentationTests Bug: 271351629 (cherry picked from https://android-review.googlesource.com/q/commit:95216457f02bb074eddf40322337f70dfa2d4e1c) Merged-In: I8be0a5bcbb8c26e3ef178bcb25973783045b9f31 Change-Id: I8be0a5bcbb8c26e3ef178bcb25973783045b9f31
-
Bill Yi authored
Auto-generated-cl: translation import Change-Id: I6a9bd036dad568d53fa671de675c613c30c88167
-
Bill Yi authored
Auto-generated-cl: translation import Change-Id: Ie65cad9714af781c2e273478bede69898c31496b
-
Bill Yi authored
Auto-generated-cl: translation import Change-Id: I0a8497b6e6dee08ae410ac9a843bfd04831ea68f
-
Bill Yi authored
Auto-generated-cl: translation import Change-Id: I2345c2b02fb7b4ebb75c1d012fe77bd0e6fd50f7
-
Bill Yi authored
Auto-generated-cl: translation import Change-Id: I6b7d0345a2e5d216cc72a1a62f100776aa8b0189
-
Bill Yi authored
Auto-generated-cl: translation import Change-Id: Id287ae242fa9283a9d54fc1f548bdaa299024829
-
- May 29, 2023
-
-
Bill Yi authored
Auto-generated-cl: translation import Change-Id: Ic9b3da80409239d86a8ca68e3d270bc31b5100b8
-
- May 25, 2023
-
-
Ugo Yu authored
The first parameter of ANDROID AT command indicates "type" which should always be String. Bug: 283725716 Test: atest BluetoothInstrumentationTests (cherry picked from https://android-review.googlesource.com/q/commit:e255fcf5ed395b47c0baf8086ab896345bc3ae8d) Merged-In: Ic7d11cf33562ccfca8321cdcfa0e4163614c4e0a Change-Id: Ic7d11cf33562ccfca8321cdcfa0e4163614c4e0a
-
David Duarte authored
This reverts commit d6c1f9af. Reason for revert: b/283725716 Bug: 283725716 Change-Id: Ifd8d19c44f4b0fbfd9b7a88819409d7a8da15336 Merged-In: Ic7d11cf33562ccfca8321cdcfa0e4163614c4e0a
-
Yuyang Huang authored
sort CLCC response by index add null check clear inference when conference call children arrive clear inference when parent call ends Bug: 262199042 Test: atest com.android.bluetooth.telephony.BluetoothInCallServiceTest (cherry picked from https://android-review.googlesource.com/q/commit:de135fd4c6a1ed974314a48f5346bfb7750b81c4) Merged-In: I35d2f8569af1deb13b830a1f23ec540679435233 Change-Id: I35d2f8569af1deb13b830a1f23ec540679435233
-
Aditi Katragadda authored
The goal is to communicate an error state which indicates that Bluetooth is disconnected. The pop-up that prompts the user to connect to Bluetooth does not appear again on re-entering the app after it has been dismissed. This has been fixed by creating several statuses which indicate error conditions, download pending or success statuses. The specific status NO_DEVICE_CONNECTED will allow for the "Bluetooth is disconnected" message to display by returning a null result. Tag: #stability Bug: 275561845 Test: atest AvrcpControllerTest (cherry picked from https://android-review.googlesource.com/q/commit:13f31c651f782cdd2c6f068013f50fce58c124fa) Merged-In: I6fb279d49db4d6cdbc0850a684a22033390b557e Change-Id: I6fb279d49db4d6cdbc0850a684a22033390b557e
-
- May 23, 2023
-
-
David Duarte authored
This reverts commit 145b3827. Reason for revert: b/283725716 Bug: 283725716 Change-Id: I7cea765c9939d3a88daa8f8ffd86a45887163f18 Merged-In: Ic7d11cf33562ccfca8321cdcfa0e4163614c4e0a
-
- May 22, 2023
-
-
Bill Yi authored
Auto-generated-cl: translation import Change-Id: I5fec6f37af61825ce9f20a4b3d7c471f6629a3e3
-
Bill Yi authored
Auto-generated-cl: translation import Change-Id: I0a24206ed6434d1758ae6a0ddc6705c4dfe03fe8
-
Bill Yi authored
Auto-generated-cl: translation import Change-Id: I6368a821573e42eaf4b9dedd907e8773f5e71d45
-
Sal Savage authored
Tag: #stability Bug: 281902051 Test: atest BluetoothInstrumentationTests (cherry picked from https://android-review.googlesource.com/q/commit:c31cc63c52b8c49d7a3f5817cee7c4c250ad35a4) Merged-In: Ifca537dea679c8f74be9b4b23f50ad5a04b38bbc Change-Id: Ifca537dea679c8f74be9b4b23f50ad5a04b38bbc
-
- May 17, 2023
-
-
Bill Yi authored
Auto-generated-cl: translation import Change-Id: If5e4e4cd37f0ea71f1344c17979fdade36535e00
-
Bill Yi authored
Auto-generated-cl: translation import Change-Id: Ib78f63455e7697848c8e096467587fe595c5c400
-
Bill Yi authored
Auto-generated-cl: translation import Change-Id: If56495f049bdaed420269cf99d04d56a36d1d7e7
-
- May 12, 2023
-
-
Ugo Yu authored
- Change feature type from integer to string - Only process expected AT+ANDROID commands in HeadsetStateMachine - Do not intercept AT+ANDROID commands with unexpected format - Handle unexpected commnads as normal vendor commands - Refactor feature command to +ANDROID: (<feature1>),(<feature2>,arg1),(<feature3>,args...) - Add more unit tests Bug: 275668166 Bug: 280117645 Test: atest BluetoothInstrumentationTests Change-Id: Ib502d1c51b26db41102e83a6720de2eaabdc9c63
-
Stephanie Bak authored
Bug: 281892779 Test: manual Change-Id: I2b204e115faeeb67a54deb08ab7d8dd62dd6cd09
-
Etienne Ruffieux authored
Telecom is using BluetoothHeadset#connectAudio to start SCO, but HeadsetService checks if a call is ongoing (or ringing) before sending the command to the native stack. It can happen that BluetoothInCallService isn't yet connected to Telecom service when that connectAudio is called, resulting in SCO not started at that time but when BluetoothInCallService is connected instead, which can be an issue as we will return false at Telecom's connect audio request. Bug: 274081739 Tag: #feature Test: manual Change-Id: I74b8f56912cbd03e68321db1c5389e1374bca9bd
-
Sal Savage authored
The ID for a device level node is __ROOT__<device> but we were adding it to the node map as simply "__ROOT__". Tag: #stability Bug: 282017538 Test: atest BluetoothInstrumentationTests Change-Id: Ie81b28e3f21fccb9ab21d0c15c5a2c64de740e2a
-
Sal Savage authored
Problem: Some GetFolderItems requests can fail, timeout, or abort, and we don't always notify the MediaBrowsers of the fact we're as done as we're going to be with their request. This causes the UI in some clients to indefinitely assume our service is downloading contents because we've detached and never notified of contents. Solution: GetFolderItems is _meant_ to represent exactly one fetch cycle, so we can move the code more in line with that. We'll always set the node to cached on exist of the state, and notify clients of the final contents. In this way, clients will always get _something_, whether its an empty list or the contents we have so far. Tag: #stability Bug: 279516561 Test: atest BluetoothInstrumentationTests Please enter the commit message for your changes. Lines starting Change-Id: I6793c61ca91c0ca04aea7b9fc168cf641dee05f3
-
Michał Narajowski authored
When switching a set of earbuds from LeAudio to A2DP this is the same as disconnecting from LeAudio device and connecting to A2DP device so the new tests are verifying the behavior of the ADM when disconnecting one or both LeAudio devices. Bug: 278761210 Test: atest BluetoothInstrumentationTests Tag: #feature Change-Id: Ie708737c760862af8d0b100134a53c917077b124
-
Michał Narajowski authored
Previously the TBS access request resulted in no response from the stack which resulted in ATT Timeout. With this change we respond with insufficient authorization. Bug: 263372634 Test: manual and atest BluetoothInstrumentationTests Tag: #feature Change-Id: I8e1a8e2ff6322099d8ccca44ddd47b7286703a16
-
William Escande authored
Cleanup can put the callback object to NULL but a subsequent event can still try to call JNI on it. Adding check on the jni object + adding mutex to avoid multi-thread issue Bug: 281808930 Test: JNI is untested Change-Id: I45919927b3cf6d5b7ab72e30040bb16492491b25
-
- May 11, 2023
-
-
Eric Shih authored
Bug: 281970923 Test: atest GoogleBluetoothInstrumentationTests (cherry picked from https://android-review.googlesource.com/q/commit:609db0f4fc21cdaccc8e0c70e6d377dcc92b292f) Merged-In: I20eb76aad6ecdcdf4cc47289735d72d5c1e2da1f Change-Id: I20eb76aad6ecdcdf4cc47289735d72d5c1e2da1f Bug: 263323082
-
Sal Savage authored
Problem: The Now Playing List is invalidated when the addressed player changes. This can happen on initial connection, when the Available Players change and a player ID is reused, or directly as a result of an Addressed Player Changed event. Typically, both events come in one after the other, causing one Now Playing list fetch, immediately followed by another. As it stands, the first request always finishes, and the future ones are ignored, despite the list getting cleared/uncached part-way through. This leads to missing data and/or incorrect lists, which can have downstream impact on playing items from the Now Playing List as well. Solution: Let another more recent fetch request for the Now Playing List invalidate the previous requsst and cause the download process to restart. These downloads are typically quick and the wasted cycles downloading sometimes-old-something-invalid data are small, or necessary. Tag: #stability Bug: 177004421 Test: atest AvrcpControllerStateMachine.java Change-Id: Idcc0a21c966622bfd442ae3b2c7cf1d8f06e75d3
-
David Duarte authored
Bug: 279502784 Bug: 267212763 Test: Presubmit Change-Id: Ibb11f95739fcd86d5ec7239c747449d5cf86724b
-
Eric Shih authored
Bug: 281970923 Test: atest GoogleBluetoothInstrumentationTests Change-Id: I20eb76aad6ecdcdf4cc47289735d72d5c1e2da1f
-
Kyunglyul Hyun authored
When two apps try to create bond to the same remote device, the second call would return false, even when it didn't fail. This is not consistent with the Javadoc, which states that the method should return true if bonding is began. This change makes the method return true when it's already bonding, which allows callers to expect a BOND_STATE_CHANGED intent to be broadcast when the bond is complete. Bug: 269056263 Test: atest BluetoothInstrumentationTests Change-Id: Ic30bb010c09738eecfc8a0285accb4db0ddeeefc
-
Hyundo Moon authored
Currently the BT icon is a private resource in frameworks/base, and it is being used from BT module via private access (@*android). As a result, the icon is not properly shown if the resource ID becomes different between when mainline module is built and when it is run. This CL copies BT icon into BT module and uses it. As the tint color in bt_share.xml is also private, this CL uses a blue color from official Bluetooth website. Bug: 279384742 Test: Sharing via bluetooth shows the correct icon Change-Id: I9d2ac626f294dea17eecebfd70cd1e7a2ae01cd0
-
Duo Ho authored
Test: avatar run --mobly-std-log --include-filter 'ASHATest' Bug: 254077091 Change-Id: Ibda0dbff53344ffb7e2c8158fb4ebc78193482ef
-
Stephanie Bak authored
Bug: 280675681 Test: manual Change-Id: I4b2ec50d79667e9c1c921edd0adb7118725498b1
-
Jack He authored
Bug: 281686068 Test: atest CtsRootBluetoothTestCases:android.bluetooth.cts_root.BluetoothCddRootTest Change-Id: Ifaae28f27c602f5ba44871e2b2107e461934ba15
-