platform_hardware_interfaces/camera
Avichal Rakesh 1fa4142e1a ExternalCameraHAL: Fix memory leak when copying buffer fence
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
2023-11-03 16:16:57 -07:00
..
common Merge Android U (ab/10368041) 2023-08-25 13:29:30 -07:00
device ExternalCameraHAL: Fix memory leak when copying buffer fence 2023-11-03 16:16:57 -07:00
metadata Camera: Add links to mandatory stream combination tables 2023-06-14 21:49:32 +00:00
provider Merge android14-tests-dev 2023-10-10 16:17:14 -07:00
OWNERS cleanup camera OWNERS 2023-01-18 21:06:05 +00:00
README.md Add pointer to default AIDL Camera HAL Implementation in README.md 2022-11-13 04:29:49 +00:00

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.