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

Commit 03727f64 authored by Yu Shan's avatar Yu Shan
Browse files

Update doc for HVAC_STEERING_WHEEL_HEAT.

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: Ibc727e24f6cb4e970aeea137d5c273906773d712
parent 5296f619
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -454,7 +454,7 @@
            {
                "name": "Steering Wheel Heating\/Cooling",
                "value": 289408269,
                "description": "Steering Wheel Heating\/Cooling\nSets the amount of heating\/cooling for the steering wheel.\nThe maxInt32Value and minInt32Value in VehicleAreaConfig must be defined. All integers between minInt32Value and maxInt32Value must be supported.\nThe maxInt32Value indicates the maximum steering wheel heating setting. The minInt32Value should be 0, unless the vehicle supports steering wheel cooling as well. In such a case, the minInt32Value indicates the maximum steering wheel cooling setting.\nThis property is not in any particular unit but in a specified range of heating settings.\nThis property is defined as VehiclePropertyAccess.READ_WRITE, but OEMs have the option to implement it as VehiclePropertyAccess.READ only."
                "description": "Steering Wheel Heating\/Cooling\nSets the amount of heating\/cooling for the steering wheel.\nThe maxInt32Value and minInt32Value in VehicleAreaConfig must be defined. All integers between minInt32Value and maxInt32Value must be supported.\nThe maxInt32Value indicates the maximum steering wheel heating setting. The minInt32Value should be 0, unless the vehicle supports steering wheel cooling as well. In such a case, the minInt32Value indicates the maximum steering wheel cooling setting.\nIf {@code HasSupportedValueInfo} is not null for the global area ID (0): {@code HasSupportedValueInfo.hasMinSupportedValue} and {@code HasSupportedValueInfo.hasMaxSupportedValue} must be {@code true}. {@code MinMaxSupportedValueResult.maxSupportedValue} indicates the maximum steering wheel heating setting. {@code MinMaxSupportedValueResult.minSupportedValue} should be 0, unless the vehicle supports steering wheel cooling as well. In such a case, the minSupportedValue indicates the maximum steering wheel cooling setting. All integers between minSupportedValue and maxSupportedValue must be supported. At boot, minInt32Value is equal to minSupportedValue, maxInt32Value is equal to maxSupportedValue.\nThis property is not in any particular unit but in a specified range of heating settings.\nThis property is defined as VehiclePropertyAccess.READ_WRITE, but OEMs have the option to implement it as VehiclePropertyAccess.READ only."
            },
            {
                "name": "Temperature units for display",
+13 −0
Original line number Diff line number Diff line
@@ -1570,6 +1570,18 @@ enum VehicleProperty {
     * The minInt32Value should be 0, unless the vehicle supports steering wheel cooling as well. In
     * such a case, the minInt32Value indicates the maximum steering wheel cooling setting.
     *
     * If {@code HasSupportedValueInfo} is not null for the global area ID (0):
     * {@code HasSupportedValueInfo.hasMinSupportedValue} and
     * {@code HasSupportedValueInfo.hasMaxSupportedValue} must be {@code true}.
     * {@code MinMaxSupportedValueResult.maxSupportedValue} indicates the maximum steering wheel
     * heating setting.
     * {@code MinMaxSupportedValueResult.minSupportedValue} should be 0, unless the vehicle supports
     * steering wheel cooling as well. In such a case, the minSupportedValue indicates the maximum
     * steering wheel cooling setting.
     * 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 heating settings.
     *
     * This property is defined as VehiclePropertyAccess.READ_WRITE, but OEMs have the option to
@@ -1578,6 +1590,7 @@ enum VehicleProperty {
     * @change_mode VehiclePropertyChangeMode.ON_CHANGE
     * @access VehiclePropertyAccess.READ_WRITE
     * @access VehiclePropertyAccess.READ
     * @require_min_max_supported_value
     * @version 2
     */
    HVAC_STEERING_WHEEL_HEAT = 0x050D + 0x10000000 + 0x01000000