Searched refs:kTimeoutMs (Results 1 - 4 of 4) sorted by relevance

/frameworks/native/libs/vr/libbufferhubqueue/tests/
H A Dbuffer_hub_queue-test.cpp28 constexpr int kTimeoutMs = 100; member in namespace:android::dvr::__anon1697
103 auto p1_status = producer_queue_->Dequeue(kTimeoutMs, &slot, &mo, &fence);
113 auto c1_status = consumer_queue_->Dequeue(kTimeoutMs, &slot, &mo, &fence);
165 producer_queue_->Dequeue(kTimeoutMs, &slot, &mo, &fence);
174 consumer_status = consumer_queue_->Dequeue(kTimeoutMs, &slot, &mo, &fence);
215 kTimeoutMs, &entry->slot, &mo, &entry->fence);
235 EXPECT_FALSE(WaitAndHandleOnce(consumer_queue_.get(), kTimeoutMs));
311 producer_queue_->Dequeue(kTimeoutMs, &slot, &mo, &fence);
340 WaitAndHandleOnce(producer_queue_.get(), kTimeoutMs);
344 producer_status = producer_queue_->Dequeue(kTimeoutMs,
[all...]
/frameworks/native/libs/vr/libpdx_uds/
H A Dchannel_event_set.cpp137 constexpr long kTimeoutMs = 0; local
138 return PollPendingEvents(kTimeoutMs);
/frameworks/native/libs/vr/libdvr/tests/
H A Ddvr_display-test.cpp60 static constexpr int kTimeoutMs = 1000; // Time for getting buffer. member in class:DvrDisplayTest
101 ret = api_.WriteBufferQueueGainBuffer(write_queue_, kTimeoutMs, &write_buffer,
158 write_queue_, kTimeoutMs, &write_buffer, &out_meta, &out_fence_fd);
250 write_queue_0, kTimeoutMs, &write_buffer_0, &out_meta_0, &out_fence_fd);
258 write_queue_1, kTimeoutMs, &write_buffer_1, &out_meta_1, &out_fence_fd);
H A Ddvr_display_manager-test.cpp174 enum : int { kTimeoutMs = 10000 }; // 10s
176 Status<void> WaitForUpdate(int timeout_ms = kTimeoutMs) { argument
644 const int kTimeoutMs = 100; // 0.1s local
645 EXPECT_STATUS_ERROR_VALUE(ETIMEDOUT, manager_->WaitForUpdate(kTimeoutMs));

Completed in 12 milliseconds