mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 06:22:53 +00:00
libui's GraphicBufferAllocator/Mapper already wrap the different gralloc functions and hide the details from the caller. There is no reason VtsHalCameraProviderV2_4TargetTest needs to directly talk to gralloc. This patch updates VtsHalCameraProviderV2_4TargetTest to use libui. Bug: 145139476 Test: adb shell /system/bin/VtsHalCameraProviderV2_4TargetTest --hal_service_instance=android.hardware.camera.provider@2.4::ICameraProvider/internal/0 Change-Id: I2c2a913f6c5aea2ce7260b68293df404f40e0ddd
Camera Provider HAL
Overview:
The camera.provider HAL is used by the Android camera service to discover, query, and open individual camera devices.
It also allows for direct control of the flash unit of camera devices that have one, for turning on/off torch mode.
More complete information about the Android camera HAL and subsystem can be found at source.android.com.
Version history:
types.hal:
@0.0:
Common enum and struct definitions for all camera HAL interfaces. Does not define any interfaces of its own.
ICameraProvider.hal:
@2.4:
First HIDL version of the camera provider HAL, closely matching the feature set and operation of the pre-HIDL camera HAL module v2.4.
ICameraProviderCallback.hal:
@2.4:
First HIDL version of the camara provider HAL callback interface, closely matching the feature set and operation of the pre-HIDL camera HAL module callbacks v2.4.