OSDN Git Service
Jack He [Thu, 25 Mar 2021 19:04:21 +0000 (19:04 +0000)]
GD HCI: Pipe VSEs up in shim layer am:
e53576837a am:
9cd7983f5d am:
97bd78794f
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1653711
Change-Id: I9abac807e32c2dded74357316ce768432867b31c
Jack He [Thu, 25 Mar 2021 18:23:01 +0000 (18:23 +0000)]
GD HCI: Pipe VSEs up in shim layer am:
e53576837a am:
9cd7983f5d
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1653711
Change-Id: I9b3ab28d706d7814e2d407797d042735f55281d8
Jack He [Thu, 25 Mar 2021 17:44:12 +0000 (17:44 +0000)]
GD HCI: Pipe VSEs up in shim layer am:
e53576837a
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1653711
Change-Id: Ida91f1ca6a867d186c6badb3812c7b5120db590c
Jack He [Thu, 25 Mar 2021 15:48:52 +0000 (15:48 +0000)]
GD Metrics: Check if RawAddress is null before converting am:
6ffa090b31 am:
964b2a1367 am:
095403d382
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1653710
Change-Id: Ifdb8723786e37c06b8ffd67e0cdb7301618b45b9
Jack He [Thu, 25 Mar 2021 15:06:08 +0000 (15:06 +0000)]
GD Metrics: Check if RawAddress is null before converting am:
6ffa090b31 am:
964b2a1367
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1653710
Change-Id: I73a16d12c8b895663e06770ce7f9c9d16d7a0d5b
Jack He [Thu, 25 Mar 2021 14:45:34 +0000 (14:45 +0000)]
GD Metrics: Check if RawAddress is null before converting am:
6ffa090b31
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1653710
Change-Id: I1092a84129bd0a0dae7ff99fb4614f4ab57181c9
Treehugger Robot [Thu, 25 Mar 2021 07:50:17 +0000 (07:50 +0000)]
Merge "GD HCI: Support vendor specific event in GD" am:
c06e2b6b87 am:
3b7e32d7da am:
b7535a0bd4
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1652690
Change-Id: Iadde9196f18a9f105f075317e949a8d91fddfc60
Jack He [Thu, 25 Mar 2021 07:29:29 +0000 (00:29 -0700)]
GD HCI: Pipe VSEs up in shim layer
* Register known Android VSEs in shim layer
* Pipeline them through data callbacks so that they will
be handled by btu_hcif_process_event() after beging posted
to main thread by post_to_main_message_loop()
Tag: #gd-refactor
Bug:
183057550
Test: make, manual test BQR events
Change-Id: I849f02eec35f739f27d16803cea639c5e1ee1147
Treehugger Robot [Thu, 25 Mar 2021 07:06:44 +0000 (07:06 +0000)]
Merge "GD HCI: Support vendor specific event in GD" am:
c06e2b6b87 am:
3b7e32d7da
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1652690
Change-Id: Icd64529c4653b151eb99b6648301b3fb8ed02cbd
Treehugger Robot [Thu, 25 Mar 2021 06:27:27 +0000 (06:27 +0000)]
Merge "GD HCI: Support vendor specific event in GD" am:
c06e2b6b87
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1652690
Change-Id: I03103934a296aac6148a2bbde4ce6b903cd4877d
Jack He [Thu, 25 Mar 2021 06:25:59 +0000 (23:25 -0700)]
GD Metrics: Check if RawAddress is null before converting
Tag: #gd-refactor
Fixes:
183670698
Bug:
183670698
Test: make
Change-Id: Ibc46813a34db08ec899145e9d196d6bf0c96d897
Treehugger Robot [Thu, 25 Mar 2021 05:51:31 +0000 (05:51 +0000)]
Merge "GD HCI: Support vendor specific event in GD"
Jack He [Thu, 25 Mar 2021 00:53:18 +0000 (17:53 -0700)]
GD HCI: Support vendor specific event in GD
* Add a handler for vendor specific command
* Add registration and unregistration APIs
* LOG_ERROR when an unknown vendor specific event is received
* Add unit tests to validate the above functions
Tag: #gd-refactor
Bug:
183057550
Test: bluetooth_test_gd
Change-Id: I00d6d892f3d60a8909352061dcae45f92d47b91d
Treehugger Robot [Wed, 24 Mar 2021 19:56:32 +0000 (19:56 +0000)]
Merge "metrics: don't crash if `address` is NULL" am:
8d9c4170bd am:
dad261a7d4 am:
cf2d7ab72c
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1649529
Change-Id: Ica1781b3b3fc34cecae77fa4ded58929bab0586d
Mingguang Xu [Wed, 24 Mar 2021 19:56:04 +0000 (19:56 +0000)]
Merge "btaa: Add the method of onActivityLogsReady into btif interface" am:
28669d1376 am:
ca8b2f221e am:
6aa8b7098e
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1646068
Change-Id: I992e38c32703c1bf95259ccefa8536ba4e36b7e9
Treehugger Robot [Wed, 24 Mar 2021 19:34:10 +0000 (19:34 +0000)]
Merge "metrics: don't crash if `address` is NULL" am:
8d9c4170bd am:
dad261a7d4
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1649529
Change-Id: I0bc18458bc3b917809933327812008870a620468
Mingguang Xu [Wed, 24 Mar 2021 19:33:58 +0000 (19:33 +0000)]
Merge "btaa: Add the method of onActivityLogsReady into btif interface" am:
28669d1376 am:
ca8b2f221e
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1646068
Change-Id: I8175e738e642311f4d9661ada527a7bc0a3966c4
Treehugger Robot [Wed, 24 Mar 2021 18:59:23 +0000 (18:59 +0000)]
Merge "metrics: don't crash if `address` is NULL" am:
8d9c4170bd
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1649529
Change-Id: Ie4871353997995f48dde9ff97fe2348e2a7566b2
Mingguang Xu [Wed, 24 Mar 2021 18:57:35 +0000 (18:57 +0000)]
Merge "btaa: Add the method of onActivityLogsReady into btif interface" am:
28669d1376
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1646068
Change-Id: I1bf7612dfa0ce4e1783e7f23c48a821ed7a176d3
Treehugger Robot [Wed, 24 Mar 2021 18:30:30 +0000 (18:30 +0000)]
Merge "metrics: don't crash if `address` is NULL"
Mingguang Xu [Wed, 24 Mar 2021 17:53:36 +0000 (17:53 +0000)]
Merge "btaa: Add the method of onActivityLogsReady into btif interface"
Chris Manton [Wed, 24 Mar 2021 08:31:58 +0000 (08:31 +0000)]
Re-log btm_sec_check_upgrade am:
f6cc9dc3f2 am:
c07e2391f6 am:
cece1d8828
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1646050
Change-Id: I97b9640c18ea7e333051b6bd2615342ccaf66918
Chris Manton [Wed, 24 Mar 2021 07:43:08 +0000 (07:43 +0000)]
Re-log btm_sec_check_upgrade am:
f6cc9dc3f2 am:
c07e2391f6
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1646050
Change-Id: I5378cab671eab88ace75be4d1b641a60cd595bd6
Chris Manton [Wed, 24 Mar 2021 07:22:38 +0000 (07:22 +0000)]
Re-log btm_sec_check_upgrade am:
f6cc9dc3f2
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1646050
Change-Id: I1fbb3a843fd3198ca93fd09b3ca0994f91ca3351
Rahul Sabnis [Wed, 24 Mar 2021 06:29:42 +0000 (06:29 +0000)]
Remove dependency of the hci hal on activity attribution if the flag am:
57f5c8efda am:
421f026a47 am:
019243fae8
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1650824
Change-Id: I9c9e6b753289b602c5e44631505cedeecb4d008c
Rahul Sabnis [Wed, 24 Mar 2021 05:45:05 +0000 (05:45 +0000)]
Remove dependency of the hci hal on activity attribution if the flag am:
57f5c8efda am:
421f026a47
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1650824
Change-Id: Ied424b14f21a8079d49479edfaeea31c582c675a
Rahul Sabnis [Wed, 24 Mar 2021 05:02:09 +0000 (05:02 +0000)]
Remove dependency of the hci hal on activity attribution if the flag am:
57f5c8efda
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1650824
Change-Id: Ie84fccc97cca81d810b2934aa188f1c854349bcb
Chris Manton [Thu, 18 Mar 2021 21:16:37 +0000 (14:16 -0700)]
Re-log btm_sec_check_upgrade
Toward loggable code
Bug:
163134718
Test: gd/cert/run
Tag: #refactor
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines
Change-Id: Ib26183b2b63fcd9f877d876bb1d5d6954d82768c
Rahul Sabnis [Wed, 24 Mar 2021 00:30:38 +0000 (17:30 -0700)]
Remove dependency of the hci hal on activity attribution if the flag
value indicates it is not enabled. Adds activity attribution to gd
dumpsys.
Tag: #feature
Bug:
182283555
Test: Manual
Change-Id: I4c01dcda9d5a9b6e1273285fa32c95386329cf80
Treehugger Robot [Wed, 24 Mar 2021 00:00:54 +0000 (00:00 +0000)]
Merge "Keystore 2.0: Remove references to Keystore 1" am:
c66d329202 am:
480802f726 am:
26e53ecdd5
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1650821
Change-Id: Ie1f5f217f753343a43089bde5c90069adba3f331
Chris Manton [Tue, 23 Mar 2021 23:59:40 +0000 (23:59 +0000)]
Remove unnecessary transport param am:
ea48c4a982 am:
c676c2ed50 am:
0c9d36a2cd
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1629066
Change-Id: I680426c9d853cfb1ce74a716952e6a0479cfc611
Chris Manton [Tue, 23 Mar 2021 23:59:36 +0000 (23:59 +0000)]
Add API stacl/acl/acl to set default packet type bitmask am:
64c37aeab6 am:
a9d5a7701d am:
7e76e027da
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1629065
Change-Id: If5c4732a4dc6f141411a74d5ec823fdd91baa636
Mingguang Xu [Fri, 19 Mar 2021 18:43:14 +0000 (11:43 -0700)]
btaa: Add the method of onActivityLogsReady into btif interface
The method of onActivityLogsReady will be used to pass BT activity logs
to BTAA core module to JNI.
Tag: #feature
Bug:
183215497
Bug:
170315554
Test: m
Signed-off-by: Mingguang Xu <mingguangxu@google.com>
Change-Id: I4dfeece15cb04a1b01fd5ad59da3bbceccecbf91
Treehugger Robot [Tue, 23 Mar 2021 23:15:15 +0000 (23:15 +0000)]
Merge "Keystore 2.0: Remove references to Keystore 1" am:
c66d329202 am:
480802f726
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1650821
Change-Id: Ic32a3f2daf8c0ade62d0b034c803206af70ad4af
Chris Manton [Tue, 23 Mar 2021 23:14:23 +0000 (23:14 +0000)]
Remove unnecessary transport param am:
ea48c4a982 am:
c676c2ed50
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1629066
Change-Id: Ib9c0e08de0c8ef3b0b78c3b8c449e07430979783
Chris Manton [Tue, 23 Mar 2021 23:14:21 +0000 (23:14 +0000)]
Add API stacl/acl/acl to set default packet type bitmask am:
64c37aeab6 am:
a9d5a7701d
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1629065
Change-Id: Iba7d80ba726fe4b0de708ef906504e584b5ff299
Treehugger Robot [Tue, 23 Mar 2021 22:59:00 +0000 (22:59 +0000)]
Merge "Keystore 2.0: Remove references to Keystore 1" am:
c66d329202
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1650821
Change-Id: I103252d62202759b97769b41ce903ae44103e2e0
Chris Manton [Tue, 23 Mar 2021 22:53:40 +0000 (22:53 +0000)]
Remove unnecessary transport param am:
ea48c4a982
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1629066
Change-Id: Ia3064244b4454249e0ffc12835b9a2a3ff830770
Chris Manton [Tue, 23 Mar 2021 22:53:28 +0000 (22:53 +0000)]
Add API stacl/acl/acl to set default packet type bitmask am:
64c37aeab6
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1629065
Change-Id: Ied3416cdedde63d19c855d59a58aaa9650014e61
Treehugger Robot [Tue, 23 Mar 2021 22:30:39 +0000 (22:30 +0000)]
Merge "Keystore 2.0: Remove references to Keystore 1"
Chienyuan [Tue, 23 Mar 2021 20:54:03 +0000 (20:54 +0000)]
Handle dual mode device with same address in bta_dm_remove_device am:
e25f9378b9 am:
ee7a85a0d6 am:
fe98af50f4
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1650170
Change-Id: I33095c288a42760f1a0e730ab40d415df3758636
Janis Danisevskis [Tue, 23 Mar 2021 20:30:32 +0000 (13:30 -0700)]
Keystore 2.0: Remove references to Keystore 1
Test: N/A
Bug:
171305684
Change-Id: I4a09c24e18bef4361dc4b75e6df665a9d38689f9
Chienyuan [Tue, 23 Mar 2021 20:09:56 +0000 (20:09 +0000)]
Handle dual mode device with same address in bta_dm_remove_device am:
e25f9378b9 am:
ee7a85a0d6
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1650170
Change-Id: Id76717e25a7d5fa7177032c687120f863da1bff4
Chris Manton [Thu, 11 Mar 2021 21:52:23 +0000 (13:52 -0800)]
Remove unnecessary transport param
Can only set packets on classic/BR_EDR
Bug:
163134718
Test: gd/cert/run
Tag: #refactor
Change-Id: Icf38654478a36671775d34c716bb86f6636bbffe
Chris Manton [Thu, 11 Mar 2021 21:42:51 +0000 (13:42 -0800)]
Add API stacl/acl/acl to set default packet type bitmask
Bug:
182370398
Test: gd/cert/run
Tag: #refactor
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines
Change-Id: Idc91e1dba6784d4989adcf10c4f94b468bd535c6
Chienyuan [Tue, 23 Mar 2021 19:29:43 +0000 (19:29 +0000)]
Handle dual mode device with same address in bta_dm_remove_device am:
e25f9378b9
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1650170
Change-Id: Ia2ce0da1020fc005eb170ff9d4343b184a8ca4b2
Rahul Sabnis [Tue, 23 Mar 2021 19:07:25 +0000 (19:07 +0000)]
Merge "Update binder call for BluetoothDevice#setAlias to include the calling package name" into sc-dev
Treehugger Robot [Tue, 23 Mar 2021 15:14:53 +0000 (15:14 +0000)]
Merge "[LSC] Add LOCAL_LICENSE_KINDS to system/bt" am:
34e931422b am:
db1054b1d9 am:
085989b615
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1649539
Change-Id: I0ce651d37ba32ff99934d8ad33a6816c01719f1e
Chienyuan [Tue, 23 Mar 2021 15:09:16 +0000 (23:09 +0800)]
Handle dual mode device with same address in bta_dm_remove_device
Tag: #refactor
Bug:
183065766
Test: manual
Change-Id: Iff1b1c640b96606fa2dcdf49d30d2fa9a50ff891
Treehugger Robot [Tue, 23 Mar 2021 14:30:05 +0000 (14:30 +0000)]
Merge "[LSC] Add LOCAL_LICENSE_KINDS to system/bt" am:
34e931422b am:
db1054b1d9
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1649539
Change-Id: Ibc135f47d0bec50e8b41f3e95e27662581d21449
Treehugger Robot [Tue, 23 Mar 2021 13:49:36 +0000 (13:49 +0000)]
Merge "[LSC] Add LOCAL_LICENSE_KINDS to system/bt" am:
34e931422b
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1649539
Change-Id: I890c698dcb192b878274e064432f8305774971e6
Treehugger Robot [Tue, 23 Mar 2021 13:23:49 +0000 (13:23 +0000)]
Merge "[LSC] Add LOCAL_LICENSE_KINDS to system/bt"
Chris Manton [Tue, 23 Mar 2021 09:29:04 +0000 (09:29 +0000)]
Include new hci_role file am:
c4e9d02ab1 am:
83e569c2dd am:
2331f3208a
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1629206
Change-Id: I7cfc7626fcc6831457352c29677ea3f8bca5abb0
Chris Manton [Tue, 23 Mar 2021 08:40:12 +0000 (08:40 +0000)]
Include new hci_role file am:
c4e9d02ab1 am:
83e569c2dd
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1629206
Change-Id: If5f216427d74cca2b17d26cada2a0b8d5c4231cf
Chris Manton [Tue, 23 Mar 2021 07:59:31 +0000 (07:59 +0000)]
Include new hci_role file am:
c4e9d02ab1
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1629206
Change-Id: If887fe7dc784a1e3ae3801da07e54930692fe2e6
Chris Manton [Tue, 23 Mar 2021 05:13:02 +0000 (05:13 +0000)]
gd: Add Unregister::acl_manager classic/le am:
eef2dfe4a5 am:
9461040793 am:
e76fc74203
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1648789
Change-Id: Ifc58785d2451f072fa9dce00d7016b764df5cafa
Chris Manton [Tue, 23 Mar 2021 04:47:05 +0000 (04:47 +0000)]
gd: Add Unregister::acl_manager classic/le am:
eef2dfe4a5 am:
9461040793
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1648789
Change-Id: I66bedd996f18045c048d529ecd1a549ac142389b
Chris Manton [Wed, 10 Mar 2021 16:01:37 +0000 (08:01 -0800)]
Include new hci_role file
Bug:
179120287
Test: gd/cert/run
Tag: #refactor
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines
Change-Id: I22043f815a33ee0459a4a609080651ede5a60bbe
Chris Manton [Tue, 23 Mar 2021 04:09:38 +0000 (04:09 +0000)]
gd: Add Unregister::acl_manager classic/le am:
eef2dfe4a5
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1648789
Change-Id: I693dd7918ab50b3c8e3c4c7cc1cedcd418d520b1
Bob Badour [Tue, 23 Mar 2021 02:02:24 +0000 (19:02 -0700)]
[LSC] Add LOCAL_LICENSE_KINDS to system/bt
Added SPDX-license-identifier-Apache-2.0 to:
vendor_libs/test_vendor_lib/data/Android.bp
Bug:
68860345
Bug:
151177513
Bug:
151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I71d5736f416cfcc807029047f6358a6558c81ad3
Chris Manton [Thu, 11 Mar 2021 00:30:47 +0000 (16:30 -0800)]
gd: Add Unregister::acl_manager classic/le
Synchronize stack shutdown
Bug:
176960731
Test: bluetooth_test_gd --gtest_filter=AclManagerLifeCycleTest.*
Test: gd/cert/run
Tag: #refactor
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines
Change-Id: Iad2b6ce5f93f3aa3c9676179d9353cfa9f679fcd
Chris Manton [Tue, 23 Mar 2021 00:21:01 +0000 (00:21 +0000)]
BTMLogHistory: Add HID device open/close am:
4d4697462b am:
528776d634 am:
8caace9173
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1642952
Change-Id: I2678ef753384c84591bffc9642f5a1b98a27ee8f
Chris Manton [Mon, 22 Mar 2021 23:37:26 +0000 (23:37 +0000)]
BTMLogHistory: Add HID device open/close am:
4d4697462b am:
528776d634
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1642952
Change-Id: I2d5cfab96cd9239a38465d47a5bcfc6a9d588995
Chris Manton [Mon, 22 Mar 2021 23:16:11 +0000 (23:16 +0000)]
BTMLogHistory: Add HID device open/close am:
4d4697462b
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1642952
Change-Id: I3f13463bead186fdad45cc18e7592c97ae2431f7
George Burgess IV [Mon, 22 Mar 2021 22:13:18 +0000 (15:13 -0700)]
metrics: don't crash if `address` is NULL
We check earlier if `address != nullptr` in this function; it stands to
reason that we should have the same check here, as well.
Potential use of null was caught by the static analyzer:
> system/bt/gd/common/metrics.cc:74:9: warning: Called C++ object
pointer is null [clang-analyzer-core.CallAndMessage]
Tag: #security
Bug:
181819141
Test: TreeHugger
Change-Id: I4baf5fe648c8fd841875515b024e1658b7ea20cd
Treehugger Robot [Mon, 22 Mar 2021 21:41:00 +0000 (21:41 +0000)]
Merge "GD metrics: Add shim layers for metrics in GD 1) Add shim layer for MetricIdManager 2) Add shim layer for metric logging functions who take metric id 3) reference the 2 shim layers at btif/, main/shim and stack/" am:
ed1b5fd0d7 am:
e90d84e947 am:
53ec87491a
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1627280
Change-Id: Ic73dd4133fad4eb8e6352f37bbc9ed0a9b2ee31a
Chris Manton [Mon, 22 Mar 2021 21:40:53 +0000 (21:40 +0000)]
Revert "gd: Add Unregister::acl_manager classic/le" am:
bcece23223 am:
669441be2c am:
5bb137b8fd
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1648788
Change-Id: I3c8cd72cdf6acf1a9cf6e40d129ae6a213efb7c3
Qasim Javed [Mon, 22 Mar 2021 21:40:26 +0000 (21:40 +0000)]
Merge "rusty-gd: Add controller facade service." am:
9d623f3d2f am:
bf994b11b0 am:
7df381b019
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1647427
Change-Id: Id3dad1386475e0511db76929dc9b825a5817e5ae
Treehugger Robot [Mon, 22 Mar 2021 21:15:50 +0000 (21:15 +0000)]
Merge "GD metrics: Add shim layers for metrics in GD 1) Add shim layer for MetricIdManager 2) Add shim layer for metric logging functions who take metric id 3) reference the 2 shim layers at btif/, main/shim and stack/" am:
ed1b5fd0d7 am:
e90d84e947
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1627280
Change-Id: Iba9f3b81fb27ee1d716a632687d4024a24baf0bb
Chris Manton [Mon, 22 Mar 2021 21:15:44 +0000 (21:15 +0000)]
Revert "gd: Add Unregister::acl_manager classic/le" am:
bcece23223 am:
669441be2c
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1648788
Change-Id: Ie6e3284f5b9282c0c69ee194f15be309051bf3ce
Qasim Javed [Mon, 22 Mar 2021 21:14:41 +0000 (21:14 +0000)]
Merge "rusty-gd: Add controller facade service." am:
9d623f3d2f am:
bf994b11b0
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1647427
Change-Id: Ie099bc4b4f715bab94216dee0108a7442f438fd8
Rahul Sabnis [Thu, 11 Mar 2021 20:30:01 +0000 (12:30 -0800)]
Update binder call for BluetoothDevice#setAlias to include the calling
package name
Tag: #feature
Ignore-AOSP-First: Depends on CDM API not available in aosp
Bug:
181093329
Test: atest BluetoothDeviceTest
Change-Id: I1a810d3be352e453e19218dc36e020dffe7e2c91
Chris Manton [Wed, 17 Mar 2021 16:46:55 +0000 (09:46 -0700)]
BTMLogHistory: Add HID device open/close
Toward loggable code
Bug:
163134718
Test: gd/cert/run
Tag: #refactor
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines
Change-Id: I2201febbce720a2534800e7e9c69d31b0f8b0ced
Treehugger Robot [Mon, 22 Mar 2021 20:33:38 +0000 (20:33 +0000)]
Merge "GD metrics: Add shim layers for metrics in GD 1) Add shim layer for MetricIdManager 2) Add shim layer for metric logging functions who take metric id 3) reference the 2 shim layers at btif/, main/shim and stack/" am:
ed1b5fd0d7
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1627280
Change-Id: I960b2403ed0f73e6852c3720d3e163dc36cb9912
Chris Manton [Mon, 22 Mar 2021 20:32:42 +0000 (20:32 +0000)]
Revert "gd: Add Unregister::acl_manager classic/le" am:
bcece23223
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1648788
Change-Id: I73c5cbdc2b27e3b3f4733cd4758eb30615c807ae
Qasim Javed [Mon, 22 Mar 2021 20:30:53 +0000 (20:30 +0000)]
Merge "rusty-gd: Add controller facade service." am:
9d623f3d2f
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1647427
Change-Id: Ifec14b8b163cf310e6b45daff8e08d4b7807416f
Treehugger Robot [Mon, 22 Mar 2021 20:25:21 +0000 (20:25 +0000)]
Merge "GD metrics: Add shim layers for metrics in GD 1) Add shim layer for MetricIdManager 2) Add shim layer for metric logging functions who take metric id 3) reference the 2 shim layers at btif/, main/shim and stack/"
Treehugger Robot [Mon, 22 Mar 2021 20:15:08 +0000 (20:15 +0000)]
Merge "Make controller prop and default commands configurable in rootcanal" am:
5f74f42d4a am:
519746fb3f am:
b61e5b3541
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1629269
Change-Id: Ibf8ac0a0a6f16854eebdd7a95b2428e799909ff4
Chris Manton [Mon, 22 Mar 2021 18:12:27 +0000 (18:12 +0000)]
Revert "gd: Add Unregister::acl_manager classic/le"
This reverts commit
f0436493c05fe8d70375f461bc7e158b94f74e9b.
Bug:
183349791
Tag: #refactor
Test: Builds
Reason for revert: broke
Change-Id: Idb2a6845b9740a6112eabf0e40985d0a972c2ea3
Qasim Javed [Mon, 22 Mar 2021 19:49:25 +0000 (19:49 +0000)]
Merge "rusty-gd: Add controller facade service."
Treehugger Robot [Mon, 22 Mar 2021 19:32:22 +0000 (19:32 +0000)]
Merge "Make controller prop and default commands configurable in rootcanal" am:
5f74f42d4a am:
519746fb3f
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1629269
Change-Id: I53b1fd45fa20372216dbcef7d06f1fce069f397c
Treehugger Robot [Mon, 22 Mar 2021 18:55:58 +0000 (18:55 +0000)]
Merge "Make controller prop and default commands configurable in rootcanal" am:
5f74f42d4a
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1629269
Change-Id: I35d19d73b3fbca4874c540d0ee64727ebdd62980
Treehugger Robot [Mon, 22 Mar 2021 17:59:19 +0000 (17:59 +0000)]
Merge "Make controller prop and default commands configurable in rootcanal"
Chris Manton [Sun, 21 Mar 2021 02:21:29 +0000 (02:21 +0000)]
gd: Add Unregister::acl_manager classic/le am:
f0436493c0 am:
c46597b062 am:
31f3ff1f5f
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1646056
Change-Id: I9bb0838b5cf34fe75c79aeefe4d23525325e19c0
Chris Manton [Sun, 21 Mar 2021 01:40:08 +0000 (01:40 +0000)]
gd: Add Unregister::acl_manager classic/le am:
f0436493c0 am:
c46597b062
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1646056
Change-Id: I896a203353c53597dffe5767bdfe37d6f9213498
Chris Manton [Sun, 21 Mar 2021 00:58:52 +0000 (00:58 +0000)]
gd: Add Unregister::acl_manager classic/le am:
f0436493c0
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1646056
Change-Id: Ica879daee72ad6756249a52190dd183df3fa71df
Chris Manton [Sat, 20 Mar 2021 07:35:32 +0000 (07:35 +0000)]
Special case -INT_MAX for hex conversion am:
f0ba72bb42 am:
7d04826d91 am:
5b1be25724
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1646055
Change-Id: I92a8da1211ba7aa9815ebd6d81b8a32c5ff33deb
Chris Manton [Sat, 20 Mar 2021 06:50:39 +0000 (06:50 +0000)]
Special case -INT_MAX for hex conversion am:
f0ba72bb42 am:
7d04826d91
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1646055
Change-Id: Ie115757dbc99762cceb6e940f583310cf6de2252
Chris Manton [Sat, 20 Mar 2021 06:12:29 +0000 (06:12 +0000)]
Special case -INT_MAX for hex conversion am:
f0ba72bb42
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1646055
Change-Id: I3e784fed297f129f62498f49cb7013b768331801
Chris Manton [Thu, 11 Mar 2021 00:30:47 +0000 (16:30 -0800)]
gd: Add Unregister::acl_manager classic/le
Synchronize stack shutdown
Bug:
176960731
Test: bluetooth_test_gd --gtest_filter=AclManagerLifeCycleTest.*
Test: gd/cert/run
Tag: #refactor
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines
Change-Id: Ic7a41bbcb01dd61c5db7f4326daa8dd6585cbe86
Treehugger Robot [Sat, 20 Mar 2021 03:51:11 +0000 (03:51 +0000)]
Merge changes Ic1f5b589,I34e05959 am:
3ea5a36745 am:
6694471181 am:
78e0557bb0
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1646072
Change-Id: Icdd17eaf08a1dc7b2435503259991d984cbb4be7
Chris Manton [Fri, 19 Mar 2021 06:20:21 +0000 (23:20 -0700)]
Special case -INT_MAX for hex conversion
Bug:
183171310
Test: bluetooth_test_gd --gtest_filter=StringsTest*
Tag: #refactor
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines
Change-Id: I4150f4f6dc3445e4853bea51c68eee26e891e45a
Treehugger Robot [Sat, 20 Mar 2021 03:06:23 +0000 (03:06 +0000)]
Merge changes Ic1f5b589,I34e05959 am:
3ea5a36745 am:
6694471181
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1646072
Change-Id: Ia353bff0f6789e094f393538038e21eafb547a01
Treehugger Robot [Sat, 20 Mar 2021 02:27:34 +0000 (02:27 +0000)]
Merge changes Ic1f5b589,I34e05959 am:
3ea5a36745
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1646072
Change-Id: I32dedbc0b37ce6bfa06eacfd6f742b109511bf37
Martin Brabham [Sat, 20 Mar 2021 02:14:41 +0000 (02:14 +0000)]
Cert: OOB Test, verify different data. am:
d06d953590 am:
5955b9cc8d am:
cbd75b81d1
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1604953
Change-Id: Ia10be64064c32dbb80db391ba42745c48c3d9339
Treehugger Robot [Sat, 20 Mar 2021 01:56:00 +0000 (01:56 +0000)]
Merge changes Ic1f5b589,I34e05959
* changes:
PDL: Add more tests for C++
GD: Include init_flags where used
Martin Brabham [Sat, 20 Mar 2021 01:28:28 +0000 (01:28 +0000)]
Cert: OOB Test, verify different data. am:
d06d953590 am:
5955b9cc8d
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1604953
Change-Id: I96a63b6f03c096fe2e840a727959b82e7f31ba6d
Martin Brabham [Sat, 20 Mar 2021 00:47:42 +0000 (00:47 +0000)]
Cert: OOB Test, verify different data. am:
d06d953590
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1604953
Change-Id: I802f11f085ac3f04e867cae7c2767e0f87f4b3a3
Treehugger Robot [Fri, 19 Mar 2021 22:51:00 +0000 (22:51 +0000)]
[automerger skipped] Merge "IBluetoothManager: Update createBondOutOfBand interface" am:
bf1156d1c1 am:
5f11749b51 am:
fd5c1d376a -s ours
am skip reason: skip tag Change-Id I6b1424c22495821bfbbf56830f3848e6c03b74d4 with SHA-1
0603d72e3e is already in history
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1559439
Change-Id: I153e02fcb6d2028b3f4f7dae4c4153162a39e6f5
Martin Brabham [Wed, 24 Feb 2021 01:48:32 +0000 (17:48 -0800)]
Cert: OOB Test, verify different data.
This test ensures that the data fetched is always different.
Bug:
178007935
Test: cert/run SecurityTest:test_make_sure_oob_data_different
Tag: #gd-refactor
Change-Id: I1847eebdcead9e13cb4bc2d8eb86cdb63bcaf978