OSDN Git Service
Zach Johnson [Sat, 12 Dec 2020 00:07:22 +0000 (00:07 +0000)]
Merge "rusty-gd: Fix offsets for scalar fields." am:
8e4756edf3
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1526341
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I5e8a9f2e2d60bfffc359997c59cb52b49d4c0596
Zach Johnson [Sat, 12 Dec 2020 00:06:07 +0000 (00:06 +0000)]
Merge changes Ia521f76e,I5e4b77c1 am:
b6930d155e
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1520878
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ibd7802a413094b717de7f9f705e840a7397abc7d
Zach Johnson [Fri, 11 Dec 2020 23:41:47 +0000 (23:41 +0000)]
Merge "rusty-gd: Fix offsets for scalar fields."
Zach Johnson [Fri, 11 Dec 2020 23:28:44 +0000 (23:28 +0000)]
Merge changes Ia521f76e,I5e4b77c1
* changes:
rusty-gd: Allow paths and not just idents in submodules for GDDI
rusty-gd: implement Stoppable for GDDI
Zach Johnson [Fri, 11 Dec 2020 23:22:43 +0000 (23:22 +0000)]
Merge "add rust defaults and turn off targets on mac" am:
28ecb2cc70
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1526641
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I18b2d4928c9a822322d02cbdfb7b4e1fc4467904
Zach Johnson [Fri, 11 Dec 2020 23:11:34 +0000 (23:11 +0000)]
Merge "add rust defaults and turn off targets on mac"
Treehugger Robot [Fri, 11 Dec 2020 21:57:32 +0000 (21:57 +0000)]
Merge changes Ife298e71,Ida5002ac am:
ebf99f8b01
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1519361
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie8a0ad6384a468701a415985d3f330873fe07826
Treehugger Robot [Fri, 11 Dec 2020 21:56:45 +0000 (21:56 +0000)]
Merge changes I889bcc37,I5c801477,Ic77c6f95 am:
8bfcc5d154
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1519359
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Idd059eb1fc31d1ff5ab502fa0af5f8f26c3be518
Treehugger Robot [Fri, 11 Dec 2020 21:41:40 +0000 (21:41 +0000)]
Merge changes Ife298e71,Ida5002ac
* changes:
gd_acl: Diverge in stack/acl/btm_acl:: after connection
Actively check tACL_CONN:: valid prior to feature use
Treehugger Robot [Fri, 11 Dec 2020 21:41:32 +0000 (21:41 +0000)]
Merge changes I889bcc37,I5c801477,Ic77c6f95
* changes:
Use tACL_CONN:: le and lmp feature(s) upon valid
Re-order stack/acl/btm_acl::btm_acl_created
Add tACL_CONN:: le and lmp flags to condition feature validity
Zach Johnson [Fri, 11 Dec 2020 20:19:26 +0000 (12:19 -0800)]
add rust defaults and turn off targets on mac
Bug:
175349389
Test: compile
Change-Id: I115a5922945b6d06cf1f49ca9191665b2a45b627
Treehugger Robot [Fri, 11 Dec 2020 21:12:01 +0000 (21:12 +0000)]
Merge "Cert: Run script additions" am:
2fd265bb52
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1522077
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I48f5dcf8cfb08bd1b6c9c4dea7b851b9bb7324e4
Treehugger Robot [Fri, 11 Dec 2020 20:50:56 +0000 (20:50 +0000)]
Merge "Cert: Run script additions"
Zach Johnson [Fri, 11 Dec 2020 19:51:56 +0000 (19:51 +0000)]
Merge changes I6b64dc43,I499835b0 am:
1a93d59cec
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1525079
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I0a13511d6d82230c2f5cb2ab5071892ab5d2b979
Qasim Javed [Fri, 11 Dec 2020 19:14:49 +0000 (11:14 -0800)]
rusty-gd: Fix offsets for scalar fields.
Bug:
171749953
Tag: #gd-refactor
Test: gd/cert/run --rhost SimpleHalTest
Change-Id: I758f0a8397341ae0ec0f8356ab96e9c2ecea14ae
Zach Johnson [Fri, 11 Dec 2020 18:53:50 +0000 (18:53 +0000)]
Merge changes I6b64dc43,I499835b0
* changes:
rusty-gd: start writing array fields in write_to()
rusty-gd: add stubs for to_bytes and write_to
Chris Manton [Sat, 5 Dec 2020 17:56:19 +0000 (09:56 -0800)]
gd_acl: Diverge in stack/acl/btm_acl:: after connection
Low risk method to allow dual stack operation.
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: Ife298e7122bc5f7afab50b6555d417f699ec941a
Chris Manton [Sat, 5 Dec 2020 17:55:36 +0000 (09:55 -0800)]
Use tACL_CONN:: le and lmp feature(s) upon valid
Towards synchronized code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I889bcc37c2acce5503e60bf1a842778f8527a8da
Chris Manton [Sat, 5 Dec 2020 17:56:02 +0000 (09:56 -0800)]
Actively check tACL_CONN:: valid prior to feature use
Towards synchronized code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: Ida5002acb90d3cf3290e332191b23dabcc882b58
Chris Manton [Sat, 5 Dec 2020 17:54:48 +0000 (09:54 -0800)]
Re-order stack/acl/btm_acl::btm_acl_created
Towards readable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I5c8014774856a20f74a965a91c39a07f4084e8f0
Chris Manton [Sat, 5 Dec 2020 16:58:22 +0000 (08:58 -0800)]
Add tACL_CONN:: le and lmp flags to condition feature validity
Towards synchronized code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: Ic77c6f95fdda61805dd8e1188b65c7f35674bf98
Zach Johnson [Fri, 11 Dec 2020 18:13:13 +0000 (18:13 +0000)]
Merge "fix init flag parsing" am:
bc2716bfa0
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1524421
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I119d0dbd72a53b461fb776294bb85ec88fb71554
Zach Johnson [Fri, 11 Dec 2020 17:18:41 +0000 (17:18 +0000)]
Merge "fix init flag parsing"
Treehugger Robot [Fri, 11 Dec 2020 10:04:36 +0000 (10:04 +0000)]
Merge "gd ACL: Print warnings for invalid handles" am:
862c044b3e
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1515999
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I9ac767791d8d01c1540a6ce0fda67bb577d3732a
Treehugger Robot [Fri, 11 Dec 2020 09:49:39 +0000 (09:49 +0000)]
Merge "gd ACL: Print warnings for invalid handles"
Treehugger Robot [Fri, 11 Dec 2020 06:31:08 +0000 (06:31 +0000)]
Merge changes Iddb9d483,Ia3af25d2 am:
4ca9b304b7
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1516267
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I766f66298a22e8da1007fc18511c091486f054ba
Treehugger Robot [Fri, 11 Dec 2020 06:19:44 +0000 (06:19 +0000)]
Merge changes Iddb9d483,Ia3af25d2
* changes:
gd: implement APIs of Advertising for Android HCI
gd: Fix flaky tests of LeAddressManager
Zach Johnson [Fri, 11 Dec 2020 02:35:52 +0000 (02:35 +0000)]
rusty-gd: turn off darwin builds am:
f34ef3e41e
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1525438
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I595daa3a509e90b0880300eb9efa201215e1f4e2
Zach Johnson [Fri, 11 Dec 2020 02:07:21 +0000 (18:07 -0800)]
rusty-gd: turn off darwin builds
Bug:
175349389
Test: compile
Change-Id: Idd133992c743cc24fb8e592c3091bd081a8d2b95
Zach Johnson [Fri, 11 Dec 2020 00:50:23 +0000 (16:50 -0800)]
rusty-gd: start writing array fields in write_to()
Bug:
171749953
Tag: #gd-refactor
Test: gd/cert/run --rhost
Change-Id: I6b64dc436d887a7fe67fd98eb98d972b52ce9134
Zach Johnson [Thu, 10 Dec 2020 23:52:23 +0000 (15:52 -0800)]
rusty-gd: add stubs for to_bytes and write_to
Bug:
171749953
Tag: #gd-refactor
Test: gd/cert/run --rhost SimpleHalTest
Change-Id: I499835b0872c97f037cee68939247613bfa922da
Zach Johnson [Thu, 10 Dec 2020 22:27:43 +0000 (22:27 +0000)]
Merge changes I448e8ee9,I3b20f04b,I038364bc am:
2688c66292
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1516102
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I44d11162dade83a813019a2812c2f83f88a94a20
Zach Johnson [Tue, 8 Dec 2020 19:54:26 +0000 (11:54 -0800)]
rusty-gd: Allow paths and not just idents in submodules for GDDI
cleans up some boilerplate a bit
Bug:
171749953
Tag: #gd-refactor
Test: gd/cert/run --rhost
Change-Id: Ia521f76e19beb61da621ec80e85c2d4b54523148
Zach Johnson [Thu, 10 Dec 2020 20:37:05 +0000 (12:37 -0800)]
fix init flag parsing
late change to fix unit test broke rust side parsing
save pointer so we can restart for rust
Bug:
171749953
Tag: #gd-refactor
Test: gd/cert/run --rhost SimpleHalTest
Change-Id: I8796b79f036b312bf202e0124ab8e6cfc6732941
Zach Johnson [Tue, 8 Dec 2020 00:01:59 +0000 (16:01 -0800)]
rusty-gd: implement Stoppable for GDDI
All implementations are currently nops, but will be changed in an
upcoming CL
Bug:
171749953
Tag: #gd-refactor
Test: gd/cert/run --rhost
Change-Id: I5e4b77c136d8e7766519ee7096eb9d2f210c37b6
Zach Johnson [Thu, 10 Dec 2020 22:12:58 +0000 (22:12 +0000)]
Merge changes I448e8ee9,I3b20f04b,I038364bc
* changes:
rusty-gd: forward ACL channels in HciExports, expose over facades
rusty-gd: simplify hci facade implementation
rusty-gd: reorg hci internals
Zach Johnson [Thu, 10 Dec 2020 21:00:22 +0000 (21:00 +0000)]
Merge "rusty-gd: stub out HCI shim FFI" am:
71779af38d
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1515148
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I5686ad77b7ca2cdb37b5cdbb4056dfa175fc623c
Treehugger Robot [Thu, 10 Dec 2020 20:59:35 +0000 (20:59 +0000)]
Merge changes I48e01da5,Ic6a7bff6,I9a568d60,Id1b5926a am:
26dceb3ad4
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1516438
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Idddfdcd675274349a2c88c998f5365e962e26e5e
Zach Johnson [Thu, 10 Dec 2020 20:53:16 +0000 (20:53 +0000)]
Merge "rusty-gd: stub out HCI shim FFI"
Treehugger Robot [Thu, 10 Dec 2020 20:42:59 +0000 (20:42 +0000)]
Merge changes I48e01da5,Ic6a7bff6,I9a568d60,Id1b5926a
* changes:
Add stack/acl/btm_acl::link_policy_text
Add stack/include/gatt_api::gatt_op_code_text
Add API tL2C_LCB::number_of_active_dynamic_channels
Add stack/l2cap/l2c_api::fixed_channel_text
Zach Johnson [Thu, 10 Dec 2020 19:46:52 +0000 (19:46 +0000)]
Merge changes I428211dc,I20f897a8 am:
e8adbbb403
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1514975
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I2a4d9bcda23ab661c79488f2af312c455efd106a
Qasim Javed [Thu, 10 Dec 2020 19:41:25 +0000 (19:41 +0000)]
Merge changes I7fe4a9ee,I65e5688c,I0f04b289 am:
855ead0e80
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1520201
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I995f5e4c5e236cfe6322906270ab32e5f9230c8f
Zach Johnson [Thu, 10 Dec 2020 19:30:47 +0000 (19:30 +0000)]
Merge changes I428211dc,I20f897a8
* changes:
rusty-gd: reorganize HCI shim to make cpp and rust distinct
rusty-gd: move common stack logic to bt_main
Qasim Javed [Thu, 10 Dec 2020 19:23:10 +0000 (19:23 +0000)]
Merge changes I7fe4a9ee,I65e5688c,I0f04b289
* changes:
rusty-gd: Update new constructor and add parse constructor.
rusty-gd: Generate constructor for structs
rusty-gd: Generate struct declarations and enums
Hansong Zhang [Thu, 10 Dec 2020 18:54:42 +0000 (18:54 +0000)]
Stop address rotation when stack is shutdown am:
d56ea3c9eb
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1520938
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I22a7027057637d9486bad061427891df9a428807
Hansong Zhang [Thu, 10 Dec 2020 18:54:00 +0000 (18:54 +0000)]
L2cap shim: Clean up LE dynamic channel part am:
c9ee34efad
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1518449
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Icc689a09118f1fb9c1bc82906982ac1085dc8665
Chris Manton [Tue, 1 Dec 2020 23:23:45 +0000 (15:23 -0800)]
Add stack/acl/btm_acl::link_policy_text
Toward loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I48e01da55fdaaef9c3d56d49bc1feb13de618bd2
Chris Manton [Fri, 20 Nov 2020 18:05:23 +0000 (10:05 -0800)]
Add stack/include/gatt_api::gatt_op_code_text
Toward readable eode
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: Ic6a7bff6be50381f1e9b1df9f22be10f3df2ed29
Chris Manton [Thu, 19 Nov 2020 00:24:42 +0000 (16:24 -0800)]
Add API tL2C_LCB::number_of_active_dynamic_channels
Toward loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I9a568d60c444c1ec9811f4fd42ac3b371318aad2
Chris Manton [Thu, 19 Nov 2020 16:49:05 +0000 (08:49 -0800)]
Add stack/l2cap/l2c_api::fixed_channel_text
Toward loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: Id1b5926a82c7a90ed1c1591a2bf561772e9ce8b1
Hansong Zhang [Tue, 8 Dec 2020 20:53:30 +0000 (12:53 -0800)]
Stop address rotation when stack is shutdown
Tag: #stability
Bug:
174293979
Test: Start and stop the stack
Change-Id: I28846762271201384c1902eccc87029b4671f462
Hansong Zhang [Fri, 4 Dec 2020 23:37:27 +0000 (15:37 -0800)]
L2cap shim: Clean up LE dynamic channel part
Use cid token as a key for channels, just like what we did for classic,
to support multiple channels for the same PSM.
Also account for channel config and security policy.
Tag: #gd-refactor
Bug:
141555841
Test: cert/run --host
Test: CtsVerifier
Change-Id: Ia5a631e8603bbe51a2b53b1fe955e3f0c1e02325
Chris Manton [Thu, 10 Dec 2020 17:59:37 +0000 (17:59 +0000)]
enum-ify stack/include/gatt_api::GATT_OP_CODE_ am:
9998bb2d71
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1515434
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic40dbbeb26b3b9109ddb056a1e67f2f269ff7762
Zach Johnson [Thu, 3 Dec 2020 01:15:00 +0000 (17:15 -0800)]
rusty-gd: forward ACL channels in HciExports, expose over facades
Bug:
171749953
Tag: #gd-refactor
Test: gd/cert/run --rhost
Change-Id: I448e8ee990fefe480c6e6541157565c399374be6
Zach Johnson [Wed, 2 Dec 2020 21:45:19 +0000 (13:45 -0800)]
rusty-gd: stub out HCI shim FFI
Bug:
171749953
Tag: #gd-refactor
Test: gd/cert/run --rhost SimpleHalTest
Change-Id: I2e02896d344db953d1bfec6c5c7fdbdc8eb4a00c
Zach Johnson [Thu, 3 Dec 2020 01:01:27 +0000 (17:01 -0800)]
rusty-gd: simplify hci facade implementation
the extra complexity wasn't needed on the hal facade, so
we can simplify this one too
Bug:
171749953
Tag: #gd-refactor
Test: gd/cert/run --rhost
Change-Id: I3b20f04b549c70c10263a95a89a2ab5becfaccd5
Zach Johnson [Thu, 3 Dec 2020 00:30:29 +0000 (16:30 -0800)]
rusty-gd: reorg hci internals
with the intent of adding dynamically registered event receivers:
1. combine incoming and outgoing into a single selected dispatch (to
eliminate need to lock on pending commands)
2. add dynamically registered event receivers
Bug:
171749953
Tag: #gd-refactor
Test: gd/cert/run --rhost
Change-Id: I038364bc8d99b7ead4688f7570b79826fa7a1651
Zach Johnson [Wed, 2 Dec 2020 00:05:29 +0000 (16:05 -0800)]
rusty-gd: reorganize HCI shim to make cpp and rust distinct
Bug:
171749953
Tag: #gd-refactor
Test: gd/cert/run --rhost SimpleHalTest
Change-Id: I428211dc33aa9fa062626ac873b83e499719fdfb
Zach Johnson [Tue, 1 Dec 2020 21:08:36 +0000 (13:08 -0800)]
rusty-gd: move common stack logic to bt_main
prep for sharing with shim
Bug:
171749953
Tag: #gd-refactor
Test: gd/cert/run --rhost SimpleHalTest
Change-Id: I20f897a894973506cd777a5164c268db8fb2fc7d
Chris Manton [Fri, 20 Nov 2020 17:48:44 +0000 (09:48 -0800)]
enum-ify stack/include/gatt_api::GATT_OP_CODE_
Toward readable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I133f5bb129540404c1fb07dd5b3c068da725b4e5
Jakub Pawlowski [Thu, 10 Dec 2020 08:34:44 +0000 (08:34 +0000)]
Merge "Add LE Read ISO link quality" am:
45d5c0f81f
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1518047
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I4d4e84244453e7307fca898233925a67c8da56ba
Jakub Pawlowski [Thu, 10 Dec 2020 08:09:18 +0000 (08:09 +0000)]
Merge "Add LE Read ISO link quality"
Xin Li [Thu, 10 Dec 2020 03:04:55 +0000 (03:04 +0000)]
[automerger skipped] DO NOT MERGE - Merge Android R QPR1 am:
c23a525c0c -s ours
am skip reason: Change-Id Ibf87b4db0c49db9f489b2937bff9691258f71e16 with SHA-1
daaf0c11ee is in history
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1520896
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I729274fadcb81923f953f0b9f74f20b271d11e48
Xin Li [Thu, 10 Dec 2020 01:44:05 +0000 (17:44 -0800)]
DO NOT MERGE - Merge Android R QPR1
Bug:
172690556
Merged-In: Ibf87b4db0c49db9f489b2937bff9691258f71e16
Change-Id: Ied5bcebdcd24b61fd49e29f6b894b56b08909327
Zach Johnson [Wed, 9 Dec 2020 21:49:05 +0000 (21:49 +0000)]
Merge changes from topic "revert-
1518559-revert-
1512686-LIHRZNOOWL-ZWQBPCZFIZ" am:
9409f22301
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1521047
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ibf87b4db0c49db9f489b2937bff9691258f71e16
Zach Johnson [Wed, 9 Dec 2020 21:02:37 +0000 (21:02 +0000)]
Merge changes from topic "revert-
1518559-revert-
1512686-LIHRZNOOWL-ZWQBPCZFIZ"
* changes:
Revert "Revert "rusty-gd: add stack start stubs, define shim lib..."
Revert^2 "rusty-gd: move init_flag parsing to rust"
Revert^2 "rusty-gd: compile into libbluetooth"
Jakub Pawlowski [Tue, 8 Dec 2020 15:06:57 +0000 (16:06 +0100)]
Add LE Read ISO link quality
Tag: #feature
Test: manually verified HCI snoop log content
Bug:
150670922
Change-Id: I0d0f91b1f7e9e61079e429c1c8fb57028b4b52a3
Martin Brabham [Fri, 6 Nov 2020 22:14:08 +0000 (14:14 -0800)]
Cert: Run script additions
Default to host, don't require --host.
Most runs are host anyway. In order to run on device
specify --device.
This will open a new menu for selecting
a device if devices don't exist in the config. Otherwise,
it'll use the config settings.
Bug:
175149850
Test: cert/run --device
Tag: #gd-refactor
Change-Id: I033adc102833fd18e78e119ae59059bbff1048cb
Jakub Pawlowski [Wed, 9 Dec 2020 18:35:11 +0000 (18:35 +0000)]
Merge "btm: Add BIS related code to Iso Manager" am:
09a743275c
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1398110
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I0198d91eb70441c1548aa107d0d3988f8bed4930
Jakub Pawlowski [Wed, 9 Dec 2020 17:44:55 +0000 (17:44 +0000)]
Merge "btm: Add BIS related code to Iso Manager"
Qasim Javed [Tue, 8 Dec 2020 19:32:11 +0000 (11:32 -0800)]
rusty-gd: Update new constructor and add parse constructor.
Bug:
171749953
Tag: #gd-refactor
Test: gd/cert/run --rhost SimpleHalTest
Change-Id: I7fe4a9eef6ca37a2a4428bd7439398fc46744db0
Zach Johnson [Wed, 9 Dec 2020 00:39:55 +0000 (00:39 +0000)]
Revert "Revert "rusty-gd: add stack start stubs, define shim lib..."
Revert submission
1518559-revert-
1512686-LIHRZNOOWL
Reason for revert: build system fixed
Reverted Changes:
I760eea76d:Revert "rusty-gd: add stack start stubs, define sh...
I5740575cf:Revert "rusty-gd: move init_flag parsing to rust"
I0cfbe779c:Revert "rusty-gd: compile into libbluetooth"
Change-Id: I5f0f76450889d7906e9a763a4ebc5a46daf673b7
Zach Johnson [Wed, 9 Dec 2020 00:39:55 +0000 (00:39 +0000)]
Revert^2 "rusty-gd: move init_flag parsing to rust"
126ad36e2b8cd19d41cd60d056e704d7a5042f71
Change-Id: I93a7ee9a2fb6afda535f25348a7f94fac1a1d116
Zach Johnson [Wed, 9 Dec 2020 00:39:55 +0000 (00:39 +0000)]
Revert^2 "rusty-gd: compile into libbluetooth"
2cdb386684584e5472b77fd0a1bbf2c8d8d83979
Change-Id: I56860a238c483b55b5eb728eb8cd6cfb6ada4d28
Chris Manton [Tue, 8 Dec 2020 06:26:47 +0000 (06:26 +0000)]
Connect main::shim::acl to legacy dumpsys operation am:
c5362587d2
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1515433
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Id8fd80315788c4c368dfde392f86ec360d7e0c69
Xin Li [Mon, 7 Dec 2020 03:59:07 +0000 (19:59 -0800)]
DO NOT MERGE - Merge RQ1A.201205.011
Bug:
172690556
Merged-In: I0e8cdb9a00184f62d11fb06bc30f07b2a35bc49e
Change-Id: I7e1304fd99ee313360006f5b9a897de289d3ce2f
Xin Li [Sun, 6 Dec 2020 22:43:22 +0000 (14:43 -0800)]
DO NOT MERGE - Mark RQ1A.201004.001 as merged
Bug:
172690556
Change-Id: I34d9b0eb2cb43984423b2f857bad96bba8acf929
Chris Manton [Tue, 1 Dec 2020 22:11:43 +0000 (14:11 -0800)]
Connect main::shim::acl to legacy dumpsys operation
Toward loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I5288fe8eb2f4d9308c896d5c62e99efad35a3e51
Jeff DeCew [Fri, 4 Dec 2020 19:21:28 +0000 (19:21 +0000)]
Merge changes from topic "revert-
1512686-LIHRZNOOWL" am:
45f68e0caf
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1518559
Change-Id: I4f0fbac8df64f165cd609eb4128601c65edede6c
Jeff DeCew [Fri, 4 Dec 2020 18:23:51 +0000 (18:23 +0000)]
Merge changes from topic "revert-
1512686-LIHRZNOOWL"
* changes:
Revert "rusty-gd: compile into libbluetooth"
Revert "rusty-gd: move init_flag parsing to rust"
Revert "rusty-gd: add stack start stubs, define shim library"
Jeff DeCew [Fri, 4 Dec 2020 18:05:42 +0000 (18:05 +0000)]
Revert "rusty-gd: compile into libbluetooth"
Revert submission
1512686
Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?branch=aosp-master&target=mainline_modules&lkgb=
7010703&lkbb=
7011903&fkbb=
7010786, bug b/
174815635
Bug:
174815635
Reverted Changes:
I163111bc8:rusty-gd: move init_flag parsing to rust
I54cffe93d:rusty-gd: compile into libbluetooth
I5207f4df9:rusty-gd: add stack start stubs, define shim libra...
Change-Id: I0cfbe779c4cad43f92cbf0ffb1a4b9ed75205c72
Jeff DeCew [Fri, 4 Dec 2020 18:05:42 +0000 (18:05 +0000)]
Revert "rusty-gd: move init_flag parsing to rust"
Revert submission
1512686
Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?branch=aosp-master&target=mainline_modules&lkgb=
7010703&lkbb=
7011903&fkbb=
7010786, bug b/
174815635
Bug:
174815635
Reverted Changes:
I163111bc8:rusty-gd: move init_flag parsing to rust
I54cffe93d:rusty-gd: compile into libbluetooth
I5207f4df9:rusty-gd: add stack start stubs, define shim libra...
Change-Id: I5740575cf7790ed1ab43cc3f521e86f4ef6966e6
Jeff DeCew [Fri, 4 Dec 2020 18:05:42 +0000 (18:05 +0000)]
Revert "rusty-gd: add stack start stubs, define shim library"
Revert submission
1512686
Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?branch=aosp-master&target=mainline_modules&lkgb=
7010703&lkbb=
7011903&fkbb=
7010786, bug b/
174815635
Bug:
174815635
Reverted Changes:
I163111bc8:rusty-gd: move init_flag parsing to rust
I54cffe93d:rusty-gd: compile into libbluetooth
I5207f4df9:rusty-gd: add stack start stubs, define shim libra...
Change-Id: I760eea76d21b768acb76b8b9dd7f58c2519e0723
Zach Johnson [Fri, 4 Dec 2020 01:37:16 +0000 (01:37 +0000)]
Merge changes I5207f4df,I163111bc,I54cffe93 am:
e4ecfb54df
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1512686
Change-Id: Ie2004b5083c23b7f4a40950985d7928378d25ee2
Zach Johnson [Fri, 4 Dec 2020 00:56:48 +0000 (00:56 +0000)]
Merge changes I5207f4df,I163111bc,I54cffe93
* changes:
rusty-gd: add stack start stubs, define shim library
rusty-gd: move init_flag parsing to rust
rusty-gd: compile into libbluetooth
Chris Manton [Thu, 3 Dec 2020 10:11:14 +0000 (10:11 +0000)]
Add stack::test::btm::stack_back_test::InformBtmOnConnection am:
719efc75ef
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1512841
Change-Id: Idbd85adaae1f8d6c4adda3e79748021177ceda62
Chienyuan [Thu, 3 Dec 2020 08:41:01 +0000 (16:41 +0800)]
gd: implement APIs of Advertising for Android HCI
Tag: #gd-refactor
Bug:
169125803
Test: cert/run --host
Test: atest --host bluetooth_test_gd
Change-Id: Iddb9d4838f1fde7f151bd491a3a3ffd3bebf2cdf
Chienyuan [Wed, 2 Dec 2020 09:44:55 +0000 (17:44 +0800)]
gd: Fix flaky tests of LeAddressManager
Bug:
174541433
Tag: #gd-refactor
Test: atest bluetooth_test_gd
Change-Id: Ia3af25d2d4c3574c926e18b3d5d5c838316908b7
Xin Li [Thu, 3 Dec 2020 03:19:08 +0000 (03:19 +0000)]
Merge "Merge rvc-qpr-dev-plus-aosp-without-vendor@
6881855" into stage-aosp-master
Chris Manton [Sun, 29 Nov 2020 16:54:52 +0000 (08:54 -0800)]
Add stack::test::btm::stack_back_test::InformBtmOnConnection
Bug:
173769100
Test: net_test_stack_btm
Tag: #refactor
Change-Id: I4a03378bf80369d575c45cfe61345d78cabf7da2
Treehugger Robot [Thu, 3 Dec 2020 02:41:07 +0000 (02:41 +0000)]
Merge changes Ie5e3e056,I48cd10d0,I63bd15ef,I450dc10c am:
58a47975cd
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1512842
Change-Id: I7cae75a4941726f276d6ed42e4107e5b1ac229be
Treehugger Robot [Thu, 3 Dec 2020 02:31:03 +0000 (02:31 +0000)]
Merge changes Ie5e3e056,I48cd10d0,I63bd15ef,I450dc10c
* changes:
Propagate ACl connected through to BTA uplink
btm: Add main/shim/acl:: connection history
Remove unused #def main/shim/dumpsys::BOOL_TEXT
Add bluetooth::common::StringFormatTime
Treehugger Robot [Thu, 3 Dec 2020 02:30:51 +0000 (02:30 +0000)]
Merge changes from topic "gd_passkey" am:
a8fbe06037
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1515145
Change-Id: I007a921ea20ee6230a3c6ca54cc1ac92922faa3a
Treehugger Robot [Thu, 3 Dec 2020 02:30:06 +0000 (02:30 +0000)]
Merge changes from topic "gd_pin_code" am:
59db3648f0
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1515147
Change-Id: Icbc444adcd04034d6e841fd0951565829f05a437
Chris Manton [Wed, 25 Nov 2020 20:20:24 +0000 (12:20 -0800)]
Propagate ACl connected through to BTA uplink
Bug:
173769100
Tag: #refactor
Test: gd/cert/run --host
Change-Id: Ie5e3e056118dfa050fe4d90693338e4b614caac0
Treehugger Robot [Thu, 3 Dec 2020 02:10:00 +0000 (02:10 +0000)]
Merge changes from topic "gd_passkey"
* changes:
PySecurity: Clarify function name
Security Passkey: Send passkey from API to controller
Treehugger Robot [Thu, 3 Dec 2020 02:04:57 +0000 (02:04 +0000)]
Merge changes from topic "gd_pin_code"
* changes:
{Py,Cert}Security: Add function to input pin code
Security: Add pin code methods to Ui interface
Myles Watson [Thu, 3 Dec 2020 02:02:34 +0000 (18:02 -0800)]
gd ACL: Print warnings for invalid handles
Bug:
174450658
Test: cert/run
Tag: #stability
Change-Id: Ibf9b856f74f20b48149a6db78dcac43194aae296
Zach Johnson [Tue, 1 Dec 2020 19:17:13 +0000 (11:17 -0800)]
rusty-gd: add stack start stubs, define shim library
to avoid duplicate symbols, all CXX FFI integrated into the native code
needs to be from a single library. Move init_flags FFI into libbt_shim
too.
Bug:
171749953
Tag: #gd-refactor
Test: gd/cert/run --rhost SimpleHalTest
Change-Id: I5207f4df903cf434b470be84133179b04d5c9483
Chris Manton [Wed, 25 Nov 2020 02:38:19 +0000 (18:38 -0800)]
btm: Add main/shim/acl:: connection history
Toward loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I48cd10d0d4dee8632614f9b5c74be1f33358dee2