Home
last modified time | relevance | path

Searched refs:kTimeoutMs (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/libs/vr/libbufferhubqueue/tests/
Dbuffer_hub_queue-test.cpp30 constexpr int kTimeoutMs = 100; variable
105 auto p1_status = producer_queue_->Dequeue(kTimeoutMs, &slot, &mo, &fence); in TEST_F()
115 auto c1_status = consumer_queue_->Dequeue(kTimeoutMs, &slot, &mo, &fence); in TEST_F()
146 producer_queue_->Dequeue(kTimeoutMs, &producer_slot, &mo, &fence, true); in TEST_F()
165 consumer_queue_->Dequeue(kTimeoutMs, &consumer_slot, &mo, &fence); in TEST_F()
179 producer_queue_->Dequeue(kTimeoutMs, &producer_slot, &mo, &fence, true); in TEST_F()
194 producer_queue_->Dequeue(kTimeoutMs, &producer_slot, &mo, &fence, true); in TEST_F()
227 producer_queue_->Dequeue(kTimeoutMs, &slot, &mo, &fence, true); in TEST_F()
253 producer_queue_->Dequeue(kTimeoutMs, &slot, &mo, &fence, true); in TEST_F()
308 producer_queue_->Dequeue(kTimeoutMs, &slot, &mo, &fence); in TEST_F()
[all …]
/frameworks/native/libs/ui/tests/
DBufferHubEventFd_test.cpp37 const std::chrono::milliseconds kTimeoutMs(kTimeout);
330 EXPECT_TRUE(cv.wait_for(lock, kTimeoutMs, [&] { return countEvent1 == 1; })); in TEST_F()
333 EXPECT_TRUE(cv.wait_for(lock, kTimeoutMs, [&] { return countEvent1 == 2; })); in TEST_F()
336 EXPECT_TRUE(cv.wait_for(lock, kTimeoutMs, [&] { return countEvent2 == 1; })); in TEST_F()
344 EXPECT_TRUE(cv.wait_for(lock, kTimeoutMs, [&] { return countEvent1 == 3; })); in TEST_F()
347 EXPECT_TRUE(cv.wait_for(lock, kTimeoutMs, [&] { return countEvent2 == 2; })); in TEST_F()
407 EXPECT_TRUE(cv.wait_for(lock, kTimeoutMs, [&] { return countEpoll1 == 1; })); in TEST_F()
408 EXPECT_TRUE(cv.wait_for(lock, kTimeoutMs, [&] { return countEpoll2 == 1; })); in TEST_F()
411 EXPECT_TRUE(cv.wait_for(lock, kTimeoutMs, [&] { return countEpoll1 == 2; })); in TEST_F()
412 EXPECT_TRUE(cv.wait_for(lock, kTimeoutMs, [&] { return countEpoll2 == 2; })); in TEST_F()
[all …]
/frameworks/native/libs/vr/libdvr/tests/
Ddvr_display-test.cpp60 static constexpr int kTimeoutMs = 1000; // Time for getting buffer. member in DvrDisplayTest
101 ret = api_.WriteBufferQueueGainBuffer(write_queue_, kTimeoutMs, &write_buffer, in TEST_F()
158 write_queue_, kTimeoutMs, &write_buffer, &out_meta, &out_fence_fd); in TEST_F()
250 write_queue_0, kTimeoutMs, &write_buffer_0, &out_meta_0, &out_fence_fd); in TEST_F()
258 write_queue_1, kTimeoutMs, &write_buffer_1, &out_meta_1, &out_fence_fd); in TEST_F()
Ddvr_display_manager-test.cpp194 enum : int { kTimeoutMs = 10000 }; // 10s enumerator
196 Status<void> WaitForUpdate(int timeout_ms = kTimeoutMs) { in WaitForUpdate()
655 const int kTimeoutMs = 100; // 0.1s in TEST_F() local
656 EXPECT_STATUS_ERROR_VALUE(ETIMEDOUT, manager_->WaitForUpdate(kTimeoutMs)); in TEST_F()
/frameworks/native/libs/vr/libpdx_uds/
Dchannel_event_set.cpp137 constexpr long kTimeoutMs = 0; in GetPendingEvents() local
138 return PollPendingEvents(kTimeoutMs); in GetPendingEvents()