Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 001c4bf2 authored by More Kuo's avatar More Kuo
Browse files

BT: Make Bluetooth HCI VTS tests more stable

Extend to 600 ms sleep after BluetoothHci->close() to give HAL an ample
time to shutdown

Test: make, VtsHalBluetoothV1_0TargetTest
Bug: 176503623
Change-Id: If6d293167309b9dbcae94cf03199a6c95ecf9836
parent 3772ded0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ using ::android::hardware::bluetooth::V1_0::Status;
#define WAIT_FOR_HCI_EVENT_TIMEOUT std::chrono::milliseconds(2000)
#define WAIT_FOR_SCO_DATA_TIMEOUT std::chrono::milliseconds(1000)
#define WAIT_FOR_ACL_DATA_TIMEOUT std::chrono::milliseconds(1000)
#define INTERFACE_CLOSE_DELAY_MS std::chrono::milliseconds(200)
#define INTERFACE_CLOSE_DELAY_MS std::chrono::milliseconds(600)

#define COMMAND_HCI_SHOULD_BE_UNKNOWN \
  { 0xff, 0x3B, 0x08, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07 }