Home
last modified time | relevance | path

Searched refs:releaseFence (Results 1 – 25 of 84) sorted by relevance

1234

/hardware/interfaces/graphics/mapper/stable-c/vts/
DVtsHalGraphicsMapperStableC_TargetTest.cpp735 int releaseFence = -1; in TEST_P() local
736 ASSERT_EQ(AIMAPPER_ERROR_NONE, mapper()->v5.unlock(*handle, &releaseFence)); in TEST_P()
740 releaseFence, (void**)&data)); in TEST_P()
741 releaseFence = -1; in TEST_P()
745 releaseFence = -1; in TEST_P()
746 ASSERT_EQ(AIMAPPER_ERROR_NONE, mapper()->v5.unlock(*handle, &releaseFence)); in TEST_P()
747 if (releaseFence != -1) { in TEST_P()
748 close(releaseFence); in TEST_P()
795 int releaseFence = -1; in TEST_P() local
796 ASSERT_EQ(AIMAPPER_ERROR_NONE, mapper()->v5.unlock(*handle, &releaseFence)); in TEST_P()
[all …]
/hardware/interfaces/graphics/mapper/4.0/utils/vts/
DMapperVts.cpp254 int releaseFence = -1; in unlock() local
262 releaseFence = dup(fenceHandle->data[0]); in unlock()
263 ASSERT_LT(0, releaseFence) << "failed to dup fence fd"; in unlock()
270 return releaseFence; in unlock()
276 int releaseFence = -1; in flushLockedBuffer() local
284 releaseFence = dup(fenceHandle->data[0]); in flushLockedBuffer()
285 ASSERT_LT(0, releaseFence) << "failed to dup fence fd"; in flushLockedBuffer()
292 return releaseFence; in flushLockedBuffer()
/hardware/interfaces/graphics/mapper/2.0/utils/vts/
DMapperVts.cpp220 int releaseFence = -1; in unlock() local
228 releaseFence = dup(fenceHandle->data[0]); in unlock()
229 ASSERT_LT(0, releaseFence) << "failed to dup fence fd"; in unlock()
236 return releaseFence; in unlock()
/hardware/interfaces/camera/device/aidl/android/hardware/camera/device/
DStreamBuffer.aidl113 NativeHandle releaseFence;
/hardware/interfaces/graphics/mapper/3.0/utils/vts/
DMapperVts.cpp248 int releaseFence = -1; in unlock() local
256 releaseFence = dup(fenceHandle->data[0]); in unlock()
257 ASSERT_LT(0, releaseFence) << "failed to dup fence fd"; in unlock()
264 return releaseFence; in unlock()
/hardware/interfaces/camera/device/aidl/aidl_api/android.hardware.camera.device/1/android/hardware/camera/device/
DStreamBuffer.aidl42 android.hardware.common.NativeHandle releaseFence;
/hardware/interfaces/camera/device/aidl/aidl_api/android.hardware.camera.device/2/android/hardware/camera/device/
DStreamBuffer.aidl42 android.hardware.common.NativeHandle releaseFence;
/hardware/interfaces/camera/device/aidl/aidl_api/android.hardware.camera.device/3/android/hardware/camera/device/
DStreamBuffer.aidl42 android.hardware.common.NativeHandle releaseFence;
/hardware/interfaces/camera/device/aidl/aidl_api/android.hardware.camera.device/current/android/hardware/camera/device/
DStreamBuffer.aidl42 android.hardware.common.NativeHandle releaseFence;
/hardware/interfaces/camera/common/default/
DHandleImporter.cpp197 int releaseFence = -1; in unlock() local
199 status_t status = GraphicBufferMapper::get().unlockAsync(buf, &releaseFence); in unlock()
204 return releaseFence; in unlock()
/hardware/interfaces/camera/device/3.2/default/
DCameraDeviceSession.cpp487 if (result.inputBuffer.releaseFence.getNativeHandle() != nullptr) { in freeReleaseFences()
489 result.inputBuffer.releaseFence.getNativeHandle()); in freeReleaseFences()
494 if (buf.releaseFence.getNativeHandle() != nullptr) { in freeReleaseFences()
496 buf.releaseFence.getNativeHandle()); in freeReleaseFences()
507 const native_handle_t* handle = src.releaseFence.getNativeHandle(); in moveStreamBuffer()
508 src.releaseFence = nullptr; in moveStreamBuffer()
510 dst.releaseFence = handle; in moveStreamBuffer()
511 if (handle != dst.releaseFence.getNativeHandle()) { in moveStreamBuffer()
519 const native_handle_t* handle = src.releaseFence.getNativeHandle(); in pushStreamBuffer()
520 src.releaseFence = nullptr; in pushStreamBuffer()
[all …]
/hardware/interfaces/graphics/mapper/stable-c/implutils/include/android/hardware/graphics/mapper/utils/
DIMapperProvider.h53 virtual AIMapper_Error unlock(buffer_handle_t _Nonnull buffer, int* _Nonnull releaseFence) = 0;
137 .unlock = [](buffer_handle_t _Nonnull buffer, int* _Nonnull releaseFence) in bindV5()
138 -> AIMapper_Error { return impl().unlock(buffer, releaseFence); }, in bindV5()
/hardware/google/graphics/common/libhwc2.1/libvirtualdisplay/
DExynosVirtualDisplay.cpp196 buffer_handle_t buffer, int32_t releaseFence) { in setOutputBuffer() argument
198 mOutputBufferAcquireFenceFd = hwc_dup(releaseFence, in setOutputBuffer()
200 releaseFence = fence_close(releaseFence, this, FENCE_TYPE_SRC_RELEASE, FENCE_IP_G2D); in setOutputBuffer()
DExynosVirtualDisplay.h71 int32_t releaseFence);
/hardware/interfaces/graphics/composer/2.2/utils/vts/include/composer-vts/2.2/
DComposerVts.h71 void setReadbackBuffer(Display display, const native_handle_t* buffer, int32_t releaseFence);
/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/
DGralloc1On0Adapter.h430 int releaseFence = -1; in unlockHook() local
431 auto error = adapter->unlock(buffer, &releaseFence); in unlockHook()
433 *outReleaseFenceFd = releaseFence; in unlockHook()
/hardware/google/gchips/gralloc4/src/stable-c/
DGrallocMapper.h47 AIMapper_Error unlock(buffer_handle_t _Nonnull buffer, int* _Nonnull releaseFence) override;
/hardware/google/gchips/gralloc4/src/hidl_common/
DMapper.h121 Error unlock(const native_handle_t *buffer, int *releaseFence);
/hardware/interfaces/graphics/composer/2.2/utils/hal/include/composer-hal/2.2/
DComposerClient.h83 const hidl_handle& releaseFence) override { in setReadbackBuffer() argument
85 Error error = getFenceFd(releaseFence, &fenceFd); in setReadbackBuffer()
/hardware/interfaces/graphics/mapper/stable-c/include/android/hardware/graphics/mapper/
DIMapper.h311 AIMapper_Error (*_Nonnull unlock)(buffer_handle_t _Nonnull buffer, int* _Nonnull releaseFence);
/hardware/interfaces/camera/device/3.4/default/
DCameraDeviceSession.cpp750 if (result.v3_2.inputBuffer.releaseFence.getNativeHandle() != nullptr) { in freeReleaseFences_3_4()
752 result.v3_2.inputBuffer.releaseFence.getNativeHandle()); in freeReleaseFences_3_4()
757 if (buf.releaseFence.getNativeHandle() != nullptr) { in freeReleaseFences_3_4()
759 buf.releaseFence.getNativeHandle()); in freeReleaseFences_3_4()
/hardware/interfaces/camera/device/default/
DExternalCameraOfflineSession.cpp113 result.outputBuffers[i].releaseFence = android::dupToAidl(handle); in processCaptureResult()
123 outputBuffer.releaseFence = android::dupToAidl(handle); in processCaptureResult()
252 outputBuffer.releaseFence = dupToAidl(handle); in processCaptureRequestError()
/hardware/interfaces/camera/device/3.6/default/
DExternalCameraOfflineSession.cpp365 result.outputBuffers[i].releaseFence.setTo(handle, /*shouldOwn*/false); in processCaptureResult()
374 result.outputBuffers[i].releaseFence.setTo(handle, /*shouldOwn*/false); in processCaptureResult()
464 result.outputBuffers[i].releaseFence.setTo(handle, /*shouldOwn*/false); in processCaptureRequestError()
/hardware/google/graphics/common/libhwc2.1/
DExynosHWC.h114 …uffer(hwc2_device_t *device, hwc2_display_t display, buffer_handle_t buffer, int32_t releaseFence);
134 buffer_handle_t buffer, int32_t releaseFence);
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/2/android/hardware/graphics/composer3/
DIComposerClient.aidl75 …y, in android.hardware.common.NativeHandle buffer, in @nullable ParcelFileDescriptor releaseFence); in setReadbackBuffer() argument

1234