OSDN Git Service

android-x86/system-bt.git
4 years agoMerge changes I29072204,Ica71783b am: ed462fcf82
Automerger Merge Worker [Thu, 27 Feb 2020 02:16:12 +0000 (02:16 +0000)]
Merge changes I29072204,Ica71783b am: ed462fcf82

Change-Id: Ifcffcb231e202a5e42a2e83d2444356682e93e50

4 years agoMerge "Simplify running cert tests and allow filtering, auto build" am: 1c8b8431e1
Automerger Merge Worker [Thu, 27 Feb 2020 02:15:42 +0000 (02:15 +0000)]
Merge "Simplify running cert tests and allow filtering, auto build" am: 1c8b8431e1

Change-Id: I79ee3131e95edf5acb868a3c1e8d81bbb0a51584

4 years agoMerge changes I29072204,Ica71783b
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

4 years agoMerge "Simplify running cert tests and allow filtering, auto build"
Treehugger Robot [Thu, 27 Feb 2020 02:03:23 +0000 (02:03 +0000)]
Merge "Simplify running cert tests and allow filtering, auto build"

4 years agoFix ACL Manager start_round_robin logic and add log am: 496bd9c56d
Automerger Merge Worker [Thu, 27 Feb 2020 01:28:17 +0000 (01:28 +0000)]
Fix ACL Manager start_round_robin logic and add log am: 496bd9c56d

Change-Id: I5f4a40a09fc657ce218e77a484ab9e48185e2080

4 years agoFix ACL Manager start_round_robin logic and add log
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

4 years agoMerge "gd: Add l2cap pts cert test" am: 425177e48a
Automerger Merge Worker [Wed, 26 Feb 2020 23:20:21 +0000 (23:20 +0000)]
Merge "gd: Add l2cap pts cert test" am: 425177e48a

Change-Id: I8e1fe881695dbc46c5cd87261be42709ebb95176

4 years agoMerge "gd: Add l2cap pts cert test"
Treehugger Robot [Wed, 26 Feb 2020 23:04:19 +0000 (23:04 +0000)]
Merge "gd: Add l2cap pts cert test"

4 years agoRename device_under_test and cert_device, to simpler more consistent names
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

4 years agoSimplify cert test setup
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

4 years agoSimplify running cert tests and allow filtering, auto build
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

4 years agogd: Add l2cap pts cert test
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

4 years agoBonding: pass device_type into GD shim and guess the transport am: bec4eaaec1
Automerger Merge Worker [Wed, 26 Feb 2020 14:11:43 +0000 (14:11 +0000)]
Bonding: pass device_type into GD shim and guess the transport am: bec4eaaec1

Change-Id: Icc9f36bfef4bfeefd86ff5d8ed2faf8574805938

4 years agoBonding: pass device_type into GD shim and guess the transport
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

4 years agoL2CAP: Don't crash when receiving from unopened channel am: 5788fa019e
Automerger Merge Worker [Wed, 26 Feb 2020 12:24:11 +0000 (12:24 +0000)]
L2CAP: Don't crash when receiving from unopened channel am: 5788fa019e

Change-Id: I1677e3c5c40426eb2654600e220db16ddbb3e732

4 years agoCertSelfTest: Fix test_l2cap_config_options am: 00eccc2531
Automerger Merge Worker [Wed, 26 Feb 2020 12:24:08 +0000 (12:24 +0000)]
CertSelfTest: Fix test_l2cap_config_options am: 00eccc2531

Change-Id: I06623d544b552d5cc2ff5a70dce8397de8a98ba6

4 years agoL2CAP: Don't crash when receiving from unopened channel
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

4 years agoCertSelfTest: Fix test_l2cap_config_options
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

4 years agoMerge "gd: Clean up acl after disconnect" am: 7694301744
Automerger Merge Worker [Tue, 25 Feb 2020 04:21:13 +0000 (04:21 +0000)]
Merge "gd: Clean up acl after disconnect" am: 7694301744

Change-Id: Ib35297df19f43f1387c50a31daf0a51069965ab6

4 years agoMerge "gd: Clean up acl after disconnect"
Treehugger Robot [Tue, 25 Feb 2020 04:14:33 +0000 (04:14 +0000)]
Merge "gd: Clean up acl after disconnect"

4 years agoL2CAP: Use PDL to build cert config am: bd3837827a
Automerger Merge Worker [Tue, 25 Feb 2020 03:59:10 +0000 (03:59 +0000)]
L2CAP: Use PDL to build cert config am: bd3837827a

