Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 62324090 authored by Ravneet Dhanjal's avatar Ravneet Dhanjal
Browse files

Camera: Add AE priority mode tags

- Auto-generated

Test: Camera CTS with and without flag
Bug: 359944765
Flag: com.android.internal.camera.flags.ae_priority
Change-Id: I6d1bf649eec743b7138202960c4ba66cefae4dd6
parent c5d5e512
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -104,6 +104,8 @@ enum CameraMetadataTag {
  ANDROID_CONTROL_AUTOFRAMING_STATE,
  ANDROID_CONTROL_LOW_LIGHT_BOOST_INFO_LUMINANCE_RANGE,
  ANDROID_CONTROL_LOW_LIGHT_BOOST_STATE,
  ANDROID_CONTROL_AE_PRIORITY_MODE = 65597,
  ANDROID_CONTROL_AE_AVAILABLE_PRIORITY_MODES,
  ANDROID_DEMOSAIC_MODE = android.hardware.camera.metadata.CameraMetadataSectionStart.ANDROID_DEMOSAIC_START /* 131072 */,
  ANDROID_EDGE_MODE = android.hardware.camera.metadata.CameraMetadataSectionStart.ANDROID_EDGE_START /* 196608 */,
  ANDROID_EDGE_STRENGTH,
+44 −0
Original line number Diff line number Diff line
/*
 * Copyright (C) 2024 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *//*
 * Autogenerated from camera metadata definitions in
 * /system/media/camera/docs/metadata_definitions.xml
 * *** DO NOT EDIT BY HAND ***
 */
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE.                          //
///////////////////////////////////////////////////////////////////////////////

// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
//     the interface (from the latest frozen version), the build system will
//     prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.

package android.hardware.camera.metadata;
@Backing(type="int") @VintfStability
enum ControlAePriorityMode {
  ANDROID_CONTROL_AE_PRIORITY_MODE_OFF,
  ANDROID_CONTROL_AE_PRIORITY_MODE_SENSOR_SENSITIVITY_PRIORITY,
  ANDROID_CONTROL_AE_PRIORITY_MODE_SENSOR_EXPOSURE_TIME_PRIORITY,
}
+15 −0
Original line number Diff line number Diff line
@@ -533,6 +533,21 @@ enum CameraMetadataTag {
     * <p>Current state of the low light boost AE mode.</p>
     */
    ANDROID_CONTROL_LOW_LIGHT_BOOST_STATE,
    /**
     * android.control.aePriorityMode [dynamic, enum, public]
     *
     * <p>Turn on AE priority mode.</p>
     */
    ANDROID_CONTROL_AE_PRIORITY_MODE = 65597,
    /**
     * android.control.aeAvailablePriorityModes [static, byte[], public]
     *
     * <p>List of auto-exposure priority modes for ANDROID_CONTROL_AE_PRIORITY_MODE
     * that are supported by this camera device.</p>
     *
     * @see ANDROID_CONTROL_AE_PRIORITY_MODE
     */
    ANDROID_CONTROL_AE_AVAILABLE_PRIORITY_MODES,
    /**
     * android.demosaic.mode [controls, enum, system]
     *
+36 −0
Original line number Diff line number Diff line
/*
 * Copyright (C) 2024 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/*
 * Autogenerated from camera metadata definitions in
 * /system/media/camera/docs/metadata_definitions.xml
 * *** DO NOT EDIT BY HAND ***
 */

package android.hardware.camera.metadata;

/**
 * android.control.aePriorityMode enumeration values
 * @see ANDROID_CONTROL_AE_PRIORITY_MODE
 * See system/media/camera/docs/metadata_definitions.xml for details.
 */
@VintfStability
@Backing(type="int")
enum ControlAePriorityMode {
    ANDROID_CONTROL_AE_PRIORITY_MODE_OFF,
    ANDROID_CONTROL_AE_PRIORITY_MODE_SENSOR_SENSITIVITY_PRIORITY,
    ANDROID_CONTROL_AE_PRIORITY_MODE_SENSOR_EXPOSURE_TIME_PRIORITY,
}