Home
last modified time | relevance | path

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

/frameworks/native/libs/vr/libdvr/tests/
Ddvr_buffer_queue-test.cpp47 if (write_queue_ != nullptr) { in TearDown()
48 api_.WriteBufferQueueDestroy(write_queue_); in TearDown()
49 write_queue_ = nullptr; in TearDown()
65 DvrWriteBufferQueue* write_queue_ = nullptr; member in __anon6b2dfa790111::DvrBufferQueueTest
73 /*capacity=*/0, sizeof(DvrNativeBufferMetadata), &write_queue_); in TEST_F()
76 api_.WriteBufferQueueDestroy(write_queue_); in TEST_F()
77 write_queue_ = nullptr; in TEST_F()
83 kQueueCapacity, sizeof(DvrNativeBufferMetadata), &write_queue_); in TEST_F()
86 size_t capacity = api_.WriteBufferQueueGetCapacity(write_queue_); in TEST_F()
95 /*capacity=*/0, sizeof(DvrNativeBufferMetadata), &write_queue_); in TEST_F()
[all …]
Ddvr_display-test.cpp33 if (write_queue_ != nullptr) { in TearDown()
34 api_.WriteBufferQueueDestroy(write_queue_); in TearDown()
35 write_queue_ = nullptr; in TearDown()
62 DvrWriteBufferQueue* write_queue_ = nullptr; member in DvrDisplayTest
93 kMetadataSize, &write_queue_); in TEST_F()
95 ASSERT_NE(nullptr, write_queue_) << "Write buffer queue should not be null."; in TEST_F()
101 ret = api_.WriteBufferQueueGainBuffer(write_queue_, kTimeoutMs, &write_buffer, in TEST_F()
113 ret = api_.WriteBufferQueuePostBuffer(write_queue_, write_buffer, &out_meta, in TEST_F()
145 kMetadataSize, &write_queue_); in TEST_F()
147 ASSERT_NE(nullptr, write_queue_) << "Write buffer queue should not be null."; in TEST_F()
[all …]
/frameworks/native/libs/vr/libbufferhubqueue/benchmarks/
Dbuffer_transport_benchmark.cpp327 kBufferUsage, 0, sizeof(DvrNativeBufferMetadata), &write_queue_); in BufferQueueHolder()
333 ret = dvr_.Api().WriteBufferQueueCreateReadQueue(write_queue_, in BufferQueueHolder()
348 dvr_.Api().WriteBufferQueueGetANativeWindow(write_queue_, &surface_); in BufferQueueHolder()
365 return write_queue_ != nullptr && read_queue_ != nullptr && in IsReady()
397 DvrWriteBufferQueue* write_queue_ = nullptr; member