Change-Id: Ie3749302ad1dfe5b496fd3cfc26bf390529b5bd2

4 years agoPDL: Always default initialize members am: f21b65a2bd
Automerger Merge Worker [Tue, 25 Feb 2020 03:59:08 +0000 (03:59 +0000)]
PDL: Always default initialize members am: f21b65a2bd

Change-Id: I96ba9e0ca6b13ea21618cd8afd371be87be209f7

4 years agoL2CAP: Always set the FCS type am: e69ef21f53
Automerger Merge Worker [Tue, 25 Feb 2020 03:59:06 +0000 (03:59 +0000)]
L2CAP: Always set the FCS type am: e69ef21f53

Change-Id: Ia8c2fc4b9daa8c982a4ab9e5644250d582b7b5ad

4 years agoPDL Pybind: Add _reparsed struct am: f72d024ed8
Automerger Merge Worker [Tue, 25 Feb 2020 03:59:04 +0000 (03:59 +0000)]
PDL Pybind: Add _reparsed struct am: f72d024ed8

Change-Id: I248691eb885864be354e0ab4678c74bd7160e4b6

4 years agoL2CAP: Use PDL to build cert config
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

4 years agoPDL: Always default initialize members
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

4 years agoL2CAP: Always set the FCS type
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

4 years agoPDL Pybind: Add _reparsed struct
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

4 years agogd: Clean up acl after disconnect
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

4 years agoMerge "Virtualenv: Check return value before popd" am: 579e0bd216
Automerger Merge Worker [Mon, 24 Feb 2020 20:13:10 +0000 (20:13 +0000)]
Merge "Virtualenv: Check return value before popd" am: 579e0bd216

Change-Id: I90249a43bcbe119d58097ce4c47c3820e2c4d623

4 years agoMerge "Virtualenv: Check return value before popd"
Treehugger Robot [Mon, 24 Feb 2020 20:04:39 +0000 (20:04 +0000)]
Merge "Virtualenv: Check return value before popd"

4 years agoSecurity: Allow UI handlers in either order am: 5a59911e3e
Automerger Merge Worker [Mon, 24 Feb 2020 17:46:51 +0000 (17:46 +0000)]
Security: Allow UI handlers in either order am: 5a59911e3e

Change-Id: Ie9a46a24004452f771a67cfbb2a2a5b5d3d0637f

4 years agoSecurity: Allow UI handlers in either order
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

4 years agoMerge "SHIM: Plumb UI for security" am: 9253abec5c
Automerger Merge Worker [Sun, 23 Feb 2020 03:28:02 +0000 (03:28 +0000)]
Merge "SHIM: Plumb UI for security" am: 9253abec5c

Change-Id: I1b5d04e0fad3916b2af6c1f42050a59bd4535d24

4 years agoMerge "SHIM: Plumb UI for security"
Martin Brabham [Sun, 23 Feb 2020 03:21:00 +0000 (03:21 +0000)]
Merge "SHIM: Plumb UI for security"

4 years agodoc: Fixing broken link in README am: 9012e96a88
Automerger Merge Worker [Sat, 22 Feb 2020 10:14:06 +0000 (10:14 +0000)]
doc: Fixing broken link in README am: 9012e96a88

Change-Id: I8afb6a086cf740a01a3f3f0905ac11efde17c095

4 years agoMerge changes Idbae0672,I3b4e9294 am: 5febd32026
Automerger Merge Worker [Sat, 22 Feb 2020 09:48:00 +0000 (09:48 +0000)]
Merge changes Idbae0672,I3b4e9294 am: 5febd32026

Change-Id: Ia3398d683cc70276c8ffbb70678609ff98f6e98c

4 years agodoc: Fixing broken link in README
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

4 years agoMerge changes Idbae0672,I3b4e9294
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

4 years agoMerge "Add functions to integrate the full spec of LDAC SNK" am: 2b876a8749
Automerger Merge Worker [Fri, 21 Feb 2020 23:11:00 +0000 (23:11 +0000)]
Merge "Add functions to integrate the full spec of LDAC SNK" am: 2b876a8749

Change-Id: I157c9b4ecf1dfa42fd6371bcfccebf5aff1f1ec5

4 years agoMerge "Add functions to integrate the full spec of LDAC SNK"
Treehugger Robot [Fri, 21 Feb 2020 22:53:25 +0000 (22:53 +0000)]
Merge "Add functions to integrate the full spec of LDAC SNK"

