satayev
e1432f59ee
Merge "Use new UnsupportedAppUsage annotation."
2020-01-13 13:09:36 +00:00
Treehugger Robot
7de3328d4e
Merge "Make the BluetoothMap class @SystemApi"
2020-01-10 20:53:20 +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
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
Chienyuan
2fca55dee2
Support PBAP for get/close profile proxy
...
Bug: 147078847
Test: manual
Change-Id: Iabcf9ab81b052be8f6f7388843681450a1cd7da4
2020-01-08 19:43:27 +08: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
Rahul Sabnis
e36a171b23
Add setConnectionPolicy to BluetoothPbap
...
Bug: 145943634
Test: Manual
Change-Id: I72fc624d5c6578ca0374a1e943810d97b6361250
2020-01-06 15:22:55 -08:00
Treehugger Robot
7d48a4513c
Merge "Remove unused BluetoothHearingAid APIs and usages"
2020-01-02 20:43:57 +00:00
Treehugger Robot
f14e2e1e1a
Merge "Resolve BluetoothA2dpSink APIs used by Settings"
2019-12-17 02:31:59 +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
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
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
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
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
bd4031de4a
Merge changes from topics "merge BT bond", "parameterize BT enable", "remove BT isEnabled"
...
* changes:
Collapse the implementations of BluetoothDevice.createBond
Call parameterized version of IBluetooth.enable
Implement isEnabled in terms of getState
2019-12-06 23:20:07 +00:00
Treehugger Robot
f6ea5afa58
Merge "Make BluetoothUuid constants and some functions System Apis"
2019-12-06 01:23:39 +00:00
Rahul Sabnis
5f457c0586
Refactor BluetoothHeadset APIs used by Settings
...
Bug: 143244793
Test: Manual
Change-Id: I399a1e0f93cb01c44817604edfcaa8fe5061142f
2019-12-04 16:49:21 -08:00
Rahul Sabnis
1223087ee3
Make BluetoothUuid constants and some functions System Apis
...
Bug: 143245929
Test: Manual
Change-Id: I5519a379a2bb5d56fe25745d8bdeaa5cf52d9e92
2019-12-04 11:24:57 -08:00
Treehugger Robot
98c91be8ae
Merge "Rename priority to connection policy in bluetooth apis"
2019-12-04 01:11:46 +00:00
Rahul Sabnis
c452697717
Add SystemApi to setActiveDevice in BluetoothAdapter
...
Bug: 145004683
Test: Manual
Change-Id: I70f46bb0153a8a0f3755dc2b3e26e556bd092daa
2019-12-02 15:36:11 -08:00
Rahul Sabnis
df1ef4aa62
Rename priority to connection policy in bluetooth apis
...
Bug: 145005327
Test: Manual
Change-Id: I43ad57feb7dd70f39005ad7a01bc7dac6fb7b639
2019-12-02 14:44:54 -08:00
Zach Johnson
ae98cec967
Collapse the implementations of BluetoothDevice.createBond
...
The backend is now a single function. Remove duplicate code/
Bug: 145171640
Test: compile, and try pairing
Change-Id: I04e8f95430d0de245926e849ea71eff030294bc1
2019-11-26 21:55:15 -08:00
Zach Johnson
76236d77f4
Implement isEnabled in terms of getState
...
Bug: 145171640
Test: compile & check everything works normally
Change-Id: I169e220ab83546d76317e518652c66c9bd2229a2
2019-11-26 21:33:59 -08:00
Rahul Sabnis
a052447ad6
Resolve API dependencies on BluetoothPan
...
Bug: 143244283
Test: Manual
Change-Id: Ie419b2f83358d06d094dcf4921c4595fc0e72857
2019-11-21 13:16:02 -08:00
Treehugger Robot
944fed6b66
Merge "Revert "Re-add getAliasName to fix build breakage""
2019-11-19 19:44:45 +00:00
Treehugger Robot
d007cfcdf4
Merge "Add method to convert profile ID into human readable string"
2019-11-19 18:04:03 +00:00
Rahul Sabnis
7700b81cb3
Merge "Create systemapis to connect/disconnect all bt profiles"
2019-11-18 23:15:06 +00:00
Rahul Sabnis
91edb7e642
Revert "Re-add getAliasName to fix build breakage"
...
This reverts commit d14320d21c .
Reason for revert: Removing method again and will make changes on internal to prevent breakage
Change-Id: I41cb918df90a203fd6a03f4b51464300de9428f8
2019-11-18 18:59:55 +00:00
Rahul Sabnis
d14320d21c
Re-add getAliasName to fix build breakage
...
Bug: 144619887
Test: Manual
Change-Id: Ib4f3582a1c9cb8cbcb14fece6a3ab463b3400cea
2019-11-16 11:52:13 -08:00
Rahul Sabnis
0d33ef9a5a
Create systemapis to connect/disconnect all bt profiles
...
Bug: 143495377
Test: Manual
Change-Id: I80d816083ef568df319afddfd4557ef74d37d16f
2019-11-15 16:18:25 -08:00
Rahul Sabnis
24ad4b561c
Refactor methods to access/modify BluetoothDevice alias and name
...
Bug: 142352567
Test: Manual
Change-Id: I86bb69faed1c6d46ac668816e6081bd1673fbf85
2019-11-14 12:58:48 -08:00
Ugo Yu
2712d4fc14
Add method to convert profile ID into human readable string
...
Bug: 136068566
Test: adb shell dumpsys bluetooth_manager
Change-Id: I9f354ecbe20caf058c9de843180b7a07de7af569
2019-11-14 19:23:23 +08:00
Rahul Sabnis
644d3dd923
Refactor BluetoothAdapter APIs used by Settings
...
Bug: 143238544
Test: Manual
Change-Id: Ia831d2b4b628b746493602857bcb54b585f13e12
2019-11-04 21:55:54 +00:00
Treehugger Robot
c8d3cde31e
Merge "Bluetooth doc: The is a -> This is a"
2019-10-23 22:32:54 +00:00
Myles Watson
1254da6333
Bluetooth doc: The is a -> This is a
...
Fixes: 142364826
Test: build
Change-Id: I9bde35140bdfc4d76df7e8c427ac6e8baceee611
2019-10-23 20:38:57 +00:00
Christian Wailes
d9bce3cfff
Merge "Revert "Revert "Remove a misleading "flush" function."""
2019-09-11 18:23:50 +00:00
Christian Wailes
647fee87dc
Revert "Revert "Remove a misleading "flush" function.""
...
This reverts commit 47da177405 .
Reason for revert: Fixed the test broken by the original commit
Bug: 139192244
Bug: 140336855
Test: m -> flash -> boot
Test: atest CtsJvmtiAttachingHostTestCases
Change-Id: I4c67ad8709652c4710ef24564e0240f74f817f8c
2019-09-04 23:37:32 +00:00
Ian Kasprzak
783313acbf
Merge "Revert "Remove a misleading "flush" function.""
...
am: 9fcf8b7cae
Change-Id: Ic6fafd4ed9bf6dfc001120dced903b14cf907d1d
2019-09-02 08:47:30 -07:00
Ian Kasprzak
9fcf8b7cae
Merge "Revert "Remove a misleading "flush" function.""
2019-09-02 15:28:20 +00:00
Dan Harms
6006a30059
Merge "Include BLE<->SPP transition states in isLeEnabled"
...
am: ac413db400
Change-Id: I15a67ad7b277b345b96f2a7cf852554ed6fee267
2019-09-01 14:59:54 -07:00
Treehugger Robot
ac413db400
Merge "Include BLE<->SPP transition states in isLeEnabled"
2019-09-01 21:45:21 +00:00
Ian Kasprzak
47da177405
Revert "Remove a misleading "flush" function."
...
This reverts commit 9d8b926859 .
Reason for revert: Driodcop: aosp-master test-mapping showing multiple failures (b/140336855).
Change-Id: If44e273dd111802db8b44db1e5a67a4628c72e3c
2019-08-31 21:28:50 +00:00