Lines Matching refs:fence
164 LocalHandle fence; in dequeueBuffer() local
165 auto buffer_status = queue_->Dequeue(dequeue_timeout_ms_, &slot, &fence); in dequeueBuffer()
309 LocalHandle fence; in detachNextBuffer() local
313 auto status_or_buffer = queue_->Dequeue(/*timeout=*/0, &slot, &fence); in detachNextBuffer()
356 *out_fence = new Fence(fence.Release()); in detachNextBuffer()
411 sp<Fence> fence; in queueBuffer() local
414 &fence); in queueBuffer()
429 if (fence == nullptr) { in queueBuffer()
467 LocalHandle fence_fd(fence->isValid() ? fence->dup() : -1); in queueBuffer()
500 status_t BufferHubProducer::cancelBuffer(int slot, const sp<Fence>& fence) { in cancelBuffer() argument
517 } else if (fence == nullptr) { in cancelBuffer()
525 buffers_[slot].mFence = fence; in cancelBuffer()