Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/common/vts/utils/
DGrallocWrapper.cpp203 auto fenceHandle = tmpReleaseFence.getNativeHandle(); in unlock() local
204 if (fenceHandle) { in unlock()
205 if (fenceHandle->numInts != 0) { in unlock()
206 ALOGE("Invalid fence handle %p", fenceHandle); in unlock()
208 if (fenceHandle->numFds == 1) { in unlock()
209 releaseFence = dup(fenceHandle->data[0]); in unlock()
214 if (fenceHandle->numFds != 0) { in unlock()
215 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/interfaces/graphics/mapper/3.0/utils/vts/
DMapperVts.cpp248 auto fenceHandle = tmpReleaseFence.getNativeHandle(); in unlock() local
249 if (fenceHandle) { in unlock()
250 ASSERT_EQ(0, fenceHandle->numInts) << "invalid fence handle " << fenceHandle; in unlock()
251 if (fenceHandle->numFds == 1) { in unlock()
252 releaseFence = dup(fenceHandle->data[0]); in unlock()
255 ASSERT_EQ(0, fenceHandle->numFds) << " invalid fence handle " << fenceHandle; in unlock()
/hardware/interfaces/camera/common/1.0/default/
DHandleImporter.cpp120 auto fenceHandle = tmpReleaseFence.getNativeHandle(); in unlockInternal() local
121 if (fenceHandle) { in unlockInternal()
122 if (fenceHandle->numInts != 0 || fenceHandle->numFds != 1) { in unlockInternal()
124 __FUNCTION__, fenceHandle->numInts, fenceHandle->numFds); in unlockInternal()
127 releaseFence = dup(fenceHandle->data[0]); in unlockInternal()
/hardware/google/av/codec2/vndk/platform/
DC2BqBuffer.cpp219 hidl_handle fenceHandle; in fetchFromIgbp_l() local
221 android::conversion::wrapAs(&fenceHandle, &nh, *fence); in fetchFromIgbp_l()
229 (void)mProducer->cancelBuffer(slot, fenceHandle).isOk(); in fetchFromIgbp_l()
234 (void)mProducer->cancelBuffer(slot, fenceHandle).isOk(); in fetchFromIgbp_l()
267 (void)mProducer->cancelBuffer(slot, fenceHandle).isOk(); in fetchFromIgbp_l()
297 (void)mProducer->cancelBuffer(slot, fenceHandle).isOk(); in fetchFromIgbp_l()
/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.h183 static Error getFenceFd(const hidl_handle& fenceHandle, base::unique_fd* outFenceFd) { in getFenceFd() argument
184 auto handle = fenceHandle.getNativeHandle(); in getFenceFd()
/hardware/interfaces/graphics/composer/2.2/vts/functional/
DVtsHalGraphicsComposerV2_2ReadbackTest.cpp341 int32_t fenceHandle; in checkReadbackBuffer() local
342 ASSERT_NO_FATAL_FAILURE(mComposerClient->getReadbackBufferFence(mDisplay, &fenceHandle)); in checkReadbackBuffer()
344 void* bufData = mGralloc->lock(mBufferHandle, mUsage, mAccessRegion, fenceHandle); in checkReadbackBuffer()