OSDN Git Service
Zach Johnson [Mon, 2 Mar 2020 04:36:05 +0000 (20:36 -0800)]
Fix config request/response order comments
Test: cert/run --host --test_filter=L2capTest
Change-Id: I85837206a8a609d6d0b699eca7f3e1d181d24f51
Zach Johnson [Mon, 2 Mar 2020 04:21:33 +0000 (20:21 -0800)]
Replace hardcoded control packet handling with lookup table
Test: cert/run --host --test_filter=L2capTest
Change-Id: I086fd6c0ba775eca5414e64d430664b102c7b931
Zach Johnson [Sun, 1 Mar 2020 07:47:45 +0000 (23:47 -0800)]
Simplify packet parsing/filtering for L2capTest
Test: cert/run --host --test_filter=L2capTest
Change-Id: I5578a52e89df4cf75a7ce7a330f0cca31610e093
Zach Johnson [Sun, 1 Mar 2020 05:34:05 +0000 (21:34 -0800)]
Replace direct usages of acl manager stream with acl link instead
Also migrate some asserts to cert.truth
Test: cert/run --host --test_filter=L2capTest
Change-Id: I36446c92f5ea57807129b25322a2e5de3af50981
Zach Johnson [Sun, 1 Mar 2020 05:23:10 +0000 (21:23 -0800)]
Register _handle_control_packet in a single place
No need for each test to register individually.
Test: cert/run --host --test_filter=L2capTest
Change-Id: Iafd263c78550b9eec4d2094b37ff4e7e8af6ef17
Zach Johnson [Sun, 1 Mar 2020 05:09:50 +0000 (21:09 -0800)]
Migrate to use cert_acl instead of cert_acl_handle
Test: cert/run --host --test_filter=L2capTest
Change-Id: I29300b6b2c3ebb67fd2dffb72c86d8a642a81b38
Zach Johnson [Sun, 1 Mar 2020 04:54:18 +0000 (20:54 -0800)]
Remove cert_acl_data_stream from _open_channel, as it can be inferred
Test: cert/run --host --test_filter=L2capTest
Change-Id: If8422986ef6dd23b118659ff1732aeebe256a9e8
Zach Johnson [Sun, 1 Mar 2020 04:45:28 +0000 (20:45 -0800)]
Remove cert_acl_handle return value, as it was not really used
Test: cert/run --host --test_filter=L2capTest
Change-Id: Ied877cd6331ad229530d27d8830cef76053cc9ef
Zach Johnson [Sun, 1 Mar 2020 04:30:04 +0000 (20:30 -0800)]
Begin migrating L2capTest to use PyAclManager
First step towards migrating the cert l2cap module to its own class.
Yes there are hacks - they will go away in a future change.
Test: cert/run --host --test_filter=L2capTest
Change-Id: If30d8ca405927eb43c1e520868b0a2862bf8d75b
Zach Johnson [Sun, 1 Mar 2020 03:46:03 +0000 (19:46 -0800)]
Begin PyL2cap, to make interfacing with l2cap facade easier
Test: cert/run --host --test_filter=L2capTest
Change-Id: Ib614e1fa3cbca96607b6a1715243479b37a31b89
Zach Johnson [Sun, 1 Mar 2020 03:19:45 +0000 (19:19 -0800)]
Add Closable, to reduce repeated code
Test: cert/run --host
Change-Id: Ia80f8e398fe4608ecd8d8a5e0b050681378ddf11
Zach Johnson [Sat, 29 Feb 2020 20:38:13 +0000 (12:38 -0800)]
Move captures & PyHci/PyAclManager to common cert
This way they can be used across tests.
Test: cert/run --host
Change-Id: I52c1ef1e9b24d2d143aa89a467a2eb535c8acb97
Zach Johnson [Sat, 29 Feb 2020 06:49:30 +0000 (22:49 -0800)]
Move common setup to setup_test & teardown_test
No need to repeat ourselves each time, and this saves
in indentation in the tests.
Test: cert/run --host
Change-Id: I909af4e8898344895b1234d27bbabc958d41f482
Zach Johnson [Sat, 29 Feb 2020 06:34:08 +0000 (22:34 -0800)]
Add IEventStream, so other subjects can use emit, etc
And use in PyHci & PyAclManager. Can't quite turn on filtering
on the ACL messages, due to the handles being wrong.
Test: cert/run --host --test_filter=AclManagerTest
Change-Id: I30ef332b06ae553553757337cd66da91f8debe3a
Zach Johnson [Sat, 29 Feb 2020 05:47:53 +0000 (21:47 -0800)]
Flesh out PyAclManager a little more
Test: cert/run --host --test_filter=AclManagerTest
Change-Id: Ifad59da2bbac45b897547711d638d7bbca397372
Zach Johnson [Sat, 29 Feb 2020 05:05:34 +0000 (21:05 -0800)]
Start PyAclManager, to simplify interaction with AclManager
Test: cert/run --host --test_filter=AclManagerTest
Change-Id: I336898fb439f5f48d87bdb735bae728164e4f6be
Zach Johnson [Sat, 29 Feb 2020 01:37:17 +0000 (17:37 -0800)]
Add PyHciAclConnection
Does not yet handle incoming data in an abstracted way.
Test: cert/run --host --test_filter=AclManagerTest
Change-Id: I68bbafdd65e5f76c8a368a5fd380634a4e93eaba
Zach Johnson [Sat, 29 Feb 2020 01:08:15 +0000 (17:08 -0800)]
Add PyHci helpers for page/scan and reading own address
Test: cert/run --host --test_filter=AclManagerTest
Change-Id: If61ab95a80f1a3f654ebf0fc9b63857c2b6b401d
Zach Johnson [Sat, 29 Feb 2020 00:59:04 +0000 (16:59 -0800)]
Add PyHci, to simplify interactions with HCI (not HCI_INTERFACES)
Test: cert/run --host --test_filter=AclManagerTest
Change-Id: Id9b7d89aba3369b32fa17759c912439ba43d37b3
Zach Johnson [Sat, 29 Feb 2020 00:24:13 +0000 (16:24 -0800)]
Add function on hci to send commands (with status and with complete)
No need for tests to each have their own implementation.
Test: cert/run --host --test_filter=AclManagerTest
Change-Id: I3213367fa162cde1179a98cb3d1801850f01aa61
Zach Johnson [Sat, 29 Feb 2020 00:10:08 +0000 (16:10 -0800)]
Add helper function on hci, to simplify hci event stream creation
Test: cert/run --host --test_filter=AclManagerTest
Change-Id: I0a0159eadc45dc54201ccea4b6167b059430de49
Zach Johnson [Fri, 28 Feb 2020 23:57:42 +0000 (15:57 -0800)]
Add function to request multiple event types from hci
Test: cert/run --host
Change-Id: I77788e0bbe536639627178a5d00f2a13eb91b208
Zach Johnson [Fri, 28 Feb 2020 23:56:21 +0000 (23:56 +0000)]
Merge changes I56018319,Id324c5b4,I73e50e6c
* changes:
Add captures, to clean up test logic and make tests easer to read
Add multi-matcher assert on EventStream, and expose through truth
Merge EventCallbackStream & EventAsserts into EventStream
Treehugger Robot [Fri, 28 Feb 2020 23:56:20 +0000 (23:56 +0000)]
Merge "Add event stream to cert/truth, and start using in AclManagerTest"
Treehugger Robot [Fri, 28 Feb 2020 23:56:14 +0000 (23:56 +0000)]
Merge "Add a truth module, to make cert asserts more fluent"
Treehugger Robot [Fri, 28 Feb 2020 22:48:11 +0000 (22:48 +0000)]
Merge "Register bond state change change callbacks in shim"
Treehugger Robot [Fri, 28 Feb 2020 22:36:39 +0000 (22:36 +0000)]
Merge "ModuleRegistry: Delete Module after all are stopped"
Treehugger Robot [Fri, 28 Feb 2020 22:30:01 +0000 (22:30 +0000)]
Merge "gd: l2cap Skip undefined options when parsing"
Zach Johnson [Fri, 28 Feb 2020 06:23:40 +0000 (22:23 -0800)]
Add captures, to clean up test logic and make tests easer to read
Test: cert/run --host
Change-Id: I560183190070bdb032960ea0b43da8ea6b8b4ffd
Zach Johnson [Fri, 28 Feb 2020 05:27:21 +0000 (21:27 -0800)]
Add multi-matcher assert on EventStream, and expose through truth
Test: cert/run --host --test_filter=CertSelfTest
Change-Id: Id324c5b47dd988c7d6f2597b67dba17614026ca0
Zach Johnson [Fri, 28 Feb 2020 04:09:06 +0000 (20:09 -0800)]
Merge EventCallbackStream & EventAsserts into EventStream
Simplifies testing logic a bit, support for multi-independent asserts
will come in a later patch, on EventStream.
Test: cert/run --host
Change-Id: I73e50e6c843cda0d8dbe69de5ced768efcd354e0
Zach Johnson [Thu, 27 Feb 2020 00:24:54 +0000 (16:24 -0800)]
Add event stream to cert/truth, and start using in AclManagerTest
Makes tests more fluent, and paves the way to more complex stream assertions
in the future.
Test: cert/run --host
Change-Id: I5f2b125da34ae4d72a24f4a13a612910ae732d54
Zach Johnson [Wed, 26 Feb 2020 23:49:02 +0000 (15:49 -0800)]
Add a truth module, to make cert asserts more fluent
More to come, with event streams.
Test: cert/run --host
Change-Id: Ie4a750c24990e9d848c673cde482ae8af71a39de
Chris Manton [Wed, 26 Feb 2020 19:59:56 +0000 (11:59 -0800)]
gd: l2cap Skip undefined options when parsing
Bug:
150426178
Test: bluetooth_test_gd
Change-Id: I3017c0c04e4799dfe99e01c7440bdc9915a15222
Hansong Zhang [Fri, 28 Feb 2020 00:44:11 +0000 (16:44 -0800)]
ModuleRegistry: Delete Module after all are stopped
If a Module is stopped, it may still receive callback from lower level
Module, because the callback may have already been in lower level
Module's Handler queue. Instead of deleting the stopped Module
immediately, wait until all Modules are stopped.
Bug:
150174451
Test: bluetooth_test_gd
Change-Id: I0b55fe0ac7da09332d381d2192235339a9dc23fa
Hansong Zhang [Thu, 27 Feb 2020 22:24:12 +0000 (14:24 -0800)]
L2capTest: Fix cert device name
Bug:
150174451
Test: cert/run --host
Change-Id: I14ed2ccc3b5bc58a545adfeaa3670c8828ff1b2f
Jakub Pawlowski [Fri, 28 Feb 2020 17:01:03 +0000 (18:01 +0100)]
Register bond state change change callbacks in shim
Without notifying bond success/failure, Settings will keep displaying
the pairing notification forever.
Bug:
147086339
Test: attempt to bond with remote device, cancel from remote
Change-Id: I55dfc35d35955a07973d20ade36cc9ec99c58a24
Zach Johnson [Wed, 26 Feb 2020 22:23:30 +0000 (14:23 -0800)]
Some simplifications to ControllerTest
Test: cert/run --host --test_filter=ControllerTest
Change-Id: I75de2d62ebe38ebe5942d7ab3d430303f4da61b3
Treehugger Robot [Fri, 28 Feb 2020 03:03:29 +0000 (03:03 +0000)]
Merge "Wire Security UI callback for pin entry cases"
Treehugger Robot [Thu, 27 Feb 2020 23:26:29 +0000 (23:26 +0000)]
Merge "SM: Fix cert test"
Jakub Pawlowski [Wed, 26 Feb 2020 13:24:10 +0000 (14:24 +0100)]
Wire Security UI callback for pin entry cases
Bug:
147086339
Change-Id: Ia15b0c95bff59010bb65da23eab4a02bd36834c3
Greg Kaiser [Thu, 27 Feb 2020 14:31:05 +0000 (06:31 -0800)]
Fix logic bug in shim
We want to check the BLE mask constant against the device_type
variable. Checking the make constant against itself was always
true.
Test: TreeHugger
Change-Id: Ifb157a4779b40210c3340439c2a6da30e276aa6a
Jakub Pawlowski [Wed, 26 Feb 2020 13:24:10 +0000 (14:24 +0100)]
Wire Security UI callbacks
Bug:
147086339
Change-Id: I719459314dd33d922a575126b74ee133f8ac2289
Martin Brabham [Wed, 26 Feb 2020 22:32:10 +0000 (14:32 -0800)]
SM: Fix cert test
Bug:
145638034
Test: ./cert/run_cert_facade_only.sh
Change-Id: I68214d6dc80455b6993fcc839071aa5c6eb18a85
Treehugger Robot [Thu, 27 Feb 2020 02:13:45 +0000 (02:13 +0000)]
Merge changes I29072204,Ica71783b
* changes:
Rename device_under_test and cert_device, to simpler more consistent names
Simplify cert test setup
Treehugger Robot [Thu, 27 Feb 2020 02:03:23 +0000 (02:03 +0000)]
Merge "Simplify running cert tests and allow filtering, auto build"
Hansong Zhang [Wed, 26 Feb 2020 20:32:23 +0000 (12:32 -0800)]
Fix ACL Manager start_round_robin logic and add log
Bug:
150174451
Test: cert/run_device_cert.sh
Change-Id: Id27b2bfe710cc8efccc5513a94e2c72160afef27
Treehugger Robot [Wed, 26 Feb 2020 23:04:19 +0000 (23:04 +0000)]
Merge "gd: Add l2cap pts cert test"
Zach Johnson [Wed, 26 Feb 2020 21:54:26 +0000 (13:54 -0800)]
Rename device_under_test and cert_device, to simpler more consistent names
Test: cert/run --host
Change-Id: I290722048206f9d5804bb181b7b2a068e09cc993
Zach Johnson [Wed, 26 Feb 2020 21:24:48 +0000 (13:24 -0800)]
Simplify cert test setup
Pass the dut_module and cert_module as arguments to setting up
the class. Use named arguments for clarity.
Test: cert/run --host
Change-Id: Ica71783bee2fac28fdc60b8e6e48d84890821384
Zach Johnson [Wed, 26 Feb 2020 20:26:20 +0000 (12:26 -0800)]
Simplify running cert tests and allow filtering, auto build
* Combine device and host into same scripts, switched on an argument
* Build automatically when you run
* Allow specifying a test filter, to run a specific test instead of all of them.
* Clean up file naming, to remove "facade only".
Test: gd/cert/run --host
Change-Id: I9d55c65f7fadc9b0a926aad03ad3a2ed8a5f0e63
Chris Manton [Wed, 26 Feb 2020 17:19:57 +0000 (09:19 -0800)]
gd: Add l2cap pts cert test
L2CAP/COS/CFD/BV-02-C
Bug:
150296337
Test: run_cert_facade_only.sh
Test: pts@bluetooth.com
Change-Id: I4c06cf2d5cb7ac9ab9126f55878b5596ec4a9bdc
Jakub Pawlowski [Tue, 25 Feb 2020 18:08:55 +0000 (19:08 +0100)]
Bonding: pass device_type into GD shim and guess the transport
Guessing tranport in legacy stack broke some pairing flows, move this
logic into GD
Change-Id: I3207ad9cce1674e089388cbae3bdacecc37907ea
Hansong Zhang [Tue, 25 Feb 2020 22:33:19 +0000 (14:33 -0800)]
L2CAP: Don't crash when receiving from unopened channel
Bug:
150174451
Test: cert/run_cert_facade_only.sh
Change-Id: I912f5741960aea75cab98d6c64cd161e272af15e
Hansong Zhang [Tue, 25 Feb 2020 19:24:57 +0000 (11:24 -0800)]
CertSelfTest: Fix test_l2cap_config_options
Test: cert/run_cert_facade_only.sh
Change-Id: Ia80aad37adc04da278ea30186ffac6fc4ec1a517
Treehugger Robot [Tue, 25 Feb 2020 04:14:33 +0000 (04:14 +0000)]
Merge "gd: Clean up acl after disconnect"
Myles Watson [Mon, 24 Feb 2020 22:39:51 +0000 (14:39 -0800)]
L2CAP: Use PDL to build cert config
Bug:
148096951
Test: ./cert/run_cert_facade_only.sh
Change-Id: I4c939b60aa9de8035069b042d8e6e5204fb839e7
Myles Watson [Mon, 24 Feb 2020 21:47:16 +0000 (13:47 -0800)]
PDL: Always default initialize members
For builders and structs, initialize members.
Bug:
148096951
Test: ./cert/run_cert_facade_only.sh
Change-Id: Idf8a58fac40515e931b6765e56f0c67be31695e2
Myles Watson [Mon, 24 Feb 2020 21:46:27 +0000 (13:46 -0800)]
L2CAP: Always set the FCS type
Bug:
148096951
Test: ./cert/run_cert_facade_only.sh
Change-Id: I33283e59c65eef7ee66d80883a9b3717b77eec64
Myles Watson [Fri, 21 Feb 2020 23:03:14 +0000 (15:03 -0800)]
PDL Pybind: Add _reparsed struct
Bug:
149936691
Test: ./cert/run_cert_facade_only.sh
Change-Id: Ifd35c891d196ae98904718fbb37f8d9b3c2eb96f
Chris Manton [Mon, 24 Feb 2020 21:53:14 +0000 (13:53 -0800)]
gd: Clean up acl after disconnect
link teardown final completion
Bug:
146086425
Test: bluetooth_test_gd
Test: pts tests with successsive remote requests
Change-Id: I36cf2128cab2229b58b5260b5f55e38938323e33
Treehugger Robot [Mon, 24 Feb 2020 20:04:39 +0000 (20:04 +0000)]
Merge "Virtualenv: Check return value before popd"
Jakub Pawlowski [Mon, 24 Feb 2020 16:22:00 +0000 (17:22 +0100)]
Security: Allow UI handlers in either order
Handle case when UI Handlers are invoked in different order
Bug:
150054218
Change-Id: I0f7a4fec63632771ac4ef1077e70c3f6020f6969
Martin Brabham [Sun, 23 Feb 2020 03:21:00 +0000 (03:21 +0000)]
Merge "SHIM: Plumb UI for security"
Alain Michaud [Fri, 21 Feb 2020 14:33:21 +0000 (14:33 +0000)]
doc: Fixing broken link in README
This change simply fixes a broken link in the readme doc.
BUG: None
Test: make sure the new link works.
Change-Id: I98c50c67f7d75b4cf3b6479403a995b0dfdc41cc
Treehugger Robot [Sat, 22 Feb 2020 09:38:37 +0000 (09:38 +0000)]
Merge changes Idbae0672,I3b4e9294
* changes:
AclManager: Unregister ACL Credit during Stop()
Cert: Clean up some unused code
Treehugger Robot [Fri, 21 Feb 2020 22:53:25 +0000 (22:53 +0000)]
Merge "Add functions to integrate the full spec of LDAC SNK"
Hansong Zhang [Fri, 21 Feb 2020 22:37:46 +0000 (14:37 -0800)]
AclManager: Unregister ACL Credit during Stop()
If Controller received ACL credit, but the listener (AclManager) is
stopped, it should not post event to the invalid Handler.
Bug:
150003349
Test: bluetooth_test_gd and cert/run_cert_facade_only.sh
Change-Id: Idbae0672897273542a009c8df9fbf9f6f00db298
Hansong Zhang [Fri, 21 Feb 2020 19:45:58 +0000 (11:45 -0800)]
Cert: Clean up some unused code
Test: cert/run_cert_facade_only.sh
Change-Id: I3b4e929427d5fee9ff1eca7f8481b09f8a07b3f7
Treehugger Robot [Fri, 21 Feb 2020 22:31:10 +0000 (22:31 +0000)]
Merge "gd: l2cap classic fixed channel test"
Treehugger Robot [Fri, 21 Feb 2020 22:21:18 +0000 (22:21 +0000)]
Merge "Remove C++ cert stack"
Martin Brabham [Wed, 19 Feb 2020 03:15:56 +0000 (19:15 -0800)]
SHIM: Plumb UI for security
Bug:
Test: bluetooth_test_gd
Change-Id: I1b10f3886b61ae5d37d8c9fa655e7e01c961a43e
Myles Watson [Fri, 21 Feb 2020 22:07:13 +0000 (14:07 -0800)]
Virtualenv: Check return value before popd
Test: ./cert/set_up_virtualenv.sh
Change-Id: I4b60a786be018560db9dafc16985705ae366c580
Hansong Zhang [Fri, 21 Feb 2020 17:32:31 +0000 (09:32 -0800)]
Remove C++ cert stack
Test: cert/run_cert_facade_only.sh
Change-Id: I91dc5569fbb0226b1b8e18ac62113803eea70c3d
Treehugger Robot [Fri, 21 Feb 2020 17:29:32 +0000 (17:29 +0000)]
Merge "Refactor of headless test to allow additional tests"
Chris Manton [Fri, 21 Feb 2020 16:16:07 +0000 (08:16 -0800)]
gd: l2cap classic fixed channel test
cleanup EXPECTs
Bug:
146363262
Test: bluetooth_test_gd --gtest_repeat=1000 # x86
Change-Id: Ibb9838d0c1014a187168571a375282b7686e60da
Treehugger Robot [Fri, 21 Feb 2020 17:09:02 +0000 (17:09 +0000)]
Merge "L2capTest: Migrate all remaining test cases"
Treehugger Robot [Fri, 21 Feb 2020 17:08:47 +0000 (17:08 +0000)]
Merge "L2CAP: Add test for L2CAP 2/7 Support of command information response"
Treehugger Robot [Fri, 21 Feb 2020 16:57:23 +0000 (16:57 +0000)]
Merge "gd: Fix legacy storage test config file"
Hansong Zhang [Fri, 21 Feb 2020 06:14:11 +0000 (22:14 -0800)]
L2capTest: Migrate all remaining test cases
Test: cert/run_cert_facade_only.sh
Bug:
14987419
Change-Id: Ie5bba8e9ce19cb3244a6d319e6bff20999a29c2c
Treehugger Robot [Fri, 21 Feb 2020 06:49:47 +0000 (06:49 +0000)]
Merge "gd: Clean up bluetooth_test_gd"
Ted Wang [Fri, 21 Feb 2020 05:53:06 +0000 (13:53 +0800)]
L2CAP: Add test for L2CAP 2/7 Support of command information response
Add test case L2CAP/COS/IEX/BV-02-C in origin test case for
L2CAP/COS/IEX/BV-02-C test_query_for_1_2_features since these two can be
done in one connection setup procedure
Add following test scripts in pts_l2cap_test:
test_L2CAP_IEX_BV_01_C
test_L2CAP_IEX_BV_02_C
Bug:
149468215
Test: run_cert.sh
Change-Id: Icbc727b95b18316d33bddbe2690841ac4e1cc308
Chris Manton [Fri, 21 Feb 2020 03:58:43 +0000 (19:58 -0800)]
gd: Clean up bluetooth_test_gd
Bug:
146363362
Test: bluetooth_test_gd
Change-Id: I0f3fb81d2b79b781918d18ea89a3ed64574a9610
Hansong Zhang [Thu, 20 Feb 2020 23:44:02 +0000 (15:44 -0800)]
L2capTest: Migrate more test cases
And fix some logic
Test: cert/run_cert_facade_only.sh
Bug:
14987419
Change-Id: Id6780f788b88eb33025a08a9396af9a254548d31
Ted Wang [Fri, 21 Feb 2020 02:54:59 +0000 (02:54 +0000)]
Merge "L2CAP: Add test case for TSPC_L2CAP_2_7 Can Sent Reject"
Treehugger Robot [Fri, 21 Feb 2020 02:10:31 +0000 (02:10 +0000)]
Merge "L2capTest: Migrate basic ERTM test case"
Chisato Kenmochi [Tue, 14 Jan 2020 07:54:10 +0000 (16:54 +0900)]
Add functions to integrate the full spec of LDAC SNK
The LDAC SNK product is required implemented a buffer control mechanism called LDAC Buffer Control Operation.
This CL adds functions that needed to integrate LDAC Buffer Control Operation.
Note: LDAC Buffer Control Operation is provided separately. Please contact Sony to obtain.
Test: manual test, establish A2dp Connection with LDAC and play music, additionally swap to alternate codecs
Change-Id: I7dc4a0a5aa35dab71325d884e2836acbb7176acc
Signed-off-by: Chisato Kenmochi <Chisato.Kenmochi@sony.com>
Chris Manton [Fri, 21 Feb 2020 00:19:54 +0000 (16:19 -0800)]
gd: Fix legacy storage test config file
Should point to appropriate target-based location
Bug:
147315979
Test: bluetooth_test_gd # x86
Test: bluetooth_test_gd # arm
Change-Id: Ic021edb63d1d9b0ee7e5947c7e53e0384d34b9e2
Chris Manton [Thu, 20 Feb 2020 23:49:43 +0000 (15:49 -0800)]
link manager test
Clean up EXPECTs
Bug:
146363313
Test: bluetooth_test_gd # on device
Test: bluetooth_test_gd # native
Change-Id: I2398f46380207e4e996a5cf0a4a7ea9c6add9b22
Hansong Zhang [Thu, 20 Feb 2020 18:30:50 +0000 (10:30 -0800)]
L2capTest: Migrate basic ERTM test case
And fixed the logic in control packet handler
Test: cert/run_cert_facade_only.sh
Bug:
14987419
Change-Id: Ibd7592c749350a4ac694586cff2bb37295e4c398
Chris Manton [Tue, 18 Feb 2020 15:56:15 +0000 (07:56 -0800)]
Refactor of headless test to allow additional tests
Bug:
147316415
Test: bt_headless --device=40:4e:36:56:f3:9b --loop=1 pairing
Test: bt_headless --device=40:4e:36:56:f3:9b --loop=1 --uuid=0x110e sdp
Change-Id: I202c7af885d86fd77fffeec5a87b56ffe18882da
Treehugger Robot [Thu, 20 Feb 2020 19:07:46 +0000 (19:07 +0000)]
Merge "Fix call order for BTM shim RegisterInquiryCallbacks"
Zach Johnson [Thu, 20 Feb 2020 17:50:48 +0000 (09:50 -0800)]
OH MY COD! Why is gabledorsche plural?
Link to a helpful explanation on why gabeldorsche and not gabeldorsch.
Change-Id: I978ac9ba88de0be42a3dde76eafeeca59b26b50e
Jakub Pawlowski [Thu, 20 Feb 2020 16:49:32 +0000 (17:49 +0100)]
Fix call order for BTM shim RegisterInquiryCallbacks
This currently causes crash on bringup of GD stack
Bug:
149757450
Test: start stack with GD enabled
Change-Id: Ie86d007dd9fcbab102b7c1e95c97ae5d9989fa29
Treehugger Robot [Thu, 20 Feb 2020 16:42:37 +0000 (16:42 +0000)]
Merge changes Id1de1279,I4fb13f4b,I1f27fffa,I6f650623
* changes:
Get rid of HciLayer shim
Prepare to remove HCI layer shim
Get rid of Advertising shim
Get rid of Inquiry shim
Treehugger Robot [Thu, 20 Feb 2020 04:48:28 +0000 (04:48 +0000)]
Merge "L2capTest: Add common event handler and migrate test case"
Treehugger Robot [Thu, 20 Feb 2020 04:03:39 +0000 (04:03 +0000)]
Merge "L2CAP Cert with facade only initial commit"
Hansong Zhang [Thu, 20 Feb 2020 01:25:41 +0000 (17:25 -0800)]
L2capTest: Add common event handler and migrate test case
Migrated L2cap tests to use facade only:
test_disconnect_on_timeout
test_respond_to_echo_request
test_reject_unknown_command
Test: cert/run_cert_facade_only.sh
Bug:
14987419
Change-Id: I809a95fbf148f3784377d05e630e69539f8f93ef
Hansong Zhang [Wed, 12 Feb 2020 00:25:37 +0000 (16:25 -0800)]
L2CAP Cert with facade only initial commit
Test: cert/run_cert_facade_only.sh
Bug:
149874197
Change-Id: I2ec34c19ee609ac8ef4f4da4cc8a9d66b6977543
Sal Savage [Thu, 20 Feb 2020 02:02:31 +0000 (02:02 +0000)]
Merge changes from topic "bt-avrcp-controller-cover-art"
* changes:
Find and capture cover art BIP PSM and send it to Java/JNI
Add cover artwork image handles to requested attributes objects
Find cover art supported feature and send up to JNI
Indicate support for controller cover art feature in SDP record