Hansong Zhang
dfe0273968
Merge "Bluetooth LE COC: Delete unused testing API"
...
am: 25983a0972
Change-Id: Iba4797930d442399b4078705b30eef07855dabee
2020-01-24 16:22:26 -08:00
Hansong Zhang
a0b7355a6f
Bluetooth LE COC: Delete unused testing API
...
Some methods are for SL4A test only, and now they have been migrated.
Test: compile
Change-Id: I86e22814fc9a3fd296c359804a465b9ead4d926f
2020-01-24 21:26:07 +00:00
Rahul Sabnis
f38016bdef
Merge "Use @ConnectionPolicy annotation more consistently in classes with methods setConnectionPolicy and getConnectionPolicy"
...
am: 4328fba884
Change-Id: I46a7f13edc552036fa7ee81144a794d750eaa3ca
2020-01-22 22:05:14 -08:00
Treehugger Robot
4328fba884
Merge "Use @ConnectionPolicy annotation more consistently in classes with methods setConnectionPolicy and getConnectionPolicy"
2020-01-23 04:20:53 +00:00
Rahul Sabnis
30c597ffb0
Use @ConnectionPolicy annotation more consistently in classes with
...
methods setConnectionPolicy and getConnectionPolicy
Bug: 147669289
Test: Manual
Change-Id: I2b9b0391a02d01623c1cd253f2da12b2baaea599
2020-01-22 23:08:21 +00:00
Rahul Sabnis
264da33fe5
Merge "Add @RequiresPermission annotation to SystemApis in BluetoothPan, open up close method as a SystemApi, and BluetoothPan class now implements AutoCloseable and CloseGuard"
...
am: 23deb3367f
Change-Id: Iaab890dc9ebefabbcb7809fe2e83221f11d7d9f0
2020-01-22 13:21:55 -08:00
Rahul Sabnis
5a607f2666
Merge "Add error log to BluetoothAdapter.factoryReset() and make BluetoothAdapter.getUuids() marked with @Nullable"
...
am: b4dbfff366
Change-Id: If06bce0f62fee4121c0e4445178c13458cd4b7c6
2020-01-22 13:17:19 -08:00
Treehugger Robot
23deb3367f
Merge "Add @RequiresPermission annotation to SystemApis in BluetoothPan, open up close method as a SystemApi, and BluetoothPan class now implements AutoCloseable and CloseGuard"
2020-01-22 21:09:47 +00:00
Treehugger Robot
b4dbfff366
Merge "Add error log to BluetoothAdapter.factoryReset() and make BluetoothAdapter.getUuids() marked with @Nullable"
2020-01-22 21:09:39 +00:00
Rahul Sabnis
dc125268fb
Add @RequiresPermission annotation to SystemApis in BluetoothPan, open
...
up close method as a SystemApi, and BluetoothPan class now implements
AutoCloseable and CloseGuard
Bug: 146045934
Test: Manual
Change-Id: Iafb2157d67ae4f8e3d7d97cf4198f2978e391a8c
2020-01-22 11:30:59 -08:00
Rahul Sabnis
f0a2e25c9f
Merge "Make certain BluetoothProfile constants being used by CarBluetoothTest into @SystemApi"
...
am: 80a2b522b1
Change-Id: I81491cbcc449cc718be94637d609cc4f799b6cf2
2020-01-21 17:05:15 -08:00
Rahul Sabnis
a079dc7984
Make certain BluetoothProfile constants being used by CarBluetoothTest
...
into @SystemApi
Bug: 146663105
Test: Manual
Change-Id: Ic474a85c17b69c71cf24b06d0262c13b3b8142fe
2020-01-21 15:11:22 -08:00
Rahul Sabnis
d3dd01190c
Add error log to BluetoothAdapter.factoryReset() and make
...
BluetoothAdapter.getUuids() marked with @Nullable
Bug: 144765076
Test: Manual
Change-Id: I2a38fbb2256177ad29e2739ccbec8c13aae9df6a
2020-01-17 15:09:44 -08:00
satayev
e1432f59ee
Merge "Use new UnsupportedAppUsage annotation."
2020-01-13 13:09:36 +00:00
Automerger Merge Worker
defec369b6
Merge "Make the BluetoothMap class @SystemApi" am: 7de3328d4e am: 0b9386c52d
...
Change-Id: I75eff4043effbd13f1facbbbead512f164721cb4
2020-01-10 21:12:15 +00:00
Treehugger Robot
7de3328d4e
Merge "Make the BluetoothMap class @SystemApi"
2020-01-10 20:53:20 +00:00
Automerger Merge Worker
cc626683b8
Merge "Add setConnectionPolicy to HidDevice and Pan. Clean up documentation for the method in Pbap." am: 06410db097 am: 20acd0b7a7
...
Change-Id: I3ea4fa8fa743c159c1aef5d7f80bc42ebc8d7d70
2020-01-10 20:35:17 +00:00
Treehugger Robot
06410db097
Merge "Add setConnectionPolicy to HidDevice and Pan. Clean up documentation for the method in Pbap."
2020-01-10 20:19:36 +00:00
Artur Satayev
76c1d9d5e1
Use new UnsupportedAppUsage annotation.
...
Existing annotations in libcore/ and frameworks/ will deleted after the migration. This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library.
Bug: 145132366
Test: m && diff unsupportedappusage_index.csv
Change-Id: I6ab53570aca580fbee1fcc927871caa09780f58f
Merged-In: I6ab53570aca580fbee1fcc927871caa09780f58f
2020-01-10 17:02:03 +00:00
TreeHugger Robot
4666dc1d5c
Merge "Use new UnsupportedAppUsage annotation." into qt-qpr1-dev-plus-aosp
2020-01-10 08:27:18 +00:00
Automerger Merge Worker
870ca86684
Merge "Support PBAP for get/close profile proxy" am: 3e3f8bc09f am: 80e13d598c
...
Change-Id: I11a28320654e0a2cbd46f2ae0e187c22c9c47789
2020-01-10 02:32:41 +00:00
Rahul Sabnis
eccd5bdbb7
Make the BluetoothMap class @SystemApi
...
Bug: 146462547
Test: Manual
Change-Id: I2bd3fbb058019bbb32472eac4fcaa65677cbf950
2020-01-09 17:00:56 -08:00
Rahul Sabnis
43203a8bf8
Add setConnectionPolicy to HidDevice and Pan. Clean up documentation for
...
the method in Pbap.
Bug: 147444905
Test: Manual
Change-Id: I308b29d8ce96f9e410a66d59379a731ae12e0478
2020-01-09 16:28:19 -08:00
Artur Satayev
507c127f69
Use new UnsupportedAppUsage annotation.
...
Existing annotations in libcore/ and frameworks/ will deleted after the migration. This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library.
Bug: 145132366
Test: m && diff unsupportedappusage_index.csv
Change-Id: I6ab53570aca580fbee1fcc927871caa09780f58f
Merged-In: I6ab53570aca580fbee1fcc927871caa09780f58f
2020-01-09 16:09:25 +00:00
Chienyuan
2fca55dee2
Support PBAP for get/close profile proxy
...
Bug: 147078847
Test: manual
Change-Id: Iabcf9ab81b052be8f6f7388843681450a1cd7da4
2020-01-08 19:43:27 +08:00
Automerger Merge Worker
89175d8aea
Merge "Make the BluetoothHidHost class @SystemApi" am: 5e7e617e17 am: 41ccb1e08b
...
Change-Id: I67034df8454b879dac49acb65b005273bd07be01
2020-01-08 03:26:39 +00:00
Treehugger Robot
5e7e617e17
Merge "Make the BluetoothHidHost class @SystemApi"
2020-01-08 02:43:18 +00:00
Rahul Sabnis
9913cb52cf
Make the BluetoothHidHost class @SystemApi
...
Bug: 146462547
Test: Manual
Change-Id: I2044e850583701173b51ca89e30ff8aa79bb255c
2020-01-07 17:02:22 -08:00
Automerger Merge Worker
c170b84497
Merge "Add setConnectionPolicy to BluetoothPbap" am: c0c8c00976 am: 53c8e6cbc0
...
Change-Id: I0bb2aae1c2809a4da648263a1e1df0f1bc2cfafc
2020-01-07 21:13:34 +00:00
Rahul Sabnis
e36a171b23
Add setConnectionPolicy to BluetoothPbap
...
Bug: 145943634
Test: Manual
Change-Id: I72fc624d5c6578ca0374a1e943810d97b6361250
2020-01-06 15:22:55 -08:00
Automerger Merge Worker
588696bef3
Merge "Remove unused BluetoothHearingAid APIs and usages" am: 7d48a4513c am: ed567b8cad
...
Change-Id: I75d0d1436fb361152327a6e968d6fb5b5655d9eb
2020-01-02 21:17:42 +00:00
Treehugger Robot
7d48a4513c
Merge "Remove unused BluetoothHearingAid APIs and usages"
2020-01-02 20:43:57 +00:00
Automerger Merge Worker
51e9a965a6
Merge "Resolve BluetoothA2dpSink APIs used by Settings" am: f14e2e1e1a am: 03942aba3b
...
Change-Id: Ibfc816fcdf1400d72dc00f14096d58c92e129485
2019-12-17 03:21:25 +00:00
Treehugger Robot
f14e2e1e1a
Merge "Resolve BluetoothA2dpSink APIs used by Settings"
2019-12-17 02:31:59 +00:00
Automerger Merge Worker
92cc6eba5b
Merge "Refactor BluetoothPbap APIs used by Settings" am: a33dfe1e7b am: 7231799dbe
...
Change-Id: I6167bbc3c0cf1a725816dfb4b6ccfd0997fdc65c
2019-12-17 02:30:09 +00:00
Treehugger Robot
a33dfe1e7b
Merge "Refactor BluetoothPbap APIs used by Settings"
2019-12-17 01:53:24 +00:00
Rahul Sabnis
ea2e20c857
Remove unused BluetoothHearingAid APIs and usages
...
Bug: 143244535
Test: Manual
Change-Id: I8915ec755794b2c44412386de03c5fc0778d8ec7
2019-12-16 16:41:33 -08:00
Automerger Merge Worker
956b783f7c
Merge "Pipe featureId from app to noteOp in BT code" am: 775540c6d6 am: 6f2b986ee4
...
Change-Id: Ia2d0a51a73020b81cb8991ff783fa826328265cc
2019-12-14 18:00:45 +00:00
Treehugger Robot
775540c6d6
Merge "Pipe featureId from app to noteOp in BT code"
2019-12-14 17:36:47 +00:00
Rahul Sabnis
b4d383db15
Resolve BluetoothA2dpSink APIs used by Settings
...
Bug: 146082017
Test: Manual
Change-Id: Iebae62408c490cb9091b1f4e4a5a5e32321e2700
2019-12-13 14:52:55 -08:00
Automerger Merge Worker
4c1644cdf0
Merge "Resolve BluetoothHearingAid API usages by Settings" am: a83641557b am: 1099497d45
...
Change-Id: I4708867d2e125bfa1adc27cf18817a5e7d90046d
2019-12-13 18:50:48 +00:00
Philip P. Moltmann
22209940e8
Pipe featureId from app to noteOp in BT code
...
FeatureIds are not yet available, hence in BTManager we assume always a
"null" featureId.
The effect of this change is that for apps that opt into using
featureIds, they will have one BluetoothAdapter per feature, not one per
process as before. In my testing this caused no problem. Most apps
won't use featureIds, hence for most apps there is no change in
behavior.
Test: used bluetooth
Bug: 136595429
Change-Id: Ic40326ea331c60f764f213bb2673cb4c49a81604
2019-12-13 10:49:16 -08:00
Treehugger Robot
a83641557b
Merge "Resolve BluetoothHearingAid API usages by Settings"
2019-12-13 18:15:36 +00:00
Automerger Merge Worker
7daf421abd
Merge "Resolve BluetoothDevice hidden API usages by Settings" am: ce656f7754 am: 10fd57e659
...
Change-Id: I001128eba5499a0a080707d00c1627335eae7514
2019-12-12 21:33:56 +00:00
Rahul Sabnis
d32a94d224
Resolve BluetoothDevice hidden API usages by Settings
...
Bug: 143245666
Test: Manual
Change-Id: Id34eb275f604e61330aeb91401dc31aeca666b8f
2019-12-11 11:37:05 -08:00
Rahul Sabnis
5e298ac413
Refactor BluetoothPbap APIs used by Settings
...
Bug: 145943634
Test: Manual
Change-Id: I23b2b20f97968696f9f00fee55094db6e551835f
2019-12-10 14:04:18 -08:00
Rahul Sabnis
4fee78ed6d
Resolve BluetoothHearingAid API usages by Settings
...
Bug: 143244535
Test: Manual
Change-Id: Ide243e05166f03d465a50a7f2bdb82dbfd6815d0
2019-12-09 16:26:04 -08:00
Rahul Sabnis
b0ff23dde3
Merge "Resolve BluetoothA2dp hidden APIs to resolve dependencies" am: 67eae9d7ba
...
am: 5ae6e7adc1
Change-Id: Ibdf41e956337808e63130db9e6101efa0382a4f1
2019-12-09 11:44:02 -08:00
Rahul Sabnis
625e1c3ef4
Resolve BluetoothA2dp hidden APIs to resolve dependencies
...
Bug: 143240341
Test: Manual
Change-Id: Ib55e0fb106fa7b91ef4d3559da12ea2c048f1ae5
2019-12-06 16:58:05 -08:00
Zach Johnson
b39a419fa4
Merge changes from topics "merge BT bond", "parameterize BT enable", "remove BT isEnabled" am: bd4031de4a
...
am: 2fb54515a2
Change-Id: Id6f1c11c447ff1896b5df81a7625a643ecebce46
2019-12-06 15:34:45 -08:00