Commit Graph

5 Commits

Author SHA1 Message Date
Myles Watson
bcc997bdf3 Bluetooth: Add a test for alignment
Bug: 276652301
Test: atest --host bluetooth-vendor-interface-hci-test
Change-Id: I3e862dd88aeed65e7a4ef1f9a223cc520a1ccc54
2023-04-21 16:48:16 +00:00
Henri Chataing
2845303342 Fix HCI parser and packetizer
Issue found from the test H4ProtocolAsyncTest#TestMultiplePackets.
The packetizer does not correctly handle a packet termination
at the beginning of a chunk.

Test: atest --host bluetooth-vendor-interface-hci-test
Bug: 276652301
Change-Id: I1b61efcfa5f817fdb8b5870e81d660be5279fdea
2023-04-21 16:10:22 +00:00
Myles Watson
f99027f39a H4ProtocolTest: Time out after 5 seconds
This test isn't a performance test.  In rare cases it
takes longer than 100ms (usually around 5ms).

Bug: 268408355
Test: bluetooth-btlinux-hci-test
Change-Id: I6d2f23eb05541bc0f9676cbfd8b097340a131e09
2023-02-09 09:30:52 -08:00
Myles Watson
022e49b684 Bluetooth HAL: Fail loudly on a write failure
Bug: 205758693
Test: VtsHalBluetoothTargetTest
Change-Id: I2151b324247a83a454b81c28c9f0f5cd5581be09
2023-01-20 17:49:06 -08:00
Myles Watson
e4501e549c Start with async and HCI
Bug: 205758693
Test: unit tests
Change-Id: I16a8be44bce5f2d233582ab6db17c30d068fa9c0
2022-11-01 09:29:23 -07:00