4 years agoAclManager: Unregister ACL Credit during Stop()
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

4 years agoCert: Clean up some unused code
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

4 years agoMerge "gd: l2cap classic fixed channel test" am: 5269d9d677
Automerger Merge Worker [Fri, 21 Feb 2020 22:37:14 +0000 (22:37 +0000)]
Merge "gd: l2cap classic fixed channel test" am: 5269d9d677

Change-Id: Id3aa3287a253e845520927e5310cf8715c70f2d7

4 years agoMerge "gd: l2cap classic fixed channel test"
Treehugger Robot [Fri, 21 Feb 2020 22:31:10 +0000 (22:31 +0000)]
Merge "gd: l2cap classic fixed channel test"

4 years agoMerge "Remove C++ cert stack" am: 1154e22ec4
Automerger Merge Worker [Fri, 21 Feb 2020 22:28:53 +0000 (22:28 +0000)]
Merge "Remove C++ cert stack" am: 1154e22ec4

Change-Id: Id1f89b0e45d36c7f30c4df8410226a2a684a5639

4 years agoMerge "Remove C++ cert stack"
Treehugger Robot [Fri, 21 Feb 2020 22:21:18 +0000 (22:21 +0000)]
Merge "Remove C++ cert stack"

4 years agoSHIM: Plumb UI for security
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

4 years agoVirtualenv: Check return value before popd
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

4 years agoMerge "Refactor of headless test to allow additional tests" am: 7c2d86ff45
Automerger Merge Worker [Fri, 21 Feb 2020 17:42:41 +0000 (17:42 +0000)]
Merge "Refactor of headless test to allow additional tests" am: 7c2d86ff45

Change-Id: I9a06b548c51dfdaf0c90473b89327ca96de3a7d9

4 years agoRemove C++ cert stack
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

4 years agoMerge "Refactor of headless test to allow additional tests"
Treehugger Robot [Fri, 21 Feb 2020 17:29:32 +0000 (17:29 +0000)]
Merge "Refactor of headless test to allow additional tests"

4 years agogd: l2cap classic fixed channel test
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

4 years agoMerge "L2capTest: Migrate all remaining test cases" am: 015b3c71da
Automerger Merge Worker [Fri, 21 Feb 2020 17:21:29 +0000 (17:21 +0000)]
Merge "L2capTest: Migrate all remaining test cases" am: 015b3c71da

Change-Id: Ia4775c8d93a41be3449473ca4fad5a37bd7abe7f

4 years agoMerge "L2CAP: Add test for L2CAP 2/7 Support of command information response" am...
Automerger Merge Worker [Fri, 21 Feb 2020 17:21:21 +0000 (17:21 +0000)]
Merge "L2CAP: Add test for L2CAP 2/7 Support of command information response" am: 9cce7c4407

Change-Id: I42ae0b7503a6eb7273e496ed357a6d5a6f6eaf8a

4 years agoMerge "gd: Fix legacy storage test config file" am: e4070f09a0
Automerger Merge Worker [Fri, 21 Feb 2020 17:20:45 +0000 (17:20 +0000)]
Merge "gd: Fix legacy storage test config file" am: e4070f09a0

Change-Id: I5609aa4341aa943b4ba76d699e04e3d8b62a9ad9

4 years agoMerge "L2capTest: Migrate all remaining test cases"
Treehugger Robot [Fri, 21 Feb 2020 17:09:02 +0000 (17:09 +0000)]
Merge "L2capTest: Migrate all remaining test cases"

4 years agoMerge "L2CAP: Add test for L2CAP 2/7 Support of command information response"
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"

4 years agoMerge "gd: Fix legacy storage test config file"
Treehugger Robot [Fri, 21 Feb 2020 16:57:23 +0000 (16:57 +0000)]
Merge "gd: Fix legacy storage test config file"

4 years agoL2capTest: Migrate all remaining test cases
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

4 years agoMerge "gd: Clean up bluetooth_test_gd" am: fbf6c3a408
Automerger Merge Worker [Fri, 21 Feb 2020 07:03:31 +0000 (07:03 +0000)]
Merge "gd: Clean up bluetooth_test_gd" am: fbf6c3a408

Change-Id: Ie1efcb167e5a50871452062473c23fd9e7f500e1

4 years agoMerge "gd: Clean up bluetooth_test_gd"
Treehugger Robot [Fri, 21 Feb 2020 06:49:47 +0000 (06:49 +0000)]
Merge "gd: Clean up bluetooth_test_gd"

