Lines Matching refs:queue_
31 producer->queue_ = queue; in Create()
43 producer->queue_ = ProducerQueue::Import(parcelable.TakeChannelHandle()); in Create()
151 if (int32_t(queue_->capacity()) < max_dequeued_buffer_count_ + kDefaultUndequeuedBuffers) { in dequeueBuffer()
165 auto buffer_status = queue_->Dequeue(dequeue_timeout_ms_, &slot, &fence); in dequeueBuffer()
252 std::shared_ptr<ProducerBuffer> producer_buffer = queue_->GetBuffer(slot); in DetachBufferLocked()
313 auto status_or_buffer = queue_->Dequeue(/*timeout=*/0, &slot, &fence); in detachNextBuffer()
523 queue_->Enqueue(producer_buffer, size_t(slot), 0U); in cancelBuffer()
553 value = int32_t(queue_->default_width()); in query()
556 value = int32_t(queue_->default_height()); in query()
559 value = int32_t(queue_->default_format()); in query()
614 if (!queue_->is_connected()) { in connect()
627 output->width = queue_->default_width(); in connect()
628 output->height = queue_->default_height(); in connect()
765 if (!queue_->is_connected()) { in TakeAsParcelable()
772 auto status = queue_->TakeAsParcelable(); in TakeAsParcelable()
786 auto status = queue_->AllocateBuffer(width, height, layer_count, uint32_t(format), usage); in AllocateBuffer()
794 auto producer_buffer = queue_->GetBuffer(slot); in AllocateBuffer()
805 auto status = queue_->RemoveBuffer(slot); in RemoveBuffer()
831 auto status = queue_->FreeAllBuffers(); in FreeAllBuffers()
838 if (queue_->capacity() != 0 || queue_->count() != 0) { in FreeAllBuffers()