Home
last modified time | relevance | path

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

/frameworks/native/libs/vr/libdvr/
Ddvr_buffer_queue.cpp119 auto buffer_status = in dvrWriteBufferQueueDequeue() local
121 if (!buffer_status) { in dvrWriteBufferQueueDequeue()
122 ALOGE_IF(buffer_status.error() != ETIMEDOUT, in dvrWriteBufferQueueDequeue()
124 buffer_status.GetErrorMessage().c_str()); in dvrWriteBufferQueueDequeue()
125 return -buffer_status.error(); in dvrWriteBufferQueueDequeue()
128 write_buffer->write_buffer = buffer_status.take(); in dvrWriteBufferQueueDequeue()
190 auto buffer_status = read_queue->consumer_queue->Dequeue( in dvrReadBufferQueueDequeue() local
192 if (!buffer_status) { in dvrReadBufferQueueDequeue()
193 ALOGE_IF(buffer_status.error() != ETIMEDOUT, in dvrReadBufferQueueDequeue()
195 buffer_status.GetErrorMessage().c_str()); in dvrReadBufferQueueDequeue()
[all …]
Ddvr_display_manager.cpp122 auto buffer_status = in dvrDisplayManagerSetupNamedBuffer() local
124 if (!buffer_status) { in dvrDisplayManagerSetupNamedBuffer()
126 buffer_status.GetErrorMessage().c_str()); in dvrDisplayManagerSetupNamedBuffer()
127 return -buffer_status.error(); in dvrDisplayManagerSetupNamedBuffer()
130 *buffer_out = CreateDvrBufferFromIonBuffer(buffer_status.take()); in dvrDisplayManagerSetupNamedBuffer()
/frameworks/native/libs/vr/libbufferhubqueue/
Dbuffer_hub_queue_client.cpp242 auto buffer_status = OnBufferAllocated(); in HandleQueueEvent() local
243 if (!buffer_status) { in HandleQueueEvent()
245 buffer_status.GetErrorMessage().c_str()); in HandleQueueEvent()
466 auto buffer_status = in Dequeue() local
468 if (!buffer_status) in Dequeue()
469 return buffer_status.error_status(); in Dequeue()
471 return {std::static_pointer_cast<BufferProducer>(buffer_status.take())}; in Dequeue()
601 auto buffer_status = in Dequeue() local
603 if (!buffer_status) in Dequeue()
604 return buffer_status.error_status(); in Dequeue()
[all …]
Dbuffer_hub_queue_producer.cpp160 auto buffer_status = queue_->Dequeue(dequeue_timeout_ms_, &slot, &fence); in dequeueBuffer() local
162 buffer_producer = buffer_status.take(); in dequeueBuffer()
/frameworks/native/libs/vr/libvrflinger/
Ddisplay_surface.cpp323 auto buffer_status = direct_queue_->Dequeue(0, &slot, &acquire_fence); in DequeueBuffersLocked() local
324 if (!buffer_status) { in DequeueBuffersLocked()
326 TRACE && buffer_status.error() == ETIMEDOUT, in DequeueBuffersLocked()
328 ALOGE_IF(buffer_status.error() != ETIMEDOUT, in DequeueBuffersLocked()
331 buffer_status.GetErrorMessage().c_str()); in DequeueBuffersLocked()
334 auto buffer_consumer = buffer_status.take(); in DequeueBuffersLocked()