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

Commit 4295db48 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 12616459 from 35b11642 to 25Q1-release

Change-Id: I58c806d012a6533ecbd0664df408047d1f240b86
parents 419d372a 35b11642
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
package: "com.android.internal.camera.flags"
container: "system"

flag {
    namespace: "camera_platform"
    name: "camera_heif_gainmap"
    is_exported: true
    description: "Extend HEIC/HEIF still capture with HDR gainmap"
    bug: "362608343"
}

flag {
    namespace: "camera_platform"
    name: "camera_hsum_permission"
+159 −0
Original line number Diff line number Diff line
@@ -7959,6 +7959,145 @@ typedef enum acamera_metadata_tag {
    ACAMERA_HEIC_AVAILABLE_HEIC_STALL_DURATIONS_MAXIMUM_RESOLUTION = 
                                                                // int64[4*n]
            ACAMERA_HEIC_START + 5,
    /**
     * <p>The available HEIC (ISO/IEC 23008-12/24) UltraHDR stream
     * configurations that this camera device supports
     * (i.e. format, width, height, output/input stream).</p>
     *
     * <p>Type: int32[n*4] (acamera_metadata_enum_android_heic_available_heic_ultra_hdr_stream_configurations_t)</p>
     *
     * <p>This tag may appear in:
     * <ul>
     *   <li>ACameraMetadata from ACameraManager_getCameraCharacteristics</li>
     * </ul></p>
     *
     * <p>The configurations are listed as <code>(format, width, height, input?)</code> tuples.</p>
     * <p>All the static, control, and dynamic metadata tags related to JPEG apply to HEIC formats.
     * Configuring JPEG and HEIC streams at the same time is not supported.</p>
     * <p>All the configuration tuples <code>(format, width, height, input?)</code> will contain
     * AIMAGE_FORMAT_HEIC format as OUTPUT only.</p>
     */
    ACAMERA_HEIC_AVAILABLE_HEIC_ULTRA_HDR_STREAM_CONFIGURATIONS = 
                                                                // int32[n*4] (acamera_metadata_enum_android_heic_available_heic_ultra_hdr_stream_configurations_t)
            ACAMERA_HEIC_START + 6,
    /**
     * <p>This lists the minimum frame duration for each
     * format/size combination for HEIC UltraHDR output formats.</p>
     *
     * <p>Type: int64[4*n]</p>
     *
     * <p>This tag may appear in:
     * <ul>
     *   <li>ACameraMetadata from ACameraManager_getCameraCharacteristics</li>
     * </ul></p>
     *
     * <p>This should correspond to the frame duration when only that
     * stream is active, with all processing (typically in android.*.mode)
     * set to either OFF or FAST.</p>
     * <p>When multiple streams are used in a request, the minimum frame
     * duration will be max(individual stream min durations).</p>
     * <p>See ACAMERA_SENSOR_FRAME_DURATION and
     * ACAMERA_SCALER_AVAILABLE_STALL_DURATIONS for more details about
     * calculating the max frame rate.</p>
     *
     * @see ACAMERA_SCALER_AVAILABLE_STALL_DURATIONS
     * @see ACAMERA_SENSOR_FRAME_DURATION
     */
    ACAMERA_HEIC_AVAILABLE_HEIC_ULTRA_HDR_MIN_FRAME_DURATIONS = // int64[4*n]
            ACAMERA_HEIC_START + 7,
    /**
     * <p>This lists the maximum stall duration for each
     * output format/size combination for HEIC UltraHDR streams.</p>
     *
     * <p>Type: int64[4*n]</p>
     *
     * <p>This tag may appear in:
     * <ul>
     *   <li>ACameraMetadata from ACameraManager_getCameraCharacteristics</li>
     * </ul></p>
     *
     * <p>A stall duration is how much extra time would get added
     * to the normal minimum frame duration for a repeating request
     * that has streams with non-zero stall.</p>
     * <p>This functions similarly to
     * ACAMERA_SCALER_AVAILABLE_STALL_DURATIONS for HEIC UltraHDR
     * streams.</p>
     * <p>All HEIC output stream formats may have a nonzero stall
     * duration.</p>
     *
     * @see ACAMERA_SCALER_AVAILABLE_STALL_DURATIONS
     */
    ACAMERA_HEIC_AVAILABLE_HEIC_ULTRA_HDR_STALL_DURATIONS =     // int64[4*n]
            ACAMERA_HEIC_START + 8,
    /**
     * <p>The available HEIC (ISO/IEC 23008-12/24) UltraHDR stream
     * configurations that this camera device supports
     * (i.e. format, width, height, output/input stream) for CaptureRequests where
     * ACAMERA_SENSOR_PIXEL_MODE is set to
     * <a href="https://developer.android.com/reference/android/hardware/camera2/CameraMetadata.html#SENSOR_PIXEL_MODE_MAXIMUM_RESOLUTION">CameraMetadata#SENSOR_PIXEL_MODE_MAXIMUM_RESOLUTION</a>.</p>
     *
     * @see ACAMERA_SENSOR_PIXEL_MODE
     *
     * <p>Type: int32[n*4] (acamera_metadata_enum_android_heic_available_heic_ultra_hdr_stream_configurations_maximum_resolution_t)</p>
     *
     * <p>This tag may appear in:
     * <ul>
     *   <li>ACameraMetadata from ACameraManager_getCameraCharacteristics</li>
     * </ul></p>
     *
     * <p>Refer to ACAMERA_HEIC_AVAILABLE_HEIC_STREAM_CONFIGURATIONS for details.</p>
     * <p>All the configuration tuples <code>(format, width, height, input?)</code> will contain
     * AIMAGE_FORMAT_HEIC format as OUTPUT only.</p>
     *
     * @see ACAMERA_HEIC_AVAILABLE_HEIC_STREAM_CONFIGURATIONS
     */
    ACAMERA_HEIC_AVAILABLE_HEIC_ULTRA_HDR_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION = 
                                                                // int32[n*4] (acamera_metadata_enum_android_heic_available_heic_ultra_hdr_stream_configurations_maximum_resolution_t)
            ACAMERA_HEIC_START + 9,
    /**
     * <p>This lists the minimum frame duration for each
     * format/size combination for HEIC UltraHDR output formats for CaptureRequests where
     * ACAMERA_SENSOR_PIXEL_MODE is set to
     * <a href="https://developer.android.com/reference/android/hardware/camera2/CameraMetadata.html#SENSOR_PIXEL_MODE_MAXIMUM_RESOLUTION">CameraMetadata#SENSOR_PIXEL_MODE_MAXIMUM_RESOLUTION</a>.</p>
     *
     * @see ACAMERA_SENSOR_PIXEL_MODE
     *
     * <p>Type: int64[4*n]</p>
     *
     * <p>This tag may appear in:
     * <ul>
     *   <li>ACameraMetadata from ACameraManager_getCameraCharacteristics</li>
     * </ul></p>
     *
     * <p>Refer to ACAMERA_HEIC_AVAILABLE_HEIC_MIN_FRAME_DURATIONS for details.</p>
     *
     * @see ACAMERA_HEIC_AVAILABLE_HEIC_MIN_FRAME_DURATIONS
     */
    ACAMERA_HEIC_AVAILABLE_HEIC_ULTRA_HDR_MIN_FRAME_DURATIONS_MAXIMUM_RESOLUTION = 
                                                                // int64[4*n]
            ACAMERA_HEIC_START + 10,
    /**
     * <p>This lists the maximum stall duration for each
     * output format/size combination for HEIC UltraHDR streams for CaptureRequests where
     * ACAMERA_SENSOR_PIXEL_MODE is set to
     * <a href="https://developer.android.com/reference/android/hardware/camera2/CameraMetadata.html#SENSOR_PIXEL_MODE_MAXIMUM_RESOLUTION">CameraMetadata#SENSOR_PIXEL_MODE_MAXIMUM_RESOLUTION</a>.</p>
     *
     * @see ACAMERA_SENSOR_PIXEL_MODE
     *
     * <p>Type: int64[4*n]</p>
     *
     * <p>This tag may appear in:
     * <ul>
     *   <li>ACameraMetadata from ACameraManager_getCameraCharacteristics</li>
     * </ul></p>
     *
     * <p>Refer to ACAMERA_HEIC_AVAILABLE_HEIC_STALL_DURATIONS for details.</p>
     *
     * @see ACAMERA_HEIC_AVAILABLE_HEIC_STALL_DURATIONS
     */
    ACAMERA_HEIC_AVAILABLE_HEIC_ULTRA_HDR_STALL_DURATIONS_MAXIMUM_RESOLUTION = 
                                                                // int64[4*n]
            ACAMERA_HEIC_START + 11,
    ACAMERA_HEIC_END,
    /**
@@ -11526,6 +11665,26 @@ typedef enum acamera_metadata_enum_acamera_heic_available_heic_stream_configurat
} acamera_metadata_enum_android_heic_available_heic_stream_configurations_maximum_resolution_t;
// ACAMERA_HEIC_AVAILABLE_HEIC_ULTRA_HDR_STREAM_CONFIGURATIONS
typedef enum acamera_metadata_enum_acamera_heic_available_heic_ultra_hdr_stream_configurations {
    ACAMERA_HEIC_AVAILABLE_HEIC_ULTRA_HDR_STREAM_CONFIGURATIONS_OUTPUT
                                                                      = 0,
    ACAMERA_HEIC_AVAILABLE_HEIC_ULTRA_HDR_STREAM_CONFIGURATIONS_INPUT
                                                                      = 1,
} acamera_metadata_enum_android_heic_available_heic_ultra_hdr_stream_configurations_t;
// ACAMERA_HEIC_AVAILABLE_HEIC_ULTRA_HDR_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION
typedef enum acamera_metadata_enum_acamera_heic_available_heic_ultra_hdr_stream_configurations_maximum_resolution {
    ACAMERA_HEIC_AVAILABLE_HEIC_ULTRA_HDR_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_OUTPUT
                                                                      = 0,
    ACAMERA_HEIC_AVAILABLE_HEIC_ULTRA_HDR_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_INPUT
                                                                      = 1,
} acamera_metadata_enum_android_heic_available_heic_ultra_hdr_stream_configurations_maximum_resolution_t;
// ACAMERA_AUTOMOTIVE_LOCATION
+8 −6
Original line number Diff line number Diff line
@@ -126,11 +126,13 @@ included in the Sdk, and the @FlaggedApi annotation is stripped.


### TestApis
TestApis do not require flagging, since their existence in the tree implies that they should
be accessible to callers (xTS not building on trunk enables this).

TestApis do not require flagging, unless they are API additions associated with new features.
For testing existing features, we have full control over the set of callers.

### Api Changes
Currently, the flag infra does not support any type of Api modification (arguments, annotation,
renaming, deletion, etc.) In any of these cases (including for SystemApi), exceptions will need to
be granted.
There is partial (work ongoing) support for modifying API surfaces. 
 - SystemApi -> public is supported
 - UAU -> SystemApi is supported, but the @UAU must remain until the flag is in next
Other modifications involving moving between surfaces, or annotation changes may not be supported:
check the [FAQ](https://g3doc.corp.google.com/company/teams/android-api-council/guidelines/faq.md?cl=head#i-cannot-use-flaggedapi-with-data-classes-generated-by-codegen)
for the up to date list of support.
+16 −0
Original line number Diff line number Diff line
@@ -75,6 +75,22 @@ flag {
    bug: "364364777"
}

flag {
    name: "hardening_impl"
    is_exported: true
    namespace: "media_audio"
    description: "Flag for overall implementation of hardening"
    bug: "376480814"
}

flag {
    name: "hardening_strict"
    is_exported: true
    namespace: "media_audio"
    description: "Flag for strict enforcement (deny access) of hardening"
    bug: "376480814"
}

flag {
    name: "music_fx_edge_to_edge"
    namespace: "media_audio"
+8 −0
Original line number Diff line number Diff line
@@ -119,6 +119,14 @@ flag {
    bug: "376480814"
}

flag {
    name: "iamf_definitions_api"
    is_exported: true
    namespace: "media_audio"
    description: "API definitions for the IAMF format"
    bug: "337522902"
}

flag {
    name: "loudness_configurator_api"
    is_exported: true
Loading