Home
last modified time | relevance | path

Searched refs:kTimeoutMs (Results 1 – 4 of 4) 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/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()
647 const int kTimeoutMs = 100; // 0.1s in TEST_F() local
648 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()