platform_hardware_interfaces/camera/provider
Emilian Peev fd4ce7e76a Camera: VTS: Don't access invalid resources
There is no guarantee that the static metadata
pointer passed in the "DeviceCb" contructor will
be valid after the call completes.  The device
callback instance is expected to be active until
the camera session is open. Clone the required
metadata in "DeviceCb" and manage the lifetime
appropriately by using the "CameraMetadata"
wrapper.

Bug: 135976837
Test: CameraHidlTest#processCaptureRequestPreview
Change-Id: Idd3c6c8c2e5a3fc44a49712e25a04009cbd471b1
2019-06-28 17:03:12 +00:00
..
2.4 Camera: VTS: Don't access invalid resources 2019-06-28 17:03:12 +00:00
2.5 Camera: Centralize OWNERS 2019-03-13 15:15:45 -07:00
README.md Camera: HIDLized camera HALs, first set 2016-12-02 19:43:39 +00:00

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.