aboutsummaryrefslogtreecommitdiff
path: root/framework/java/android
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Merge "Revert "gtbs: Add Generic Telephone Bearer Service support"" am: ↵chapin2022-01-074-1211/+1
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2e710d4981 am: 906dfb91f2 am: 9cb63c54af 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: bd1d6ac73b am: ↵Treehugger Robot2022-01-071-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 63616465b6 am: d6489030fb am: e4207c17c8 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1937497 Change-Id: Ie6f8ff44d60719865b5ba8ce84919b4bffd003f4
| * | | | | Merge "Bluetooth: add LE Audio COD constant definition" am: bd1d6ac73b am: ↵Treehugger Robot2022-01-071-0/+1
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 63616465b6 am: d6489030fb 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
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0f6a8fec5b am: ba95f8ee52 am: 2f59d9e34c 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
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0f6a8fec5b am: ba95f8ee52 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: 4820ddadc1 am: 39efd4fcf5 ↵Treehugger Robot2022-01-061-0/+788
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 96eee96be6 am: 3d68b3d245 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1915000 Change-Id: I3d5508462b3e3ec7cf76563175250039d01a79ef
| * | | | | | | Merge "Add BluetoothLeBroadcastSourceInfo." am: 4820ddadc1 am: 39efd4fcf5 ↵Treehugger Robot2022-01-061-0/+788
| |\ \ \ \ \ \ \ | | | |/ / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 96eee96be6 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: fc54a43d0b am: 83bae54708 am: ba346ef14e am: 2c2042197a 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: fc54a43d0b am: 83bae54708 am: ba346ef14e 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: a3617fa067 ↵Treehugger Robot2022-01-054-1/+1211
|\| | | | | | | | |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: e88edb4937 am: b16fd6dc54 am: 2b11fe8d9b Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1873900 Change-Id: I719487c08ddb419f1a9eb3d02771a082a2a59902
| * | | | | | Merge "gtbs: Add Generic Telephone Bearer Service support" am: a3617fa067 ↵Treehugger Robot2022-01-054-1/+1211
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: e88edb4937 am: b16fd6dc54 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
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0268bbd384 am: f8ac88894c am: c98ecf5ded 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
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 28538a520d am: bb0bd84477 am: b32555ca00 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
| * | | | | | Merge "Remove allowBlocking from all BluetoothProfiles" am: aec9277e23 am: ↵Treehugger Robot2021-12-1717-1873/+2606
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9509f2de4c am: f0f4e1d01b Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1927380 Change-Id: I7b19fbb89c320fd3a14d57faa9aa10065b23d708
| | * | | | | Merge "Remove allowBlocking from all BluetoothProfiles"Treehugger Robot2021-12-1717-1873/+2606
| | |\ \ \ \ \
| | | * | | | | Remove allowBlocking from all BluetoothProfilesWilliam Escande2021-12-1617-1873/+2606
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since Bluetooth is becoming a mainline module, it can no longer call the allowBlocking hidden api. Instead, all interface are moved to be oneway and use a synchronous data to handle the return value. Bug: 200200870 Test: Build + start Bt and play something on speaker Tag: #refactor Merged-In: I776a6322faadca1504bce24f2b6b041e756b6448 Change-Id: I776a6322faadca1504bce24f2b6b041e756b6448
* | | | | | | | Use Common Audio Service UUID from latest assigned numbersJakub Pawlowski2021-12-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 150670922 Test: compilation Change-Id: I35684ecec50c3db757331b6384c2579f5a28a70a
* | | | | | | | Merge "Pbap use profileConnector, resolveSystemService api fix"TreeHugger Robot2021-12-202-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 Change-Id: I838b910c633b3ca943fec01f3ccca466ff65f892
* | | | | | | | | Merge "Remove allowBlocking from all BluetoothProfiles"William Escande2021-12-1717-1856/+2605
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Remove allowBlocking from all BluetoothProfilesWilliam Escande2021-12-1617-1856/+2605
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since Bluetooth is becoming a mainline module, it can no longer call the allowBlocking hidden api. Instead, all interface are moved to be oneway and use a synchronous data to handle the return value. Bug: 200200870 Test: Build + start Bt and play something on speaker Tag: #refactor Change-Id: I776a6322faadca1504bce24f2b6b041e756b6448
* | | | | | | | | | Merge "Moved AttributionSource related APIs in AttributionSource" am: ↵Etienne Ruffieux2021-12-163-34/+4
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | / / / / / / / | | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 062731bce5 am: a2fae36e21 am: e6179d6fc6 am: 46638c1b10 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1922817 Change-Id: I60fa5ecea7c9b1bffbd8bfaf0ed85cafb80fa5bc
| * | | | | | | | Merge "Moved AttributionSource related APIs in AttributionSource" am: ↵Etienne Ruffieux2021-12-163-34/+4
| |\ \ \ \ \ \ \ \ | | | |/ / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 062731bce5 am: a2fae36e21 am: e6179d6fc6 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1922817 Change-Id: Id6bcfb0cca120540dd251dda22c713539c5c2b8c
| | * | | | | | | Merge "Moved AttributionSource related APIs in AttributionSource"Etienne Ruffieux2021-12-163-34/+4
| | |\ \ \ \ \ \ \ | | | |_|/ / / / / | | |/| | | | | |
| | | * | | | | | Moved AttributionSource related APIs in AttributionSourceEtienne Ruffieux2021-12-153-34/+4
| | | | |_|/ / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modified myAttributionSource() to check for global AS for process in ActivityThread and fallback to building new AS with PackageManager#getPackageForUid(myUid()) if null. Tag: #feature Bug: 210467846 Bug: 210468546 Test: build Change-Id: I7aa75395469bf0bb806100420faaf98c52057355 CTS-Coverage-Bug: 210906055
* | | | | | | | Merge "Add scan result logs." am: dc3a5c4483 am: a46b830668 am: 57f166e83f ↵Treehugger Robot2021-12-161-1/+12
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 83b5bc3aa0 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1836926 Change-Id: I6e08007cbbe792f7a30ac9ed5aac8e3cc6758b51
| * | | | | | | Merge "Add scan result logs." am: dc3a5c4483 am: a46b830668 am: 57f166e83fTreehugger Robot2021-12-161-1/+12
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1836926 Change-Id: Iaeaff1e690f7a28ae984bba05159129c75aed26a
| | * | | | | | Merge "Add scan result logs."Treehugger Robot2021-12-161-1/+12
| | |\ \ \ \ \ \
| | | * | | | | | Add scan result logs.Mehmet Murat Sevim2021-10-151-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some GMSCore modules are missing some scan result despite the peer device is discovered by the Android BT stack. These logs will help debug such problems. Bug: 154942993 Bug: 199827901 Test: IOP and BCST Tag: #stability Change-Id: I6bd98df09ea2beb695aa9b4ac63bde307e77b182 (cherry picked from commit f204effb5cc6f1cc8e5e3f75ef343db3bd339b67)
* | | | | | | | | Merge "BluetoothGatt: Deprecate unsupported methods" am: d66cd673ea am: ↵Hyundo Moon2021-12-161-4/+6
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2984d48fd2 am: 9b0b7ff1a5 am: f5b1a6ca9a Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1899033 Change-Id: I3a5b621e533ff2443d7c7bc2016dcf0b2d4c8110
| * | | | | | | | Merge "BluetoothGatt: Deprecate unsupported methods" am: d66cd673ea am: ↵Hyundo Moon2021-12-161-4/+6
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2984d48fd2 am: 9b0b7ff1a5 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1899033 Change-Id: I171735ba4e583455c3070f30662bf505cd4facc3
| | * | | | | | | Merge "BluetoothGatt: Deprecate unsupported methods"Hyundo Moon2021-12-161-4/+6
| | |\ \ \ \ \ \ \
| | | * | | | | | | BluetoothGatt: Deprecate unsupported methodsHyundo Moon2021-12-011-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 207452114 Test: make update-api -j && make -j; Change-Id: Ic0534c1e25f9e35fae96886002e5ff1dd33f9fd4