Home
last modified time | relevance | path

Searched refs:fenceHandle (Results 1 – 6 of 6) sorted by relevance

/hardware/interfaces/camera/common/1.0/default/
DHandleImporter.cpp207 auto fenceHandle = tmpReleaseFence.getNativeHandle(); in unlock() local
208 if (fenceHandle) { in unlock()
209 if (fenceHandle->numInts != 0 || fenceHandle->numFds != 1) { in unlock()
211 __FUNCTION__, fenceHandle->numInts, fenceHandle->numFds); in unlock()
214 releaseFence = dup(fenceHandle->data[0]); in unlock()
/hardware/interfaces/sensors/1.0/vts/functional/
DGrallocWrapper.cpp211 auto fenceHandle = tmpReleaseFence.getNativeHandle(); in unlock() local
212 if (fenceHandle) { in unlock()
213 if (fenceHandle->numInts != 0) { in unlock()
214 ALOGE("Invalid fence handle %p", fenceHandle); in unlock()
216 if (fenceHandle->numFds == 1) { in unlock()
217 releaseFence = dup(fenceHandle->data[0]); in unlock()
222 if (fenceHandle->numFds != 0) { in unlock()
223 ALOGE("Invalid fence handle %p", fenceHandle); in unlock()
/hardware/interfaces/graphics/mapper/2.0/utils/vts/
DMapperVts.cpp226 auto fenceHandle = tmpReleaseFence.getNativeHandle(); in unlock() local
227 if (fenceHandle) { in unlock()
228 ASSERT_EQ(0, fenceHandle->numInts) << "invalid fence handle " << fenceHandle; in unlock()
229 if (fenceHandle->numFds == 1) { in unlock()
230 releaseFence = dup(fenceHandle->data[0]); in unlock()
233 ASSERT_EQ(0, fenceHandle->numFds) << " invalid fence handle " << fenceHandle; in unlock()
/hardware/google/av/codec2/vndk/v4l2/
DC2VdaBqBlockPool.cpp133 hidl_handle fenceHandle; in fetchGraphicBlock() local
135 android::conversion::wrapAs(&fenceHandle, &nh, *fence); in fetchGraphicBlock()
139 mProducer->cancelBuffer(slot, fenceHandle); in fetchGraphicBlock()
150 mProducer->cancelBuffer(slot, fenceHandle); in fetchGraphicBlock()
156 mProducer->cancelBuffer(slot, fenceHandle); in fetchGraphicBlock()
173 mProducer->cancelBuffer(slot, fenceHandle); in fetchGraphicBlock()
295 hidl_handle fenceHandle; in cancelAllBuffers() local
296 android::conversion::wrapAs(&fenceHandle, &nh, *fence); in cancelAllBuffers()
297 int32_t status = mProducer->cancelBuffer(slot, fenceHandle); in cancelAllBuffers()
/hardware/interfaces/graphics/mapper/2.0/utils/hal/include/mapper-hal/2.0/
DMapper.h168 static Error getFenceFd(const hidl_handle& fenceHandle, base::unique_fd* outFenceFd) { in getFenceFd() argument
169 auto handle = fenceHandle.getNativeHandle(); in getFenceFd()
/hardware/interfaces/graphics/composer/2.2/utils/hal/include/composer-hal/2.2/
DComposerClient.h194 static Error getFenceFd(const hidl_handle& fenceHandle, base::unique_fd* outFenceFd) { in getFenceFd() argument
195 auto handle = fenceHandle.getNativeHandle(); in getFenceFd()