platform_hardware_interfaces/camera/provider
Tang Lee 4be4471d46 Return ILLEGAL_ARGUMENT for setting null callback
Bug: 299182872
Test: Run VTS with external USB camera
vts-tradefed
> run vts -m VtsAidlHalCameraProvider_TargetTest -t \
    PerInstance/CameraAidlTest#setCallback/0_android_hardware_camera_provider_ICameraProvider_external_0 \
    --logcat-on-failure --logcat-on-failure-size 8192000 \
    --bugreport-on-failure --screenshot-on-failure

Change-Id: I013e3770ddbdcf6475e0927449af6183dcc37a8e
2023-10-02 07:18:16 +00:00
..
2.4 Return ILLEGAL_ARGUMENT for setting null callback 2023-10-02 07:18:16 +00:00
2.5 cleanup camera OWNERS 2023-01-18 21:06:05 +00:00
2.6 [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2021-02-23 14:26:20 -08:00
2.7 Return ILLEGAL_ARGUMENT for setting null callback 2023-10-02 07:18:16 +00:00
aidl Merge "Camera VTS: Verify high speed video configurations" into main am: 607f7e7ff7 am: 68d44aa5e2 2023-09-18 09:03:03 +00:00
default Return ILLEGAL_ARGUMENT for setting null callback 2023-10-02 07:18:16 +00:00
README.md Add pointer to default AIDL Camera HAL Implementation in README.md 2022-11-13 04:29:49 +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.

AIDL Camera HAL Default Implementation

The default implementation can be found at $ANDROID_BUILD_TOP/hardware/google/camera/common/hal/aidl_service and $ANDROID_BUILD_TOP/hardware/google/camera/devices/EmulatedCamera