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

Commit 22c8603e authored by Yu Shan's avatar Yu Shan
Browse files

Update doc for SEAT_LUMBAR_VERTICAL.

Part of a large doc update. Add doc for new supported value range
APIs. For be backward compatible with older VHAL clients still
using deprecated fields, we still require the old fields to be
populated.

Test: None
Bug: 383184445
Flag: EXEMPT no code change
Change-Id: I0411325969840896c46177d148e967cbfa2b62bc
parent eec54701
Loading
Loading
Loading
Loading
+24 −2
Original line number Diff line number Diff line
@@ -3992,12 +3992,22 @@ enum VehicleProperty {
     * The maxInt32Value and minInt32Value in each VehicleAreaConfig must be defined. All integers
     * between minInt32Value and maxInt32Value must be supported.
     *
     * The maxInt32Value indicates the lumbar support's highest position.
     * The minInt32Value indicates the lumbar support's lowest position.
     *
     * The maxInt32Value indicates the lumbar support's highest position.
     *
     * Values in between minInt32Value and maxInt32Value indicate a transition state between the
     * lowest and highest positions.
     *
     * If {@code HasSupportedValueInfo} for a specific area ID is not {@code null}:
     * {@code HasSupportedValueInfo.hasMinSupportedValue} and
     * {@code HasSupportedValueInfo.hasMaxSupportedValue} must be {@code true} for the area ID.
     * {@code MinMaxSupportedValueResult.minSupportedValue} has the same meaning as minInt32Value.
     * {@code MinMaxSupportedValueResult.maxSupportedValue} has the same meaning as maxInt32Value.
     * All integers between minSupportedValue and maxSupportedValue must be supported.
     * At boot, minInt32Value is equal to minSupportedValue, maxInt32Value is equal to
     * maxSupportedValue.
     *
     * This property is not in any particular unit but in a specified range of relative positions.
     *
     * This property is defined as VehiclePropertyAccess.READ_WRITE, but OEMs have the option to
@@ -4006,6 +4016,7 @@ enum VehicleProperty {
     * @change_mode VehiclePropertyChangeMode.ON_CHANGE
     * @access VehiclePropertyAccess.READ_WRITE
     * @access VehiclePropertyAccess.READ
     * @require_min_max_supported_value
     * @version 2
     */
    SEAT_LUMBAR_VERTICAL_POS =
@@ -4016,14 +4027,24 @@ enum VehicleProperty {
     * The maxInt32Value and minInt32Value in each VehicleAreaConfig must be defined. All integers
     * between minInt32Value and maxInt32Value must be supported.
     *
     * The maxInt32Value indicates the lumbar support is moving at the fastest upward speed.
     * The minInt32Value indicates the lumbar support is moving at the fastest downward speed.
     *
     * The maxInt32Value indicates the lumbar support is moving at the fastest upward speed.
     *
     * Larger absolute values, either positive or negative, indicate a faster movement speed. Once
     * the seat cushion side support reaches the positional limit, the value must reset to 0. If
     * SEAT_LUMBAR_VERTICAL_MOVE's value is currently 0, then that means there is no movement
     * currently occurring.
     *
     * If {@code HasSupportedValueInfo} for a specific area ID is not {@code null}:
     * {@code HasSupportedValueInfo.hasMinSupportedValue} and
     * {@code HasSupportedValueInfo.hasMaxSupportedValue} must be {@code true} for the area ID.
     * {@code MinMaxSupportedValueResult.minSupportedValue} has the same meaning as minInt32Value.
     * {@code MinMaxSupportedValueResult.maxSupportedValue} has the same meaning as maxInt32Value.
     * All integers between minSupportedValue and maxSupportedValue must be supported.
     * At boot, minInt32Value is equal to minSupportedValue, maxInt32Value is equal to
     * maxSupportedValue.
     *
     * This property is not in any particular unit but in a specified range of relative movement
     * speeds.
     *
@@ -4033,6 +4054,7 @@ enum VehicleProperty {
     * @change_mode VehiclePropertyChangeMode.ON_CHANGE
     * @access VehiclePropertyAccess.READ_WRITE
     * @access VehiclePropertyAccess.READ
     * @require_min_max_supported_value
     * @version 2
     */
    SEAT_LUMBAR_VERTICAL_MOVE =