OSDN Git Service
Automerger Merge Worker [Thu, 13 Feb 2020 06:24:22 +0000 (06:24 +0000)]
Security UI interface cleanup am:
4ce48335f8
Change-Id: I31cfb067bcc788dd2075483ccd4fae5816957867
Jakub Pawlowski [Wed, 12 Feb 2020 21:02:40 +0000 (22:02 +0100)]
Security UI interface cleanup
We currently have two separate UI interfaces for LE and Classic, this
patch merges them into single one.
Bug:
142341141
Test: tests updated
Change-Id: I5fa347a1d4d50d85bb051782ca27f38f3d146239
Automerger Merge Worker [Thu, 13 Feb 2020 02:35:37 +0000 (02:35 +0000)]
Merge "Pass UI Into Security Manager" am:
a22cc619cf
Change-Id: Ibbdfc480ea0f00c3c165fdc59ae3160bb65afd1b
Treehugger Robot [Thu, 13 Feb 2020 02:21:07 +0000 (02:21 +0000)]
Merge "Pass UI Into Security Manager"
Automerger Merge Worker [Wed, 12 Feb 2020 21:54:10 +0000 (21:54 +0000)]
Merge "Initialize device_type before use it" am:
f0b8df0614
Change-Id: I7b3893bde9f201aef06298cb145f8a7824a80de8
Treehugger Robot [Wed, 12 Feb 2020 21:44:44 +0000 (21:44 +0000)]
Merge "Initialize device_type before use it"
Jakub Pawlowski [Wed, 12 Feb 2020 18:19:11 +0000 (19:19 +0100)]
Pass UI Into Security Manager
Currently we have a static UI handler inside SecurityManagerImpl. Have
it passed from upper layers instead, to match what we will need in the
future.
Bug:
142341141
Change-Id: Iabc865a325b53c6455017347ade58ea23dd02a00
Automerger Merge Worker [Wed, 12 Feb 2020 18:15:36 +0000 (18:15 +0000)]
gd: Provide more info for unimplemented link responses am:
a32e71095a
Change-Id: Id8be8e3aedd3afca3490bdcce6fb6831d3102245
Chris Manton [Wed, 12 Feb 2020 16:45:24 +0000 (08:45 -0800)]
gd: Provide more info for unimplemented link responses
Provide the unimplemented event info as they occur
Bug:
146086425
Test: bluetooth_test_gd
Change-Id: I7b06be303cdb36748304775b9b8554d0c605288b
Ugo Yu [Wed, 12 Feb 2020 09:04:34 +0000 (17:04 +0800)]
Initialize device_type before use it
We are using the default value of device_type when the transport type
is unkown, initialize it in case we get something weird.
Bug:
149353835
Test: Manual
Change-Id: I56d13fcebdf330356d1214cb095fcd4d5e658ff9
Automerger Merge Worker [Wed, 12 Feb 2020 01:38:41 +0000 (01:38 +0000)]
Merge "Cert: Use site-packages instead of root" am:
48ed568ad8
Change-Id: Ib781208494cdb608d8b093798698af04aabb06ae
Automerger Merge Worker [Wed, 12 Feb 2020 01:38:27 +0000 (01:38 +0000)]
LE Pairing Handler wiring am:
6b15a20af4
Change-Id: Iaa7096109db6b2ffa425fbe3aa1cf8b7dbb27d97
Treehugger Robot [Wed, 12 Feb 2020 01:34:42 +0000 (01:34 +0000)]
Merge "Cert: Use site-packages instead of root"
Jakub Pawlowski [Mon, 10 Feb 2020 21:29:48 +0000 (22:29 +0100)]
LE Pairing Handler wiring
Test: manual : single pairing with LE device should pass
Bug:
142341141
Change-Id: I4ec096e2d728d4b4caea1f4c4b5ba85cadaea0ae
Automerger Merge Worker [Wed, 12 Feb 2020 00:49:14 +0000 (00:49 +0000)]
Merge "Increase allowed error in repeating_timer_unittest" am:
a8999e3c7d
Change-Id: I416250cd268d65c332e94c443113bde49e211d7a
Automerger Merge Worker [Wed, 12 Feb 2020 00:49:00 +0000 (00:49 +0000)]
Merge changes I5acd7ba9,If41d86e9,I4cea9ed3,I30a4ed0b am:
14e8936293
Change-Id: If33300b8aee17128cfc5daad3422588eb72f094f
Automerger Merge Worker [Wed, 12 Feb 2020 00:48:23 +0000 (00:48 +0000)]
Merge "DeviceCert: Add timeout for some test cases" am:
68d40fc755
Change-Id: Ic9bdb8239dc051a5e76de975db995791897f3fa5
Treehugger Robot [Wed, 12 Feb 2020 00:43:32 +0000 (00:43 +0000)]
Merge "Increase allowed error in repeating_timer_unittest"
Treehugger Robot [Wed, 12 Feb 2020 00:39:33 +0000 (00:39 +0000)]
Merge changes I5acd7ba9,If41d86e9,I4cea9ed3,I30a4ed0b
* changes:
Cert: Always unzip for host tests
HCI: Add LE AclManager tests
HCI: Advertise an address with D for DUT
HCI: Spell COMPLETE_ADVERTISEMENT
Hansong Zhang [Tue, 11 Feb 2020 22:41:54 +0000 (14:41 -0800)]
Increase allowed error in repeating_timer_unittest
Bug:
147469737
Test: atest bluetooth_test_common
Change-Id: I076192d55835b34300962e450407f8c21109ac1e
Treehugger Robot [Wed, 12 Feb 2020 00:32:13 +0000 (00:32 +0000)]
Merge "DeviceCert: Add timeout for some test cases"
Automerger Merge Worker [Tue, 11 Feb 2020 23:42:10 +0000 (23:42 +0000)]
Merge changes I685873b0,Iac3078fa am:
9eb605cf8c
Change-Id: Ifac858837a0af68784a362880271578ae57d411d
Treehugger Robot [Tue, 11 Feb 2020 23:25:30 +0000 (23:25 +0000)]
Merge changes I685873b0,Iac3078fa
* changes:
HF_Client: Send BTA_HF_CLIENT_RFC_CLOSE_EVT when client_cb == NULL
HF_Client: Free the RFC if the handle doesn't match
Myles Watson [Tue, 11 Feb 2020 21:46:10 +0000 (13:46 -0800)]
Cert: Always unzip for host tests
Bug:
148096951
Test: ./cert/run_cert_facade_only.sh
Change-Id: I5acd7ba9860b54dc9b5f984dc4c3f301a6bdef85
Myles Watson [Tue, 11 Feb 2020 21:45:20 +0000 (13:45 -0800)]
HCI: Add LE AclManager tests
Bug:
148096951
Test: ./cert/run_cert_facade_only.sh
Change-Id: If41d86e9b34ae5f74a1917a0f5de03d8f7a8892a
Myles Watson [Tue, 11 Feb 2020 00:16:01 +0000 (16:16 -0800)]
HCI: Advertise an address with D for DUT
Bug:
148096951
Test: ./cert/run_cert_facade_only.sh
Change-Id: I4cea9ed386b28a50507563681c3d14ef4df8c74d
Myles Watson [Tue, 11 Feb 2020 00:15:08 +0000 (16:15 -0800)]
HCI: Spell COMPLETE_ADVERTISEMENT
Bug:
148096951
Test: ./run/cert_facade_only.sh
Change-Id: I30a4ed0b6f71a4a546aae95fff39de97da262c6c
Jack He [Tue, 11 Feb 2020 22:47:37 +0000 (14:47 -0800)]
Cert: Use site-packages instead of root
* Symbolic link libraries in site-packages instead of root one
* Now we can finally run cert tests in virtualenv without PYTHONPATH
Example command without PYTHONPATH:
act.py -c $ANDROID_BUILD_TOP/system/bt/gd/cert/host_only_config.json -tf $ANDROID_BUILD_TOP/system/bt/gd/cert/cert_testcases_facade_only -tp $ANDROID_BUILD_TOP/system/bt/gd
Bug:
148147248
Test: set up virtual env and run tests
Change-Id: I42ba29602addab41059916071c5d0b42cf17fd8f
Automerger Merge Worker [Tue, 11 Feb 2020 22:36:34 +0000 (22:36 +0000)]
SecurityRecordDatabase am:
66b66414cc
Change-Id: Ia29199b2caeba79a1e8efdcd08f209edd1a153e5
Hansong Zhang [Tue, 11 Feb 2020 20:58:09 +0000 (12:58 -0800)]
DeviceCert: Add timeout for some test cases
Test: cert/run_device_cert.sh
Change-Id: I494634ed77d15c3c8bbd8bf7082fe004560dc5c5
Jakub Pawlowski [Tue, 11 Feb 2020 17:42:08 +0000 (18:42 +0100)]
SecurityRecordDatabase
Store SecurityRecords directly in vector, rather than shared_ptr
Move management of SecurityRecord into separate unit -
SecurityRecordDatabase.
Bug:
142341141
Change-Id: I0cc2dd8a7ddcf5a01117f0ebf7bd68111a93a2c5
Automerger Merge Worker [Tue, 11 Feb 2020 16:32:31 +0000 (16:32 +0000)]
Merge "DeviceCert: Fix AclManagerTest" am:
e0f872ac25
Change-Id: I1a576fda7be3f4852bf3cae25b32801da1556712
Hansong Zhang [Tue, 11 Feb 2020 16:20:44 +0000 (16:20 +0000)]
Merge "DeviceCert: Fix AclManagerTest"
Automerger Merge Worker [Tue, 11 Feb 2020 14:17:47 +0000 (14:17 +0000)]
Merge "RFCOMM: Refuse connection if max RFCOMM ports are used" am:
58cd3d00d8
Change-Id: I287981bc7832ec2f343a61d969b622a4d7e17c6c
Treehugger Robot [Tue, 11 Feb 2020 14:08:49 +0000 (14:08 +0000)]
Merge "RFCOMM: Refuse connection if max RFCOMM ports are used"
Automerger Merge Worker [Tue, 11 Feb 2020 08:50:21 +0000 (08:50 +0000)]
Merge "Cert: Add a script to set up the on device cert test" am:
f29a1c5662
Change-Id: I51f4bcea00743199ed0d88bfd952d1a0e6cb67e2
Treehugger Robot [Tue, 11 Feb 2020 08:35:59 +0000 (08:35 +0000)]
Merge "Cert: Add a script to set up the on device cert test"
Hansong Zhang [Tue, 11 Feb 2020 06:29:26 +0000 (22:29 -0800)]
DeviceCert: Fix AclManagerTest
Test: cert/run_device_cert.sh
Change-Id: I1b749ba95c536b9df55c0a882f21c87a6cf83dd5
Automerger Merge Worker [Tue, 11 Feb 2020 04:12:59 +0000 (04:12 +0000)]
SecurityRecord: naming and comments clarification am:
1b11f48184
Change-Id: I4823b346dcf0db5259d401de70f3ae76aa576420
Jakub Pawlowski [Mon, 10 Feb 2020 22:39:57 +0000 (23:39 +0100)]
SecurityRecord: naming and comments clarification
Change-Id: I1de20bb38d76d1dfd91d6f16e0909d7db7561203
Automerger Merge Worker [Tue, 11 Feb 2020 02:43:35 +0000 (02:43 +0000)]
Merge "BQR: Add Bluetooth Quality Report v2 feature" am:
440315e3b5
Change-Id: Idfc85062b1a169b2f4b81eab42df56537ecb58c4
Automerger Merge Worker [Tue, 11 Feb 2020 02:43:26 +0000 (02:43 +0000)]
DeviceCert: Fix LeAdvertisingManagerTest, LeScanningManagerTest am:
398342ffdd
Change-Id: I48b73f7e6085c66506c9df5e0240e18b2714c9c5
Ray Kuo [Tue, 11 Feb 2020 02:33:01 +0000 (02:33 +0000)]
Merge "BQR: Add Bluetooth Quality Report v2 feature"
Hansong Zhang [Fri, 7 Feb 2020 23:58:23 +0000 (15:58 -0800)]
DeviceCert: Fix LeAdvertisingManagerTest, LeScanningManagerTest
Initialize extended advertising config correctly
Use extended scan commands
Test: cert/run_device_cert.sh
Change-Id: Icac6e753cf0ec47b0ec8d4504769a060fd031c48
Automerger Merge Worker [Tue, 11 Feb 2020 00:46:10 +0000 (00:46 +0000)]
Cert: Use ResetBuilder in DirectHciTest am:
a9446ec461
Change-Id: If200b04a3d67b94fc4bd8f71890e2060e9dcaf47
Automerger Merge Worker [Tue, 11 Feb 2020 00:02:41 +0000 (00:02 +0000)]
AclManager: Add an incoming connection test am:
334e39bc03
Change-Id: I8b665a14bdc50c356d00e3c9775e81495ce03673
Automerger Merge Worker [Tue, 11 Feb 2020 00:02:38 +0000 (00:02 +0000)]
HCI: Connect without valid clock offsets am:
f8df82a69a
Change-Id: I81c4bded42fe00a64cb5143c548271868409c715
Martin Brabham [Tue, 4 Feb 2020 20:33:27 +0000 (12:33 -0800)]
Cert: Add a script to set up the on device cert test
This script follows the documentation and other information
derived from working with the testing framework.
Bug:
148147584
Test: ./cert/set_up_and_run_device_cert.sh
Change-Id: Ie89e2c67be36142ad5f445c43945b19c74992062
Myles Watson [Mon, 10 Feb 2020 23:15:11 +0000 (15:15 -0800)]
Cert: Use ResetBuilder in DirectHciTest
Bug:
148096951
Test: ./cert/run_device_cert.sh
Change-Id: If3e8e9af526662d59ade8778ae5949a5e5785cb3
Myles Watson [Wed, 22 Jan 2020 01:10:04 +0000 (17:10 -0800)]
AclManager: Add an incoming connection test
Add FetchIncomingConnection to get the next events.
Bug:
148096951
Test: ./cert/run_cert_facade_only.sh
Change-Id: I68576f027fb4a703e3dc360ac09c2206539feb8a
Myles Watson [Wed, 22 Jan 2020 01:10:04 +0000 (17:10 -0800)]
HCI: Connect without valid clock offsets
Bug:
148096951
Test: ./cert/run_cert_facade_only.sh
Change-Id: I3036f63704028f1deab038bebdfacb84dc5be6d9
Automerger Merge Worker [Mon, 10 Feb 2020 20:39:33 +0000 (20:39 +0000)]
Merge "gd: Pair 2 phones" am:
f06f075656
Change-Id: I1fe16350d3a2288b5afd6e421bce9a2bd5c639b4
Treehugger Robot [Mon, 10 Feb 2020 20:23:45 +0000 (20:23 +0000)]
Merge "gd: Pair 2 phones"
Automerger Merge Worker [Mon, 10 Feb 2020 19:13:50 +0000 (19:13 +0000)]
Merge "Cert: Always unzip the latest files quietly" am:
46e5eda5e7
Change-Id: I365ec662a87215bff2a891b4acdc90572941f628
Treehugger Robot [Mon, 10 Feb 2020 19:03:34 +0000 (19:03 +0000)]
Merge "Cert: Always unzip the latest files quietly"
Chris Manton [Mon, 10 Feb 2020 18:09:28 +0000 (10:09 -0800)]
gd: Pair 2 phones
Allow GD Pixel3 phones to pair with legacy Pixel2.
Dependent on a few other minor patches too large to be
written in the margin.
Bug:
141555841
Test: Paired GD Pixel 3 to legacy Pixel2
Test: bluetooth_test_gd
Change-Id: I76be337ac2b4041dd679b0caa169156af2f43eed
Automerger Merge Worker [Mon, 10 Feb 2020 17:54:29 +0000 (17:54 +0000)]
Merge "Controller: Add a sleep for the HostTest" am:
6f3b54245c
Change-Id: I0b15a54ef9d1b9f5005e43795b520a09337d13ee
Automerger Merge Worker [Mon, 10 Feb 2020 17:54:14 +0000 (17:54 +0000)]
Merge "DeviceCert: Fix some setup/cleanup" am:
dce29f21ce
Change-Id: I92459b9c4e4f9bc4fda944099fde1db0b2caad98
Myles Watson [Mon, 10 Feb 2020 17:51:39 +0000 (09:51 -0800)]
Cert: Always unzip the latest files quietly
Bug:
148096951
Test: ./cert/run_device_cert.sh after modifying a .proto file
Change-Id: I99c860a9d29bb48b44d99696b0e67a01d333cdd6
Treehugger Robot [Mon, 10 Feb 2020 17:51:41 +0000 (17:51 +0000)]
Merge "Controller: Add a sleep for the HostTest"
Treehugger Robot [Mon, 10 Feb 2020 17:50:53 +0000 (17:50 +0000)]
Merge "DeviceCert: Fix some setup/cleanup"
Automerger Merge Worker [Mon, 10 Feb 2020 17:48:07 +0000 (17:48 +0000)]
gd: Let acl manager handle encryption changes am:
4314bebfc8
Change-Id: Iaf6c33d6ec16fc66602fd8263d2e79da5a2bc66e
Ray Kuo [Thu, 19 Dec 2019 09:29:15 +0000 (17:29 +0800)]
BQR: Add Bluetooth Quality Report v2 feature
The BQR is designed to be separated into two parts, one is for the
stack/framework to be aware/handle (Quality_Event_Mask bit 0 ~ 15, event
triggering) and another one is the stack/framework does not need to
handle further (Quality_Event_Mask bit 16 ~ 31).
The BQR v2 adds four new events:
Bit 4 - Root Inflammation:
When the controller encounters an error it shall report Root
Inflammation event indicating the error code to the host.
Bit 16 - LMP/LL message trace:
The controller sends the LMP/LL message handshaking with the remote
device to the host.
Bit 17 - Bluetooth Multi-profile/Coex scheduling trace:
The controller sends its scheduling information on handling the
Bluetooth multiple profiles and wireless coexistence in the 2.4 Ghz band
to the host.
Bit 18 - Enable the Controller Debug Information mechanism:
After enabling the Controller Debug Information mechanism, the
controller just can autonomously report debug logging information via
the controller Debug Info sub-event to the host.
Bug:
136079361
Test: Verified four new added events.
Change-Id: Ie393606143f0158fbcc607e1f41ceceb00abd461
Automerger Merge Worker [Sun, 9 Feb 2020 05:39:19 +0000 (05:39 +0000)]
Merge "Allow link to receive acl manager events" am:
79fd67f2dc
Change-Id: I5471dc4165496c2c9e6ebdcc4eee105c22e52876
Chris Manton [Sat, 8 Feb 2020 05:05:53 +0000 (21:05 -0800)]
gd: Let acl manager handle encryption changes
Test: Compiles
Bug:
145638034
Change-Id: I5d1ba13b648d74dcb80b4ef94173b3ee6ea2942e
Treehugger Robot [Sun, 9 Feb 2020 05:16:47 +0000 (05:16 +0000)]
Merge "Allow link to receive acl manager events"
Automerger Merge Worker [Sun, 9 Feb 2020 04:10:42 +0000 (04:10 +0000)]
Merge "Cert: Add virtualenv setup for cert tests" am:
82666125fd
Change-Id: Ib35a4777747e86430a7017c08a75731aae652d27
Treehugger Robot [Sun, 9 Feb 2020 03:53:46 +0000 (03:53 +0000)]
Merge "Cert: Add virtualenv setup for cert tests"
Automerger Merge Worker [Sun, 9 Feb 2020 03:32:17 +0000 (03:32 +0000)]
gd: Add security policy check and plumb in shim am:
765e1319b2
Change-Id: If0ae878d4f6a83783aba0fc1eb07e3bd43402898
Chris Manton [Sun, 9 Feb 2020 02:01:23 +0000 (18:01 -0800)]
Allow link to receive acl manager events
Bug:
146086425
Test: bluetooth_test_gd
Change-Id: I479374d345ec5e9173dc684f5df5b8d98dad8e98
Chris Manton [Sun, 9 Feb 2020 01:43:42 +0000 (17:43 -0800)]
gd: Add security policy check and plumb in shim
Bug:
146086425
Test: bluetooth_test_gd
Change-Id: If765b204850a61330989f2e3f33eab2d5ae7dc3b
Hansong Zhang [Fri, 7 Feb 2020 22:22:05 +0000 (14:22 -0800)]
DeviceCert: Fix some setup/cleanup
Always set time, disable Bluetooth; always pull logs
Test: cert/run_device_cert.sh
Change-Id: Id826d704b27b991740adb3eb7a2080d104fd2696
Automerger Merge Worker [Sat, 8 Feb 2020 07:08:45 +0000 (07:08 +0000)]
gd: Plumb through security policy for service am:
fd5e776bfa
Change-Id: Ifd4116d54cc722bdb69e6671820332ae5f2f35e9
Jack He [Sat, 8 Feb 2020 05:28:39 +0000 (21:28 -0800)]
Cert: Add virtualenv setup for cert tests
* Add cert/set_up_virtualenv.sh for cert tests so that:
1) We can use common IDEs that work with virtualenv to edit GD cert
tests and libraries
2) We no longer have to use PYTHONPATH when running tests
3) Explicitly list dependencies in virtualenv setup to make the setup
more Android independent as it really just need that two ZIP files
* Fixed some import directives as gd/ should always be the import root
event when importing from the same directory
Bug:
148147248
Test: set up virtual env and run tests
Change-Id: Ie5b42dc87f2ff67910de085e96cf616b257b0b7f
Chris Manton [Sat, 8 Feb 2020 05:11:30 +0000 (21:11 -0800)]
gd: Plumb through security policy for service
Security policy gets checked to decide auth level
Bug:
140778599
Test: Compiles
Change-Id: I9fae4c0617f9d9826ed36a89e4d01f0d80f6ffa9
Automerger Merge Worker [Sat, 8 Feb 2020 05:06:24 +0000 (05:06 +0000)]
Merge "HAL: Use packets to simplify tests" am:
71798a00f9
Change-Id: I33279c0290317f9d2e64e1db5ea4514390d493da
Treehugger Robot [Sat, 8 Feb 2020 04:51:12 +0000 (04:51 +0000)]
Merge "HAL: Use packets to simplify tests"
Automerger Merge Worker [Sat, 8 Feb 2020 04:14:54 +0000 (04:14 +0000)]
Merge "gd: Expand shim security api" am:
65881261e1
Change-Id: I6a5b09d3327fbcec04aa7bd1ea0681fa1f880440
Treehugger Robot [Sat, 8 Feb 2020 03:56:41 +0000 (03:56 +0000)]
Merge "gd: Expand shim security api"
Chris Manton [Sat, 8 Feb 2020 02:07:48 +0000 (18:07 -0800)]
gd: Expand shim security api
Bug:
140778599
Test: Compiles
Change-Id: I4b31e126e938ab9f1904966c097526ed7d37c736
Automerger Merge Worker [Sat, 8 Feb 2020 01:38:49 +0000 (01:38 +0000)]
Merge "DO NOT MERGE - Merge QQ1A.200205.002 into master" am:
1e234caf30
Change-Id: I1f139664647d779c53106a4dc1035ae3ce46557d
Automerger Merge Worker [Sat, 8 Feb 2020 01:38:44 +0000 (01:38 +0000)]
DO NOT MERGE - Merge QQ1A.200205.002 into master am:
6fb3a849c9
Change-Id: Ic7e35f69e9b16b856c0e06160b22cb3e7528d919
Automerger Merge Worker [Sat, 8 Feb 2020 01:37:33 +0000 (01:37 +0000)]
Merge "L2CAP: Add link->Authenticate() back to classic trigger" am:
cbbe0dd6a6
Change-Id: Iea9bca196dc5dddda03ad2f8ad8cec7e79286856
Treehugger Robot [Sat, 8 Feb 2020 01:29:23 +0000 (01:29 +0000)]
Merge "DO NOT MERGE - Merge QQ1A.200205.002 into master"
Treehugger Robot [Sat, 8 Feb 2020 01:19:45 +0000 (01:19 +0000)]
Merge "L2CAP: Add link->Authenticate() back to classic trigger"
Automerger Merge Worker [Sat, 8 Feb 2020 00:35:15 +0000 (00:35 +0000)]
Cert: Sample code to skip a test am:
128e1d6448
Change-Id: I57645385b984538e502243e1cdf669385f6d285a
Myles Watson [Fri, 7 Feb 2020 21:47:36 +0000 (13:47 -0800)]
HAL: Use packets to simplify tests
Bug:
148096951
Test: ./cert/run_device_cert.sh && ./cert/run_cert_facade_only.sh
Change-Id: Ia81fd4fce96368b1317af3a918c2cf3fc36cd233
Myles Watson [Fri, 7 Feb 2020 23:42:26 +0000 (15:42 -0800)]
Controller: Add a sleep for the HostTest
Bug:
149120542
Test: ./cert/run_cert_facade_only.sh
Change-Id: I5d8de7b3599e6e4a0478ba37ee6caa178aa0674a
Martin Brabham [Fri, 7 Feb 2020 23:09:38 +0000 (15:09 -0800)]
L2CAP: Add link->Authenticate() back to classic trigger
Bug:
145638034
Test: bluetooth_test_gd
Change-Id: I7df8f5df6524b9ea617a0f1d1051a187777dd9a8
Automerger Merge Worker [Fri, 7 Feb 2020 19:09:49 +0000 (19:09 +0000)]
Cert: Run all test suites am:
e72c5d5e94
Change-Id: I696958937989045f9e2b23cdfa0666c7b8b2a80f
Hansong Zhang [Fri, 7 Feb 2020 18:43:38 +0000 (10:43 -0800)]
Cert: Sample code to skip a test
Note: It won't show a test as Passed, but Skipped instead
Test: cert/run_cert_facade_only.sh
Change-Id: I8bcf186876ad3378d6fbbc0a5c34041ba033535d
Hansong Zhang [Fri, 7 Feb 2020 07:05:17 +0000 (23:05 -0800)]
Cert: Run all test suites
Test: cert/run_device_cert.sh and cert/run_cert_facade_only.sh
Change-Id: I4e153e18c1824b4a59c13a6c89c2738c7b2fd723
Automerger Merge Worker [Fri, 7 Feb 2020 18:43:33 +0000 (18:43 +0000)]
DeviceCert: Set device time on test run am:
eeb130930f
Change-Id: I43d3a43ab18f55194d1e0d12a84a71d0c7df2ddd
Hansong Zhang [Fri, 7 Feb 2020 07:46:21 +0000 (23:46 -0800)]
DeviceCert: Set device time on test run
To ensure we get consistent timestamp
Test: cert/run_device_cert.sh
Bug:
148147248
Change-Id: I8bdf0cbe1a858d748787f5e19bff9bc523cb5621
Venkata Jagadeesh Garaga [Thu, 2 Jan 2020 07:16:01 +0000 (12:46 +0530)]
RFCOMM: Refuse connection if max RFCOMM ports are used
Issue:
When max RFCOMM ports are used, the stack returns the current listening
port as new port while accepting the incoming RFCOMM connection.
This leads to an assert.
Steps to reproduce
==================
1. Connect DUT with RFCOMM clients until all 30 RFCOMM ports used.
(DUT using 17 ports for RFCOMM servers and 13 ports for clients)
3. Initiate SPP connection from remote to DUT
Bluetooth restarted due to assert in RFCOMM
Expected results: Incoming connection fails
Fix: Return null instead of current listening port when new port
creation fails
Test: Simulated scenario by reducing max rfc ports and tested
Bug:
147075796
Change-Id: I46cd8e6707575e9cb92670136c9d6e4b9988eb53
Automerger Merge Worker [Fri, 7 Feb 2020 08:32:16 +0000 (08:32 +0000)]
Cert: Avoid negative wait times am:
95aed0eb1a
Change-Id: Ibd420d1f272cc7de954ac24440a8a6cfdc497e31
Automerger Merge Worker [Fri, 7 Feb 2020 07:13:30 +0000 (07:13 +0000)]
HCI: Use ExtendedAdvertising in tests am:
a7f62e98e6
Change-Id: I77553b44fb632b80ebc1896c384bdee11375bf5c
Automerger Merge Worker [Fri, 7 Feb 2020 07:13:28 +0000 (07:13 +0000)]
DirectHciTest: Increase the classic timeout am:
6fb39f28ff
Change-Id: I53f40839e779406205283e32c99307423bed13d6
Automerger Merge Worker [Fri, 7 Feb 2020 07:13:26 +0000 (07:13 +0000)]
RootCanal: Add LeExtendedAdvertising, Connection am:
546cb46c76
Change-Id: I36557a2608528246c3f143003a1175366cb8fbd7
Myles Watson [Thu, 6 Feb 2020 21:57:15 +0000 (13:57 -0800)]
Cert: Avoid negative wait times
Bug:
148096951
Test: ./cert/run_device_cert.sh && ./cert/run_cert_facade_only.sh
Change-Id: I58c71b9ee0cadf00342db3863dcb565914250583