Lines Matching refs:fenceFd
160 int fenceFd = -1; in getBufferLocked() local
163 res = getBufferLockedCommon(&anb, &fenceFd); in getBufferLocked()
172 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd, in getBufferLocked()
488 status_t Camera3OutputStream::getBufferLockedCommon(ANativeWindowBuffer** anb, int* fenceFd) { in getBufferLockedCommon() argument
500 res = mBufferManager->getBufferForStream(getId(), getStreamSetId(), &gb, fenceFd); in getBufferLockedCommon()
540 res = currentConsumer->dequeueBuffer(currentConsumer.get(), anb, fenceFd); in getBufferLockedCommon()
738 status_t Camera3OutputStream::detachBuffer(sp<GraphicBuffer>* buffer, int* fenceFd) { in detachBuffer() argument
740 return detachBufferLocked(buffer, fenceFd); in detachBuffer()
743 status_t Camera3OutputStream::detachBufferLocked(sp<GraphicBuffer>* buffer, int* fenceFd) { in detachBufferLocked() argument
765 if (fenceFd != nullptr) { in detachBufferLocked()
767 *fenceFd = fence->dup(); in detachBufferLocked()
769 *fenceFd = -1; in detachBufferLocked()