commit | 5e70b777efe0fcc5663c9ac6d1a9e4699ec42399 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | Tue Feb 18 15:02:34 2025 -0800 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Feb 18 15:02:34 2025 -0800 |
tree | a0a5371f2b0b0736ba0e867c80cc286e0e42cab5 | |
parent | 819883bef5407886e074c080d69e3f5a1d3773bc [diff] | |
parent | 67e1aeaf088eee045b00ddbccd81b13a3d52cfda [diff] |
Merge "Add an assertion to verify the size of the ACL queue." into main
diff --git a/bluetooth/1.0/vts/functional/VtsHalBluetoothV1_0TargetTest.cpp b/bluetooth/1.0/vts/functional/VtsHalBluetoothV1_0TargetTest.cpp index d0edfad..ff4ce3d 100644 --- a/bluetooth/1.0/vts/functional/VtsHalBluetoothV1_0TargetTest.cpp +++ b/bluetooth/1.0/vts/functional/VtsHalBluetoothV1_0TargetTest.cpp
@@ -534,6 +534,8 @@ // Check the loopback of the ACL packet ASSERT_TRUE(bluetooth_cb->WaitForCallback(kCallbackNameAclEventReceived) .no_timeout); + ASSERT_FALSE(acl_queue.empty()); + hidl_vec<uint8_t> acl_loopback = acl_queue.front(); acl_queue.pop();