4 years agoL2capTest: Migrate more test cases am: 22d38ed2b2
Automerger Merge Worker [Fri, 21 Feb 2020 06:14:01 +0000 (06:14 +0000)]
L2capTest: Migrate more test cases am: 22d38ed2b2

Change-Id: I848937eea9139d07dac82669c72e22d6ab0df00b

4 years agoL2CAP: Add test for L2CAP 2/7 Support of command information response
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

4 years agogd: Clean up bluetooth_test_gd
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

4 years agoL2capTest: Migrate more test cases
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

4 years agoMerge "L2CAP: Add test case for TSPC_L2CAP_2_7 Can Sent Reject" am: d850e02cd1
Automerger Merge Worker [Fri, 21 Feb 2020 03:16:02 +0000 (03:16 +0000)]
Merge "L2CAP: Add test case for TSPC_L2CAP_2_7 Can Sent Reject" am: d850e02cd1

Change-Id: Ie18d208a5d6a5c51ef3379723adef9ab5fa1ecd2

4 years agoMerge "L2CAP: Add test case for TSPC_L2CAP_2_7 Can Sent Reject"
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"

4 years agoMerge "L2capTest: Migrate basic ERTM test case" am: 0eb59918e8
Automerger Merge Worker [Fri, 21 Feb 2020 02:23:27 +0000 (02:23 +0000)]
Merge "L2capTest: Migrate basic ERTM test case" am: 0eb59918e8

Change-Id: I582b14b63ad79ecd0684ea7d57ca27a35f2504c8

4 years agoMerge "L2capTest: Migrate basic ERTM test case"
Treehugger Robot [Fri, 21 Feb 2020 02:10:31 +0000 (02:10 +0000)]
Merge "L2capTest: Migrate basic ERTM test case"

4 years agoAdd functions to integrate the full spec of LDAC SNK
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>
4 years agolink manager test am: 784b014dd2
Automerger Merge Worker [Fri, 21 Feb 2020 01:17:31 +0000 (01:17 +0000)]
link manager test am: 784b014dd2

Change-Id: I7753f1666e142b4391dc60f5e460df631045cd4b

4 years agogd: Fix legacy storage test config file
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

4 years agolink manager test
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

4 years agoL2capTest: Migrate basic ERTM test case
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

4 years agoRefactor of headless test to allow additional tests
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

4 years agoMerge "Fix call order for BTM shim RegisterInquiryCallbacks" am: e52ed0c24a
Automerger Merge Worker [Thu, 20 Feb 2020 19:21:23 +0000 (19:21 +0000)]
Merge "Fix call order for BTM shim RegisterInquiryCallbacks" am: e52ed0c24a

Change-Id: I37c85867221cef521b8a4583e477ebd98a7d64e9

4 years agoMerge "Fix call order for BTM shim RegisterInquiryCallbacks"
Treehugger Robot [Thu, 20 Feb 2020 19:07:46 +0000 (19:07 +0000)]
Merge "Fix call order for BTM shim RegisterInquiryCallbacks"

4 years agoOH MY COD! Why is gabledorsche plural? am: b0c306434c
Automerger Merge Worker [Thu, 20 Feb 2020 18:42:06 +0000 (18:42 +0000)]
OH MY COD! Why is gabledorsche plural? am: b0c306434c

Change-Id: I49af56102828d1f8355fcc364007598d5b39b46c

4 years agoOH MY COD! Why is gabledorsche plural?
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

4 years agoMerge changes Id1de1279,I4fb13f4b,I1f27fffa,I6f650623 am: 5e6c2a258e
Automerger Merge Worker [Thu, 20 Feb 2020 16:57:43 +0000 (16:57 +0000)]
Merge changes Id1de1279,I4fb13f4b,I1f27fffa,I6f650623 am: 5e6c2a258e

Change-Id: I2e60fc8e7664deed2a0ff2b9323ff4087a008033

4 years agoFix call order for BTM shim RegisterInquiryCallbacks
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

4 years agoMerge changes Id1de1279,I4fb13f4b,I1f27fffa,I6f650623
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

4 years agoMerge "L2capTest: Add common event handler and migrate test case" am: b1e79a61ea
Automerger Merge Worker [Thu, 20 Feb 2020 04:58:30 +0000 (04:58 +0000)]
Merge "L2capTest: Add common event handler and migrate test case" am: b1e79a61ea

Change-Id: Ic95551ec4dabfdddb91a8820df7b195c8a086709

