Treehugger Robot
86e3d5a267
Merge "Reduce blocking time when waiting for CharacteristicWrite queue to 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
2022-01-05 22:24:47 +00:00
Treehugger Robot
c29dcc4d34
Merge "Reduce blocking time when waiting for CharacteristicWrite queue to clear up." am: d5bd847275 am: c460086312 am: 33d0f3b417
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1932845
Change-Id: I0503489731fdf2cb4675e553eaaa62d58c2cf2a2
2022-01-05 22:07:45 +00:00
Treehugger Robot
d5bd847275
Merge "Reduce blocking time when waiting for CharacteristicWrite queue to clear up."
2022-01-05 21:13:56 +00:00
Treehugger Robot
57af351290
Merge "gtbs: Add Generic Telephone Bearer Service support" am: cb64b957f7 am: c245603eab am: 3bcdbfb925 am: 3e1a493f6e
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1873900
Change-Id: I719487c08ddb419f1a9eb3d02771a082a2a59902
2022-01-05 19:44:48 +00:00
Treehugger Robot
3e1a493f6e
Merge "gtbs: Add Generic Telephone Bearer Service support" am: cb64b957f7 am: c245603eab am: 3bcdbfb925
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1873900
Change-Id: I2ad007b8a4e6920fb69fc7af16b9e67ec5b2f476
2022-01-05 19:12:01 +00:00
Treehugger Robot
cb64b957f7
Merge "gtbs: Add Generic Telephone Bearer Service support"
2022-01-05 09:58:55 +00:00
Treehugger Robot
d5b640e3b9
Merge "Use Common Audio Service UUID from latest assigned numbers" am: ccb536b8e2 am: cc65d33474 am: 65bed708fc
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1933139
Change-Id: I3a28152420ae7c180cc9e42f03cab1595167db3b
2021-12-30 00:50:13 +00:00
Treehugger Robot
ccb536b8e2
Merge "Use Common Audio Service UUID from latest assigned numbers"
2021-12-30 00:16:35 +00:00
Jakub Pawlowski
2b67e53442
Use Common Audio Service UUID from latest assigned numbers
...
Bug: 150670922
Test: compilation
Merged-In: I35684ecec50c3db757331b6384c2579f5a28a70a
Change-Id: I35684ecec50c3db757331b6384c2579f5a28a70a
2021-12-29 19:11:00 +00:00
Jakub Pawlowski
b5ff8bcd3e
Use Common Audio Service UUID from latest assigned numbers
...
Bug: 150670922
Test: compilation
Change-Id: I35684ecec50c3db757331b6384c2579f5a28a70a
2021-12-29 20:03:32 +01:00
Johanna Ye
ff0f688ca4
Reduce blocking time when waiting for CharacteristicWrite queue to clear
...
up.
Bug: 200073240
Test: manual build
Change-Id: I62070a5789809c363dba3cb4f0d007d17e3a9ef8
2021-12-23 11:47:10 -08:00
Treehugger Robot
cb5ddfda9a
Merge "Pbap use profileConnector, resolveSystemService api fix" am: 4548fa7275 am: fff729397a am: 4296ee7d71
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1916517
Change-Id: Iee2f42ccdf2e69baf7f02ec453875477df9aca20
2021-12-21 01:45:46 +00:00
Treehugger Robot
4548fa7275
Merge "Pbap use profileConnector, resolveSystemService api fix"
2021-12-21 00:58:16 +00:00
TreeHugger Robot
3fe4b24d46
Merge "Pbap use profileConnector, resolveSystemService api fix"
2021-12-20 22:53:32 +00:00
Mariusz Skamra
9537669523
gtbs: Add Generic Telephone Bearer Service support
...
Tag: #feature
Bug: 159786353
Sponsor: jpawlowski@
Test: build
Change-Id: I8264ade4b07df17fc0207437dfdcae7028cc20ff
2021-12-17 07:56:45 +00:00
Treehugger Robot
8f91c16c23
Merge "Remove allowBlocking from all BluetoothProfiles" am: a39eb360db am: df07c71769 am: 88beced30f
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1927380
Change-Id: I7b19fbb89c320fd3a14d57faa9aa10065b23d708
2021-12-17 03:15:57 +00:00
Treehugger Robot
a39eb360db
Merge "Remove allowBlocking from all BluetoothProfiles"
2021-12-17 02:01:13 +00:00
William Escande
a76f95887c
Merge "Remove allowBlocking from all BluetoothProfiles"
2021-12-17 00:15:40 +00:00
Etienne Ruffieux
5251dfbc2a
Merge "Moved AttributionSource related APIs in AttributionSource" am: 70d456d06c am: 52ddc063b0 am: e5d5eefb16 am: 52dfe57f07
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1922817
Change-Id: I60fa5ecea7c9b1bffbd8bfaf0ed85cafb80fa5bc
2021-12-16 22:52:35 +00:00
Etienne Ruffieux
52dfe57f07
Merge "Moved AttributionSource related APIs in AttributionSource" am: 70d456d06c am: 52ddc063b0 am: e5d5eefb16
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1922817
Change-Id: Id6bcfb0cca120540dd251dda22c713539c5c2b8c
2021-12-16 22:08:37 +00:00
Etienne Ruffieux
70d456d06c
Merge "Moved AttributionSource related APIs in AttributionSource"
2021-12-16 21:16:58 +00:00
William Escande
6b5464ca69
Remove allowBlocking from all BluetoothProfiles
...
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
2021-12-16 19:34:35 +01:00
William Escande
33a146346b
Remove allowBlocking from all BluetoothProfiles
...
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
2021-12-16 19:28:02 +01:00
Treehugger Robot
c15418977b
Merge "Add scan result logs." am: 00d8163936 am: eb9fe6b5ec am: ecd5de9078 am: 8150ee9d3f
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1836926
Change-Id: I6e08007cbbe792f7a30ac9ed5aac8e3cc6758b51
2021-12-16 05:28:51 +00:00
Treehugger Robot
8150ee9d3f
Merge "Add scan result logs." am: 00d8163936 am: eb9fe6b5ec am: ecd5de9078
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1836926
Change-Id: Iaeaff1e690f7a28ae984bba05159129c75aed26a
2021-12-16 05:09:46 +00:00
Treehugger Robot
00d8163936
Merge "Add scan result logs."
2021-12-16 04:29:41 +00:00
Hyundo Moon
68d5ff92c5
Merge "BluetoothGatt: Deprecate unsupported methods" am: e4a79de89e am: c57b083537 am: 1e4ab066fa am: d6c8043031
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1899033
Change-Id: I3a5b621e533ff2443d7c7bc2016dcf0b2d4c8110
2021-12-16 02:41:54 +00:00
Hyundo Moon
d6c8043031
Merge "BluetoothGatt: Deprecate unsupported methods" am: e4a79de89e am: c57b083537 am: 1e4ab066fa
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1899033
Change-Id: I171735ba4e583455c3070f30662bf505cd4facc3
2021-12-16 02:24:08 +00:00
Hyundo Moon
e4a79de89e
Merge "BluetoothGatt: Deprecate unsupported methods"
2021-12-16 01:35:46 +00:00
Etienne Ruffieux
770d50ed43
Moved AttributionSource related APIs in AttributionSource
...
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
2021-12-15 22:03:50 +00:00
Etienne Ruffieux
3fac6d3746
Merge "Replaced Bluetooth SystemProperties.set by sysprop" am: 4d612ad87b am: a9e669070b am: c748403369
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1914690
Change-Id: I6b6d7c76f16d392a18ab5aadf1d351a72a693e8c
2021-12-15 20:33:32 +00:00
Bernardo Rufino
3d10fb4b83
Merge "Migrate unsafe parcel APIs in framework-minus-apex"
2021-12-15 19:15:58 +00:00
Etienne Ruffieux
4d612ad87b
Merge "Replaced Bluetooth SystemProperties.set by sysprop"
2021-12-15 19:14:42 +00:00
Bernardo Rufino
90bb3709dc
Migrate unsafe parcel APIs in framework-minus-apex
...
Migrate the following unsafe parcel APIs in framework-minus-apex:
* Parcel.readSerializable()
* Parcel.readArrayList()
* Parcel.readList()
* Parcel.readParcelable()
* Parcel.readParcelableList()
* Parcel.readSparseArray()
This CL was generated by applying lint fixes that infer the expected
type from the caller code and provide that as the type parameter
(ag/16365240).
A few observations:
* In some classes we couldn't migrate because the class also belonged to
another build module whose min SDK wasn't current (as is the case for
framework-minus-apex), hence I suppressed the lint check
(since I'll eventually submit the lint check to the tree).
* In some cases, I needed to do the cast in
https://stackoverflow.com/a/1080525/5765705 to make the compiler happy
since there isn't another way of providing a class of type
Class<MyClassWithGenerics<T>>.
* In the readSerializable() case, the new API also requires the class
loader, that was inferred to by InferredClass.class.getClassLoader().
* Note that automatic formatting and import rely on running hooked up
to the IDE, which wasn't the case here.
Bug: 195622897
Test: TH passes
Change-Id: I11a27b9bdab7959ee86e90aa1e1cbebd7aaf883c
2021-12-15 18:21:38 +00:00
Etienne Ruffieux
807dc12c1a
Replaced Bluetooth SystemProperties.set by sysprop
...
Tag: #feature
Bug: 197210455
Test: set/get sysprop with SystemProperties
Merged-In: I613808dbc930c90e391df9857a173a86aedc4acf
Change-Id: I613808dbc930c90e391df9857a173a86aedc4acf
2021-12-15 13:06:17 +00:00
Rahul Sabnis
5965aa4b95
Merge "Remove unused references to android.app.ActivityThread in BluetoothAdapter" am: 202ab8ff95 am: e768d3d44a am: 5cf0381ccb am: 22e2d77b7a
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1920977
Change-Id: I6c30732ad6932b48bdde5be6f15f7f53c96924fa
2021-12-14 22:50:43 +00:00
Rahul Sabnis
22e2d77b7a
Merge "Remove unused references to android.app.ActivityThread in BluetoothAdapter" am: 202ab8ff95 am: e768d3d44a am: 5cf0381ccb
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1920977
Change-Id: I7a3d708119d2bf05cee4d9963559622171e1c3af
2021-12-14 22:32:46 +00:00
Etienne Ruffieux
b47f68cfcd
Merge "Replaced Bluetooth SystemProperties.set by sysprop"
2021-12-14 21:56:32 +00:00
Rahul Sabnis
202ab8ff95
Merge "Remove unused references to android.app.ActivityThread in BluetoothAdapter"
2021-12-14 21:41:26 +00:00
Treehugger Robot
96271aec8a
Merge "Copy attributable to Bluetooth" am: b4950bde08 am: a6d1bd6b57 am: 1cdca58b06 am: 82451a9a6c
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1922462
Change-Id: I510639073615474d1774991645da87c6f71277dd
2021-12-14 21:29:31 +00:00
Treehugger Robot
82451a9a6c
Merge "Copy attributable to Bluetooth" am: b4950bde08 am: a6d1bd6b57 am: 1cdca58b06
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1922462
Change-Id: I085488123dd1214264eb90b4c0b720f2aa69b899
2021-12-14 21:16:45 +00:00
William Escande
9bb1c2b1bf
Pbap use profileConnector, resolveSystemService api fix
...
* 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
2021-12-14 16:01:01 +00:00
William Escande
0c86889d83
Pbap use profileConnector, resolveSystemService api fix
...
* 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
2021-12-14 16:59:13 +01:00
William Escande
634326680c
Copy attributable to Bluetooth
...
Attributable is called by bluetooth and it's hidden.
By copying into bluetooth we are now allowed to call it
Bug: 210467788
Test: build
Tag: #refactor
Change-Id: I73ea07c9439988ab5477c82799f718c6d81513be
2021-12-14 16:22:07 +01:00
Etienne Ruffieux
f636a3147f
Replaced Bluetooth SystemProperties.set by sysprop
...
Tag: #feature
Bug: 197210455
Test: set/get sysprop with SystemProperties
Change-Id: I613808dbc930c90e391df9857a173a86aedc4acf
2021-12-14 10:06:37 +00:00
TreeHugger Robot
e4c47bff79
Merge "Revert "Revert "Complete hard removal of BluetoothHeadset#setPri...""
2021-12-14 08:39:05 +00:00
Rahul Sabnis
186d244044
Revert "Revert "Complete hard removal of BluetoothHeadset#setPri..."
...
Revert "Revert "Hard remove BluetoothHeadset#setPriority System ..."
Revert "Revert "Added removal of BluetoothHeadset#setPriority to..."
Revert submission 16433519-hfp-setpriority-hardremove
Tag: #feature
Bug: 209335798
Test: Manual
Reason for revert: CTS issue fixed
Reverted Changes:
I9de1b07f2:Revert "Complete hard removal of BluetoothHeadset#...
If5d408e8b:Revert "Added removal of BluetoothHeadset#setPrior...
I3c717fad0:Revert "Hard remove BluetoothHeadset#setPriority S...
Change-Id: Id86ba6bd922cd862560a635cc9b8bd79ca0f9d28
2021-12-14 00:18:50 +00:00
Rahul Sabnis
ac6e0c91b3
Remove unused references to android.app.ActivityThread in
...
BluetoothAdapter
Tag: #feature
Bug: 210468546
Test: Manual
Change-Id: Ia473afe6bcf4d0824e2fd2c6ca2ce562d0ecbde3
2021-12-13 14:32:46 -08:00
Treehugger Robot
2da9d79599
Merge "Change isCISCentralSupported() to isLeAudioSupported() API" am: 62749e874a am: d954a3dd2a am: 2a756fc34a am: a780e58bef
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1906211
Change-Id: I876a8e86a13e4d10c7f26b8032a66bbfe117eba2
2021-12-10 03:18:42 +00:00
Treehugger Robot
a780e58bef
Merge "Change isCISCentralSupported() to isLeAudioSupported() API" am: 62749e874a am: d954a3dd2a am: 2a756fc34a
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1906211
Change-Id: I0e5f44854419cf333f79ae7fb5f25a1a8ee03c6b
2021-12-10 03:01:30 +00:00