Home
last modified time | relevance | path

Searched refs:event_queue (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/bluetooth/1.0/vts/functional/
DVtsHalBluetoothV1_0TargetTest.cpp226 EXPECT_EQ(static_cast<size_t>(0), event_queue.size()); in TearDown()
277 parent_.event_queue.push(event); in hciEventReceived()
303 std::queue<hidl_vec<uint8_t>> event_queue; member in BluetoothHidlTest
321 while (event_queue.size() > 0) { in handle_no_ops()
322 hidl_vec<uint8_t> event = event_queue.front(); in handle_no_ops()
333 event_queue.pop(); in handle_no_ops()
361 ASSERT_LT(static_cast<size_t>(0), event_queue.size()); in wait_for_event()
363 if (event_queue.size() == 0) { in wait_for_event()
368 } while (event_queue.size() == 0); in wait_for_event()
374 hidl_vec<uint8_t> event = event_queue.front(); in wait_for_command_complete_event()
[all …]
/hardware/interfaces/bluetooth/1.1/vts/functional/
DVtsHalBluetoothV1_1TargetTest.cpp227 EXPECT_EQ(static_cast<size_t>(0), event_queue.size()); in TearDown()
279 parent_.event_queue.push(event); in hciEventReceived()
313 std::queue<hidl_vec<uint8_t>> event_queue; member in BluetoothHidlTest
333 while (event_queue.size() > 0) { in handle_no_ops()
334 hidl_vec<uint8_t> event = event_queue.front(); in handle_no_ops()
345 event_queue.pop(); in handle_no_ops()
373 EXPECT_LT(static_cast<size_t>(0), event_queue.size()); in wait_for_event()
375 if (event_queue.size() == 0) { in wait_for_event()
380 } while (event_queue.size() == 0); in wait_for_event()
386 hidl_vec<uint8_t> event = event_queue.front(); in wait_for_command_complete_event()
[all …]
/hardware/interfaces/bluetooth/aidl/vts/
DVtsHalBluetoothTargetTest.cpp209 EXPECT_EQ(static_cast<size_t>(0), event_queue.size()); in TearDown()
263 parent_.event_queue.push(event); in hciEventReceived()
379 WaitQueue<std::vector<uint8_t>> event_queue; member in BluetoothAidlTest
401 while (!event_queue.empty()) { in handle_no_ops()
403 event_queue.front(event); in handle_no_ops()
417 event_queue.pop(); in handle_no_ops()
445 bool event_ready = event_queue.waitWithTimeout(kWaitForHciEventTimeout); in wait_for_event()
447 if (event_queue.empty()) { in wait_for_event()
452 if (!event_queue.empty()) { in wait_for_event()
462 ASSERT_FALSE(event_queue.empty()); in wait_for_command_complete_event()
[all …]