4 years agoMerge "L2capTest: Add common event handler and migrate test case"
Treehugger Robot [Thu, 20 Feb 2020 04:48:28 +0000 (04:48 +0000)]
Merge "L2capTest: Add common event handler and migrate test case"

4 years agoMerge "L2CAP Cert with facade only initial commit" am: b0ab9e0212
Automerger Merge Worker [Thu, 20 Feb 2020 04:22:06 +0000 (04:22 +0000)]
Merge "L2CAP Cert with facade only initial commit" am: b0ab9e0212

Change-Id: I9cfdd9dca60a7dc6fd9429c0d6bf6c958b4c0ec1

4 years agoMerge "L2CAP Cert with facade only initial commit"
Treehugger Robot [Thu, 20 Feb 2020 04:03:39 +0000 (04:03 +0000)]
Merge "L2CAP Cert with facade only initial commit"

4 years agoL2capTest: Add common event handler and migrate test case
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

4 years agoMerge changes from topic "bt-avrcp-controller-cover-art" am: 4ce0b8f495
Automerger Merge Worker [Thu, 20 Feb 2020 02:18:29 +0000 (02:18 +0000)]
Merge changes from topic "bt-avrcp-controller-cover-art" am: 4ce0b8f495

Change-Id: Id14c4c0a7b86e03e9eee261b961d632e5ead06cb

4 years agoAdd cover artwork image handles to requested attributes objects am: 9b8db5c699
Automerger Merge Worker [Thu, 20 Feb 2020 02:18:27 +0000 (02:18 +0000)]
Add cover artwork image handles to requested attributes objects am: 9b8db5c699

Change-Id: If0160fafb9a047e22f608ba13c37058230b3cbf2

4 years agoFind cover art supported feature and send up to JNI am: 4cc3fbcd9f
Automerger Merge Worker [Thu, 20 Feb 2020 02:18:25 +0000 (02:18 +0000)]
Find cover art supported feature and send up to JNI am: 4cc3fbcd9f

Change-Id: I52ae2bcc01fa792d084426527c13a4d08e087be6

4 years agoIndicate support for controller cover art feature in SDP record am: 82d74bb88b
Automerger Merge Worker [Thu, 20 Feb 2020 02:18:22 +0000 (02:18 +0000)]
Indicate support for controller cover art feature in SDP record am: 82d74bb88b

Change-Id: Ib6e36401885a8b22435d3a8a2b90a842c9b5c055

4 years agoL2CAP Cert with facade only initial commit
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

4 years agoMerge changes from topic "bt-avrcp-controller-cover-art"
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

4 years agoAdd LeAclManagerTest, SimpleSecurityTest to dist am: 81616d0cbc
Automerger Merge Worker [Thu, 20 Feb 2020 01:42:40 +0000 (01:42 +0000)]
Add LeAclManagerTest, SimpleSecurityTest to dist am: 81616d0cbc

Change-Id: Ibecade6790b062509b6eac39cd581e6af8f7a454

4 years agoAdd LeAclManagerTest, SimpleSecurityTest to dist
Hansong Zhang [Wed, 19 Feb 2020 22:22:32 +0000 (14:22 -0800)]
Add LeAclManagerTest, SimpleSecurityTest to dist

Test: m dist bluetooth_stack_with_facade
Change-Id: Icb8922b2432c9e02b9a231614051d4b9573ce3b2

4 years agoMerge "Swap Cert and DUT index" am: 6bfb454e2d
Automerger Merge Worker [Thu, 20 Feb 2020 01:19:18 +0000 (01:19 +0000)]
Merge "Swap Cert and DUT index" am: 6bfb454e2d

Change-Id: Ibdd5491e4655e6080220a38e90bc479d55c76c98

4 years agoMerge "Swap Cert and DUT index"
Treehugger Robot [Thu, 20 Feb 2020 01:03:36 +0000 (01:03 +0000)]
Merge "Swap Cert and DUT index"

4 years agoGet rid of HciLayer shim
Jakub Pawlowski [Thu, 20 Feb 2020 00:25:54 +0000 (01:25 +0100)]
Get rid of HciLayer shim

Bug: 149757450
Change-Id: Id1de12794f3378301442dfab01e3857a5d1c9459

4 years agoPrepare to remove HCI layer shim
Jakub Pawlowski [Wed, 19 Feb 2020 23:09:52 +0000 (00:09 +0100)]
Prepare to remove HCI layer shim

Bug: 149757450
Change-Id: I4fb13f4b7d9a80540ce683eb13bf0e6da39b9fe6