summaryrefslogtreecommitdiff
path: root/core/java/android/bluetooth
Commit message (Collapse)AuthorAgeFilesLines
* Migrating frameworks/base BT filesRoopa Sattiraju2022-01-17102-43062/+0
| | | | | | Bug: 206121418 Test: Compile Change-Id: Idb55371e9d678296fe46e5f4231ec2d12ec8b978
* Merge "Add OWNERS block to manage slippage during migration." am: d2a5e78d7c ↵Baligh Uddin2022-01-141-3/+1
|\ | | | | | | | | | | | | | | am: 36d9a8ca34 am: 23bc103152 am: e41bc47450 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1950196 Change-Id: Ied25a5fd6b8976cb00b7da4b88d15dcf8de5dc36
| * Merge "Add OWNERS block to manage slippage during migration." am: d2a5e78d7c ↵Baligh Uddin2022-01-141-3/+1
| |\ | | | | | | | | | | | | | | | | | | | | | am: 36d9a8ca34 am: 23bc103152 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1950196 Change-Id: I9a2de5b8edc28e49429e89c96e861d8ba910d312
| | * Add OWNERS block to manage slippage during migration.Baligh Uddin2022-01-141-3/+1
| | | | | | | | | | | | | | | | | | BUG: 196026708 Test: TH Change-Id: Ib9d939f11240857affcf34cbb5b6265640c7ba82
* | | Merge "Temporarily comment out usages of PropertyInvalidatedCache in ↵Rahul Sabnis2022-01-142-36/+75
|\| | | | | | | | | | | | | | | | | | | | | | | Bluetooth code while it is pending migration to module-utils" am: 325365b74d am: 17d16a9f73 am: 280c0e9cfb am: 1f48a76478 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1947703 Change-Id: I4c23485a14736907a9157cf4b25943602763b7a3
| * | Merge "Temporarily comment out usages of PropertyInvalidatedCache in ↵Rahul Sabnis2022-01-142-36/+75
| |\| | | | | | | | | | | | | | | | | | | | | | Bluetooth code while it is pending migration to module-utils" am: 325365b74d am: 17d16a9f73 am: 280c0e9cfb Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1947703 Change-Id: I0baca5b82b90633a4932aece978b1b0616cf331c
| | * Temporarily comment out usages of PropertyInvalidatedCache in Bluetooth codeRahul Sabnis2022-01-122-36/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | while it is pending migration to module-utils Tag: #feature Bug: 210468958 Test: Manual Change-Id: Iab59d235ca59fe2b5863fb4714eaccbc64fa915c
* | | Merge "Revert "Migrate unsafe parcel APIs in framework-minus-apex""Ashwini Oruganti2022-01-127-11/+11
|\ \ \
| * | | Revert "Migrate unsafe parcel APIs in framework-minus-apex"Bernardo Rufino2022-01-127-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 90bb3709dc75f7e44914222114752de5bce133d4. Reason for revert: b/214053959 Change-Id: Ic271bab1d3eaf677a5989dda9deb944ee2ad6850
* | | | Merge "Make BluetoothHeadset APIs used by Telecom into System APIs"Rahul Sabnis2022-01-123-89/+197
|\ \ \ \
| * | | | Make BluetoothHeadset APIs used by Telecom into System APIsRahul Sabnis2022-01-123-89/+197
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tag: #feature Bug: 195156304 Test: Manual CTS-Coverage-Bug: 211914959 Change-Id: I13d6f553f5b9d6ca7c2ae9a42450875b16cd1490
* | | | | Merge "gtbs: Add Generic Telephone Bearer Service support" am: ddcee937c1 ↵Treehugger Robot2022-01-124-1/+1199
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 66a9d57579 am: 8ef0cb74f7 am: ab91a34e7c Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1942955 Change-Id: I5d7016014182677983832415bbdf603ddd98310f
| * | | | Merge "gtbs: Add Generic Telephone Bearer Service support" am: ddcee937c1 ↵Treehugger Robot2022-01-124-1/+1199
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | am: 66a9d57579 am: 8ef0cb74f7 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1942955 Change-Id: I42f0e6c218a33e642207b46bc58a1b53cb6eee2a
| | * | | Merge "gtbs: Add Generic Telephone Bearer Service support"Treehugger Robot2022-01-124-1/+1199
| | |\ \ \
| | | * | | gtbs: Add Generic Telephone Bearer Service supportMariusz Skamra2022-01-114-1/+1199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tag: #feature Bug: 159786353 Bug: 213412267 Sponsor: jpawlowski@ Test: build Change-Id: Iecd56b91ce59f6b014878691fe4c6fae826b73f9
* | | | | | Merge "le advertisement address type settings" am: f28ab362fc am: 77cc19d668 ↵Md Shahriar Hossain Sajib2022-01-123-6/+125
|\| | | | | | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 9770705ba0 am: a687f23cea Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1868844 Change-Id: I38abedb11bab4d7e496a8499c3d8018cf96214ae
| * | | | Merge "le advertisement address type settings" am: f28ab362fc am: 77cc19d668 ↵Md Shahriar Hossain Sajib2022-01-123-6/+125
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 9770705ba0 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1868844 Change-Id: Idbd1d85af8b7b6e8ba30678fbd067b56ed218214
| | * | | Merge "le advertisement address type settings"Md Shahriar Hossain Sajib2022-01-123-6/+125
| | |\ \ \ | | | |/ / | | |/| |
| | | * | le advertisement address type settingsAndriy Naborskyy2022-01-063-6/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add api to request public or random address type for advertisements. bug: 155993389 Bug: 199827901 Tag: #feature Test: atest BluetoothInstrumentationTests Test: ACTS, SL4A, IOP and BCST, CTS, GTS Change-Id: I4a2b9918e0f0cc31649e3c1952d9ba34f78d337f
* | | | | Merge "Revert "gtbs: Add Generic Telephone Bearer Service support"" am: ↵chapin2022-01-074-1211/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 279b828fd8 am: 84913280a8 am: 35117a7596 am: 815d4cedea Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1940083 Change-Id: I49a731122e7bdf8498ed00a30568a71cf66cad47
| * | | | Merge "Revert "gtbs: Add Generic Telephone Bearer Service support"" am: ↵chapin2022-01-074-1211/+1
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 279b828fd8 am: 84913280a8 am: 35117a7596 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1940083 Change-Id: I16e62355558973caf77b9a0ab7c00a273af756b2
| | * | | Merge "Revert "gtbs: Add Generic Telephone Bearer Service support""chapin2022-01-074-1211/+1
| | |\ \ \
| | | * | | Revert "gtbs: Add Generic Telephone Bearer Service support"Jack He2022-01-074-1211/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert "gtbs: Add Generic Telephone Bearer Service implementation" Revert submission 1873900-gtbs Reason for revert: broke cellular call over BT, see b/213412267 Reverted Changes: I284ddacfc:gtbs: Add Generic Telephone Bearer Service impleme... I8264ade4b:gtbs: Add Generic Telephone Bearer Service support... I996cd5ff9:Add support for Generic Telephone Bearer service (... Bug: 213412267 Tag: #feature Test: answer cellular call by pressing button on HFP headset Change-Id: I9c6b12b794b7378fd852238ad06890f46922c095
* | | | | | Merge "Bluetooth: add LE Audio COD constant definition" am: d35cd459d6 am: ↵Treehugger Robot2022-01-071-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c252a62ded am: 94a531c7fa am: a2abf5025b Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1937497 Change-Id: Ie6f8ff44d60719865b5ba8ce84919b4bffd003f4
| * | | | | Merge "Bluetooth: add LE Audio COD constant definition" am: d35cd459d6 am: ↵Treehugger Robot2022-01-071-0/+1
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c252a62ded am: 94a531c7fa Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1937497 Change-Id: I4d4060067286d9e2c5c422c7bbe12cfabd5f720c
| | * | | | Merge "Bluetooth: add LE Audio COD constant definition"Treehugger Robot2022-01-061-0/+1
| | |\ \ \ \
| | | * | | | Bluetooth: add LE Audio COD constant definitionJakub Pawlowski2022-01-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tag: #feature Test: compilation Bug: 150670922 Change-Id: Ic68cd1e9ce4f10d7c2388eeeabe67acad5e555ea
* | | | | | | Merge "Add BluetoothLeBroadcastAssistantCallback." am: bfad455280 am: ↵Qasim Javed2022-01-071-0/+140
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d89e584952 am: 6b795762eb am: c93e7bf82a Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1921059 Change-Id: Id0c9b2c1cf6ebde10e75bc8830e92b1c2380bfa1
| * | | | | | Merge "Add BluetoothLeBroadcastAssistantCallback." am: bfad455280 am: ↵Qasim Javed2022-01-061-0/+140
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d89e584952 am: 6b795762eb Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1921059 Change-Id: I44ec395413eeb865a9a5a12a7574fdcff56653ed
| | * | | | | Add BluetoothLeBroadcastAssistantCallback.Qasim Javed2022-01-061-0/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 205174140 Bug: 208222452 Tag: #feature Test: gd/cert/run Change-Id: I302f2d22e6f295db27c4309b7a30dd867a264439
* | | | | | | Merge "Prepare PropertyInvalidatedCache for SystemApi"Lee Shombert2022-01-062-5/+5
|\ \ \ \ \ \ \
| * | | | | | | Prepare PropertyInvalidatedCache for SystemApiLee Shombert2022-01-042-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 152453213 Tag: #refactor This commit prepares PropertyInvalidatedCache to function as a system api. Specifically, the methods recompute() and bypass() which may be overridden by clients are now public (instead of protected). This forces an update to all existing clients, to accommodate the change in method visibility. Two small changes have been made as cleanup: 1. The awkwardly named debugCompareQueryResults() is now resultEquals(), which is more or less consistent with how other equality tests are named in Android. This name change affects two clients. 2. PackageManager has changed to use resultEquals() instead of maybeCheckConsistency(). This provides a simpler and more consistent use of the APIs. maybeCheckConsistency() has been made private. Test: atest PropertyInvalidatedCacheTests Change-Id: I4110f8e887a4fd8c784141e8892557a9d1b80a94
* | | | | | | | Merge "Add BluetoothLeBroadcastSourceInfo." am: e5fb36cbf2 am: 7d24df44bc ↵Treehugger Robot2022-01-061-0/+788
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: a16f4ac7c3 am: dcd76d8e99 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1915000 Change-Id: I3d5508462b3e3ec7cf76563175250039d01a79ef
| * | | | | | | Merge "Add BluetoothLeBroadcastSourceInfo." am: e5fb36cbf2 am: 7d24df44bc ↵Treehugger Robot2022-01-061-0/+788
| |\ \ \ \ \ \ \ | | | |/ / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: a16f4ac7c3 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1915000 Change-Id: Id6b02f631d7ca15b6ef56ac7fe53a534bb6f5943
| | * | | | | | Merge "Add BluetoothLeBroadcastSourceInfo."Treehugger Robot2022-01-061-0/+788
| | |\ \ \ \ \ \
| | | * | | | | | Add BluetoothLeBroadcastSourceInfo.Qasim Javed2022-01-051-0/+788
| | | | |/ / / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 205174140 Bug: 208222452 Tag: #feature Test: gd/cert/run Change-Id: I5d129d8b230ab564387212ebe83eb3c4398c7b21
* | | | | | | | Merge "Reduce blocking time when waiting for CharacteristicWrite queue to ↵Treehugger Robot2022-01-051-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clear up." am: d5bd847275 am: c460086312 am: 33d0f3b417 am: c29dcc4d34 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1932845 Change-Id: I6c94fef43f1b7e6ed8451b556432ad4c0771232f
| * | | | | | | Merge "Reduce blocking time when waiting for CharacteristicWrite queue to ↵Treehugger Robot2022-01-051-1/+1
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clear up." am: d5bd847275 am: c460086312 am: 33d0f3b417 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1932845 Change-Id: I0503489731fdf2cb4675e553eaaa62d58c2cf2a2
| | * | | | | | Merge "Reduce blocking time when waiting for CharacteristicWrite queue to ↵Treehugger Robot2022-01-051-1/+1
| | |\ \ \ \ \ \ | | | |/ / / / / | | |/| | | | | | | | | | | | | clear up."
| | | * | | | | Reduce blocking time when waiting for CharacteristicWrite queue to clearJohanna Ye2021-12-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | up. Bug: 200073240 Test: manual build Change-Id: I62070a5789809c363dba3cb4f0d007d17e3a9ef8
* | | | | | | | Merge "gtbs: Add Generic Telephone Bearer Service support" am: cb64b957f7 ↵Treehugger Robot2022-01-054-1/+1211
|\| | | | | | | | |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: c245603eab am: 3bcdbfb925 am: 3e1a493f6e Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1873900 Change-Id: I719487c08ddb419f1a9eb3d02771a082a2a59902
| * | | | | | Merge "gtbs: Add Generic Telephone Bearer Service support" am: cb64b957f7 ↵Treehugger Robot2022-01-054-1/+1211
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: c245603eab am: 3bcdbfb925 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1873900 Change-Id: I2ad007b8a4e6920fb69fc7af16b9e67ec5b2f476
| | * | | | | Merge "gtbs: Add Generic Telephone Bearer Service support"Treehugger Robot2022-01-054-1/+1211
| | |\ \ \ \ \ | | | | |/ / / | | | |/| / / | | | |_|/ / | | |/| | |
| | | * | | gtbs: Add Generic Telephone Bearer Service supportMariusz Skamra2021-12-174-1/+1211
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tag: #feature Bug: 159786353 Sponsor: jpawlowski@ Test: build Change-Id: I8264ade4b07df17fc0207437dfdcae7028cc20ff
| * | | | | Merge "Use Common Audio Service UUID from latest assigned numbers" am: ↵Treehugger Robot2021-12-301-1/+1
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ccb536b8e2 am: cc65d33474 am: 65bed708fc Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1933139 Change-Id: I3a28152420ae7c180cc9e42f03cab1595167db3b
| | * | | | Merge "Use Common Audio Service UUID from latest assigned numbers"Treehugger Robot2021-12-301-1/+1
| | |\ \ \ \
| | | * | | | Use Common Audio Service UUID from latest assigned numbersJakub Pawlowski2021-12-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 150670922 Test: compilation Merged-In: I35684ecec50c3db757331b6384c2579f5a28a70a Change-Id: I35684ecec50c3db757331b6384c2579f5a28a70a
| * | | | | | Merge "Pbap use profileConnector, resolveSystemService api fix" am: ↵Treehugger Robot2021-12-212-117/+50
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4548fa7275 am: fff729397a am: 4296ee7d71 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1916517 Change-Id: Iee2f42ccdf2e69baf7f02ec453875477df9aca20
| | * | | | | Merge "Pbap use profileConnector, resolveSystemService api fix"Treehugger Robot2021-12-212-117/+50
| | |\ \ \ \ \ | | | |_|_|/ / | | |/| | | |
| | | * | | | Pbap use profileConnector, resolveSystemService api fixWilliam Escande2021-12-142-117/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * All profiles use the BluetoothProfileConnector but not Pbap. I reproduced the changes that were made in aosp/932813 for all other profiles. This allow pbap to no longer call resolveSystemService. * `Intent.resolveSystemService` is an hidden API and can no longer be called from Bluetooth as we aim to become mainline. It's code is simple enough to be copied. Tag: #refactor Bug: 200200870 Test: atest BluetoothInstrumentationTests Merged-In: I838b910c633b3ca943fec01f3ccca466ff65f892 Change-Id: I838b910c633b3ca943fec01f3ccca466ff65f892