mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Pointer to native_handle_t created using native_handle_create should be cleaned up using native_handle_delete even if the fds in the native_handle is no longer managed by it. ExternalCameraDeviceSession creates native_handle_t as an intermediate to convert to AIDL NativeHandle but doesn't call native_handle_delete on the intermediate object which led to memory leaks. This CL removes the intermediate object and copies the fence fd directly. Bug: 305638723 Test: No functional change. Compilation successful. Change-Id: Ie3c558ee1ae6d2e84053b65eed7db179118395bb
Camera HALs
Overview:
The camera.* HAL tree is used by the Android camera service to discover and operate camera devices available on the device.
More details and versioning information can be found within each particular HAL.
More complete information about the Android camera HAL and subsystem can be found at source.android.com.
AIDL Camera HAL Interfaces
The AIDL Camera HAL interfaces can be found in the respective /aidl directories.