summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-09-02Bluetooth: Fix build with Clang 14HEADtachibanaalk3pInjection
Output: In file included from vendor/qcom/opensource/commonsys/packages/apps/Bluetooth/jni/com_android_bluetooth_a2dp_sink.cpp:22: packages/modules/Bluetooth/system/include/hardware/bt_av.h:132:15: error: anonymous non-C-compatible type given name for linkage purposes by typedef declaration after its linkage was computed; add a tag name here to establish linkage prior to definition typedef struct { ^ btav_a2dp_codec_config_t packages/modules/Bluetooth/system/include/hardware/bt_av.h:147:3: note: type is not C-compatible due to this member declaration std::string ToString() const { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ packages/modules/Bluetooth/system/include/hardware/bt_av.h:261:3: note: type is given name 'btav_a2dp_codec_config_t' for linkage purposes by this typedef declaration } btav_a2dp_codec_config_t; ^ 1 error generated. Change-Id: I6a1ae5cbcaea50312091f3f42bc9d8184206fab4
2022-08-10Merge 7c361396d2c2fbf58423d45d5c54792a69bade75 on remote branchLinux Build Service Account
Change-Id: Ib46c197d57679181b505738ad576adf0779e68a0
2022-07-29Snap for 8885082 from beb5c0c39bee14296b8a45df74e8ad75d5fcab5f to ↵Android Build Coastguard Worker
t-keystone-qcom-release Change-Id: I543c2bacba5194639a5a45c5c60d12798f714e67
2022-07-29Merge "Broadcast: fix typo issue for BluetoothBroadcast class name" into ↵Treehugger Robot
t-keystone-qcom-dev
2022-07-28Snap for 8881298 from 60b9334f11e8692c826ee77aeba457bb8b331f72 to ↵Android Build Coastguard Worker
t-keystone-qcom-release Change-Id: I7be128124191aa71047dea3d74e837cb26051b96
2022-07-27Broadcast: fix typo issue for BluetoothBroadcast class namezhenchao
One typo issue for BluetoothBroadcast class name in BluetoothAdapter closeBroadcastProfile(). So that BroadcastProfile proxy is unable to close by other apps. CRs-Fixed: 3239107 Change-Id: I8f47a1e58892774c3137ef424784f1e5a2ac8cc1
2022-07-26Merge TP1A.220624.020Deyao Ren
Change-Id: I357db3da652d8ce93bb26a00d0f123fae1b7c64c
2022-07-24Merge fab692ad508b56244564594c3490ffe452187990 on remote branchLinux Build Service Account
Change-Id: I0f83001d478642410eca054d50ad7c26869a6dce
2022-07-19Snap for 8847256 from fbedd08a28c88ec7fef233c5ed32c1f4ec5a75c8 to ↵Android Build Coastguard Worker
t-keystone-qcom-release Change-Id: I58b23cf7ac1ce0573a403d410446c6fde5eecd3f
2022-07-19Bluetooth: Added New Profile IdPhaneendra Reddy
Coordinated audio unicast profile is added in the bluetooth profile. CRs-Fixed: 3234293 Change-Id: I7cf17c3a1b50480ca0f55684b33bc8477eb16aea
2022-07-14Merge cherrypicks of [19281218] into tm-release.Android Build Coastguard Worker
Change-Id: Ib5a91249d5ee76592687f7a755148602ed3ff869
2022-07-14Revert "Fixes a bug in the BluetoothDevice#getIdentityAddress API where it"Bart Sears
This reverts commit 448c2830336794d350b1c7c4f62c3e406b172e32. Reason for revert: b/238847789 Test: Clean revert of CL Change-Id: I30941e8b9344e9dbaacaec5ca2c2046d149ed839 (cherry picked from commit bf9246b080ee80380d3fc5f20258294a69f81391) Merged-In: I30941e8b9344e9dbaacaec5ca2c2046d149ed839
2022-07-13Merge cherrypicks of [19221934] into tm-release.Android Build Coastguard Worker
Change-Id: Ifac34242b9765a5de9a6f3bc3665cf3d631a7bb0
2022-07-13Fixes a bug in the BluetoothDevice#getIdentityAddress API where itRahul Sabnis
returns the mAddress field of the device instead of null when the identity address is not known. Tag: #feature Bug: 238353063 Test: atest AdapterServiceTest#testAddressConsolidate Ignore-AOSP-First: Change needs to land in TM release Change-Id: I577843c9e2cc279915d0632ff25bde66aa949e94 (cherry picked from commit 448c2830336794d350b1c7c4f62c3e406b172e32) Merged-In: I577843c9e2cc279915d0632ff25bde66aa949e94
2022-07-11Bluetooth: Added New Profile IdPhaneendra Reddy
Coordinated audio unicast profile is added in the bluetooth profile. CRs-Fixed: 3234293 Change-Id: I7cf17c3a1b50480ca0f55684b33bc8477eb16aea
2022-07-08Merge cherrypicks of [19203172] into tm-release.Android Build Coastguard Worker
Change-Id: Iff4b0f9ffa58788f16fd1689ac68d25affa16b20
2022-07-08Added platform_compat_config to enable target sdk checkEtienne Ruffieux
Bug: 232351962 Tag: #feature Test: atest CtsBluetoothTests Ignore-AOSP-First: change only in internal Change-Id: I66c0a83554d81f8a6a6956ec0a8a324be6b11033 (cherry picked from commit a82b0872e85476c9a96ef91b0556ac241352bac2) Merged-In: I66c0a83554d81f8a6a6956ec0a8a324be6b11033
2022-07-07Merge c8523f5c9dfc0d3cf2f3ecc3c7f89326733fb276 on remote branchLinux Build Service Account
Change-Id: Ibd4beb7c71dd436610071aff26ccde92e237dfbd
2022-07-07Merge cherrypicks of [19132091] into tm-release.Android Build Coastguard Worker
Change-Id: I83e1dd57f9d93178bd7b07f51fe9ed914149fd28
2022-07-07Do resolving list operations via handlerChienyuan
Bug: 226711441 Test: gd/cert/run Tag: #refactor Change-Id: I74a97424e93461372762cdf4a4b2bc8b9f83684e Merged-In: I74a97424e93461372762cdf4a4b2bc8b9f83684e (cherry picked from commit 7332df884aff7b20d36892db5f0bd3438436b6f8) (cherry picked from commit 1642ede3e6df42ff8e1322e98145bfbeb76912ed) Merged-In: I74a97424e93461372762cdf4a4b2bc8b9f83684e
2022-07-02Revert "Change Bluetooth matching package name"Sravan Voleti
This reverts commit 6b1513a43145aa63f9775fb79aa64e2e645d4339. Reason for revert: Rename Bluetooth APK CRs-Fixed: 3233822 Change-Id: I04f5faf86a85f1a80d26e99cb0547609be696a66
2022-07-01Merge cherrypicks of [19129326, 19129327] into tm-release.Android Build Coastguard Worker
Change-Id: Iaa37e03cf8073dbb17475c7003491386d580eefc
2022-07-01BassClient: Force PA sync reset before removing sourcexiaowang
Test: presubmit Bug: 229965085 Merged-In: I509651c0f5b6682eaac2a25edaff61cc02539e30 Change-Id: I509651c0f5b6682eaac2a25edaff61cc02539e30 (cherry picked from commit c870cb4b7ed5ff3d47b42be33027cabe00725ce4) (cherry picked from commit 2df8a0d6ee3f3db9755790c0fc8c15a0ced685f1) Merged-In: I509651c0f5b6682eaac2a25edaff61cc02539e30
2022-07-01BassClient: Fix issue that source could not be foundxiaowang
Test: presubmit Bug: 229965085 Merged-In: Id23db8e7bd9b2bdc42c688ffc0ae19551385c40b Change-Id: Id23db8e7bd9b2bdc42c688ffc0ae19551385c40b (cherry picked from commit 21eec51007b6265cffef83c6a86f6a9038cf653b) (cherry picked from commit 5d10a01a625ec8de67245c97cd71563fe4d9aaf5) Merged-In: Id23db8e7bd9b2bdc42c688ffc0ae19551385c40b
2022-07-01Snap for 8791422 from 5b3a4230ff2e68066a577b30d426a78c9af1d901 to ↵Android Build Coastguard Worker
t-keystone-qcom-release Change-Id: Ice04ae28284ed85812dfe5005bb543c3242098a4
2022-07-01Merge "Revert "Change Bluetooth matching package name"" into t-keystone-qcom-devTreehugger Robot
2022-07-01Revert "Change Bluetooth matching package name"Sravan Voleti
This reverts commit 6b1513a43145aa63f9775fb79aa64e2e645d4339. Reason for revert: Rename Bluetooth APK CRs-Fixed: 3233822 Change-Id: I04f5faf86a85f1a80d26e99cb0547609be696a66
2022-07-01Merge cherrypicks of [19120567, 19120540, 19120541, 19120542, 19129144, ↵Android Build Coastguard Worker
19129145] into tm-release. Change-Id: Ia63a5c0e3af5e8d5f01304acb89a133eb646858c
2022-07-01Revert "BassClient: Fix issue that source could not be found"xiaowang
This reverts commit d94ee6a67a745b81691017e5d776d2aaa7487d89. Reason for revert: incorrect email id Test: compile Bug: 236995005 Merged-In: I74b91daf8944da1547049817ae2e9c353bbcc3f2 Change-Id: I74b91daf8944da1547049817ae2e9c353bbcc3f2 (cherry picked from commit f122d1a0a340fb5fd1cc75e2d48a5b87192bbd50) (cherry picked from commit e01b1177d30d8db7470d261c6979886f237493a3) Merged-In: I74b91daf8944da1547049817ae2e9c353bbcc3f2
2022-07-01Revert "BassClient: Force PA sync reset before removing source"xiaowang
This reverts commit b03e1033d78043b5ce8106862cb5b9ad03fdfd75. Reason for revert: incorrect email id Test: compile Bug: 236995005 Merged-In: I6a1e38df8f904d98d26654489fa765228882f9da Change-Id: I6a1e38df8f904d98d26654489fa765228882f9da (cherry picked from commit a5ff7ee2b3ea6acbb2ff9df0afe3b63884eb57ef) (cherry picked from commit b256fc5c7a5db21c4529e106ca6e3c7e59d3a4c3) Merged-In: I6a1e38df8f904d98d26654489fa765228882f9da
2022-07-01Revert "Revert "Immediately execute instead of queueing request ..."Rahul Sabnis
Revert submission 19019716 Reason for revert: b/237352700 Reverted Changes: I8e37ac142:Revert "Queue discovery and device inquiry while b... Ic8642a39f:Revert "Make SDP and inquiry request dequeue and e... I06eb6d806:Revert "Immediately execute instead of queueing re... Bug: 237352700 Test: Manual Change-Id: I56db49540b139ae0d8d1e5819d348d28e432a5e3 (cherry picked from commit bba6b41fc00f99fa4e548aa7d32bce30e3ebddce) Merged-In: I56db49540b139ae0d8d1e5819d348d28e432a5e3
2022-07-01Revert "Revert "Make SDP and inquiry request dequeue and execute..."Rahul Sabnis
Revert submission 19019716 Reason for revert: b/237352700 Reverted Changes: I8e37ac142:Revert "Queue discovery and device inquiry while b... Ic8642a39f:Revert "Make SDP and inquiry request dequeue and e... I06eb6d806:Revert "Immediately execute instead of queueing re... Bug: 237352700 Test: Manual Change-Id: I52e9d3828cbd785dfb816541cf19e7b7a8f2bff8 (cherry picked from commit 21e82985253f1a12a3b62d793990df7a3b0e3df1) Merged-In: I52e9d3828cbd785dfb816541cf19e7b7a8f2bff8
2022-07-01Revert^2 "Queue discovery and device inquiry while bonding"Rahul Sabnis
3da8e931820f59d34e2f8b81e87d002cec809eda Bug: 237352700 Test: Manual Change-Id: I4699b7d73383b8b09ad1e3292d9dc2673f145736 (cherry picked from commit dc8078abe546202e9ad91e3c7af5baca4b42861c) Merged-In: I4699b7d73383b8b09ad1e3292d9dc2673f145736
2022-07-01Catch IAE in BluetoothManagerServiceSungsoo Lim
Bug: 237175319 Tag: #refactor Test: build Change-Id: I7d7ef16387756a53115701c461fa735f214c3f25 (cherry picked from commit aed442ee917a0e050744ea7008a65d8043604e83) (cherry picked from commit b94bfd919269f879f181726309891992f6b2f475) Merged-In: I7d7ef16387756a53115701c461fa735f214c3f25
2022-06-30Snap for 8785518 from 32c5a1508c27611fd4bb2b0dc958c32cc4a35e2e to ↵Android Build Coastguard Worker
t-keystone-qcom-release Change-Id: I66cad14ca661210d10ceca5f4e700894b6b87213
2022-06-30Merge cherrypicks of [19093297, 19123578] into tm-release.Android Build Coastguard Worker
Change-Id: I649056e59cadef49a3509ec045a302c7bc363a85
2022-06-30Revert "Revert "Reuse SynchronousResultReceivers instead of creating new.""Neha Jain
This reverts commit dd85e91cea26c7f706af36c852e79d5b4ca1f173. Bug: 217366135 Reason for revert: Need this to fix a crash bug in tm-dev Change-Id: I2a94c278edc0681c5b8af6ea0a0171b71d72c650 (cherry picked from commit dbaf406ccb0ed887d4e93057c9ec0d3457f14457) Merged-In: I2a94c278edc0681c5b8af6ea0a0171b71d72c650
2022-06-30Revert "leaudio: Make LE Connection Interval a multiple of SDU_Interval"Jack He
This reverts commit fa97f8d060ca426be09f679f0a62b1d2f86152db. Reason for revert: 60ms is above the maximum recommended initial connection interval, slow down the encryption procedure Test: testplans/1161726 Bug: 233417283 Merged-In: I0c117718f391b9ecf53fb263253eff4b7b59e8f1 Change-Id: I0c117718f391b9ecf53fb263253eff4b7b59e8f1 (cherry picked from commit cbf9350401bccf86b9a640176b683808eed0192c) (cherry picked from commit a312a8157bd48cd27945a226fd3dac7c3a55089e) Merged-In: I0c117718f391b9ecf53fb263253eff4b7b59e8f1
2022-06-29Merge TP1A.220624.003Deyao Ren
Change-Id: I64d825a1bb7108a126ae036a1018bf740d724750
2022-06-29Merge cherrypicks of [19114242] into tm-release.Android Build Coastguard Worker
Change-Id: I67377ee00eae39bd4676731556b42f1c4ffecf20
2022-06-29Revert "Reuse SynchronousResultReceivers instead of creating new."Neha Jain
This reverts commit 02dcbe72b3564559eaa9c2e2714824e4aac6f18c. Reason for revert: Causing builds to fail b/237471430 Change-Id: I6165d838abf312085050359377f67a68a5f8b51a (cherry picked from commit f5dd42bbd05e68f7763ccaa9fae5642acc4ceba1) Merged-In: I6165d838abf312085050359377f67a68a5f8b51a
2022-06-29Merge cherrypicks of [19039092, 19068701, 19032880] into tm-release.Android Build Coastguard Worker
Change-Id: I1b0f0ec8220609517837acf8a68de53aabcfd226
2022-06-29GATT: Disable notifications when disconnectingJakub Pawlowski
Currently, if we receive notification after disconnection, but before closing the client, stack would notify upper layers that connection is avaliable, and sned notifications to Java. This can be troublesome i.e. for Heart Rate Monitors, that send notifications very often, and can prevent apps from closing properly. Bug: 231818024 Test: connect to HRM with more than one application, close/disconnect multiple times Merged-In: I1e9ca7ba6379322f7321b77a2ea92c96c799a452 Change-Id: I1e9ca7ba6379322f7321b77a2ea92c96c799a452 (cherry picked from commit 666f247f1dbe53a55caf3a8b979c859fe47b32aa) (cherry picked from commit f65b7a508a264aa1a6383d1d70fcfba44b624919) Merged-In: I1e9ca7ba6379322f7321b77a2ea92c96c799a452
2022-06-29gatt: Fix incorrect write to the descriptor.Łukasz Rymanowski
This patch fixes regression after https://android-review.googlesource.com/q/topic:gatt-racecondition-fix In case of GATT Write error to descriptor or characteristic, the value which was tried to be written is zeroed in the onWriteDescriptor/Characteristic callback. This cause an issue in following use case: 1) Application writes descriptor on unencrypted link to characteristic which requires authentication 2) Remote device response with an error insufficient authenthication 3) Android repeats write descriptor with new authenthication requrements with the descriptor value taken from the onWriteDescriptor callbac - the one which was zeroed. This result in try to write invalid value to the descriptor This patch make sure that value in the callback is always the one which was tried to write, no matter of status. Bug: 235756799 Test: atest BluetoothInstrumentationTests Tag: #stability Merged-In: Icd18b95a3c44c082117d035cdf25961938de829d Change-Id: Icd18b95a3c44c082117d035cdf25961938de829d (cherry picked from commit 24f45364768c19bdb0222ce836fce7531d5182de) (cherry picked from commit b64432cfb2505f57337061c2047a485a34f9622f) Merged-In: Icd18b95a3c44c082117d035cdf25961938de829d
2022-06-29Reuse SynchronousResultReceivers instead of creating new.Etienne Ruffieux
Bug: 217366135 Tag: #feature Test: manual Ignore-AOSP-First: to be chery-picked Change-Id: If8ae530a284151888a3f89a51d2c58f2a5cd3644 (cherry picked from commit 02dcbe72b3564559eaa9c2e2714824e4aac6f18c) Merged-In: If8ae530a284151888a3f89a51d2c58f2a5cd3644
2022-06-27Snap for 8771835 from dcd126edbeab57e1fd9a82f08cbb155f6cb5cd21 to ↵Android Build Coastguard Worker
t-keystone-qcom-release Change-Id: I7b6ca4540381024009487310c7b20e4308e323f8
2022-06-24Merge cherrypicks of [19038673] into tm-release.Android Build Coastguard Worker
Change-Id: Ia9561e0e450adb66962274a0de889b3e0db4677e
2022-06-24Move user file along to the new package nameWilliam Escande
Repro step: * Flash old build * Pair device * Change it's metadata: * Change connection_policy * Change Volume * Change phone_access * build and flash without wipe * observe device metadata Test: Repro step above Bug: 234063703 Ignore-AOSP-First: will be picked later Change-Id: I51f54f2fe8a91ee4ee28e1e58494e596510ebb55 (cherry picked from commit b94e4d791f474ec464ebd09f47468e9f89b645e9) Merged-In: I51f54f2fe8a91ee4ee28e1e58494e596510ebb55
2022-06-23Snap for 8762204 from e880d2196e06e8d2704c596c375d0938190aa437 to tm-releaseAndroid Build Coastguard Worker
Change-Id: I6b5f8a4a5c123fff20b980bf6a3a8b80f5fd337c
2022-06-23Merge "HAL: Avoid FATAL log on expected transaction status" into tm-devZach Johnson