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

Commit 0405c074 authored by Devin Moore's avatar Devin Moore Committed by Android (Google) Code Review
Browse files

Merge "Remove deprecated annotation." into main

parents a10323e5 e40075de
Loading
Loading
Loading
Loading
+0 −21
Original line number Diff line number Diff line
@@ -35,33 +35,12 @@ package android.hardware.automotive.vehicle;
@JavaDerive(equals=true, toString=true) @RustDerive(Clone=true) @VintfStability
parcelable VehicleAreaConfig {
  int areaId;
  /**
   * @deprecated client should use {@code getMinMaxSupportedValue} instead. Only applicable for {@code INT32} type property. Ignored for other types. The optional minimum value at boot time. For backward compatibility, if {@code HasSupportedValueInfo.hasMinSupportedValue} is {@code true}, and {@code HasSupportedValueInfo.hasMaxSupportedValue} is {@code true}, this must be equal to the min supported value ({@code MinMaxSupportedValueResult.minSupportedValue}) at boot time. If no minimum or maximum value is available at boot time, both {@code minInt32Value} and {@code maxInt32Value} must be set to 0. If either one is not 0, then we assume min and max both take effect.
   */
  int minInt32Value;
  /**
   * @deprecated client should use {@code getMinMaxSupportedValue} instead. Only applicable for {@code INT32} type property. Ignored for other types. The optional maximum value at boot time. For backward compatibility, if {@code HasSupportedValueInfo.hasMinSupportedValue} is {@code true}, and {@code HasSupportedValueInfo.hasMaxSupportedValue} is {@code true}, this must be equal to the max supported value ({@code MinMaxSupportedValueResult.maxSupportedValue}) at boot time. If no minimum or maximum value is available at boot time, both {@code minInt32Value} and {@code maxInt32Value} must be set to 0. If either one is not 0, then we assume min and max both take effect.
   */
  int maxInt32Value;
  /**
   * @deprecated client should use {@code getMinMaxSupportedValue} instead. Only applicable for {@code INT64} type property. Ignored for other types. The optional minimum value at boot time. For backward compatibility, if {@code HasSupportedValueInfo.hasMinSupportedValue} is {@code true}, and {@code HasSupportedValueInfo.hasMaxSupportedValue} is {@code true}, this must be equal to the min supported value ({@code MinMaxSupportedValueResult.minSupportedValue}) at boot time. If no minimum or maximum value is available at boot time, both {@code minInt64Value} and {@code maxInt64Value} must be set to 0. If either one is not 0, then we assume min and max both take effect.
   */
  long minInt64Value;
  /**
   * @deprecated client should use {@code getMinMaxSupportedValue} instead. Only applicable for {@code INT64} type property. Ignored for other types. The optional maximum value at boot time. For backward compatibility, if {@code HasSupportedValueInfo.hasMinSupportedValue} is {@code true}, and {@code HasSupportedValueInfo.hasMaxSupportedValue} is {@code true}, this must be equal to the max supported value ({@code MinMaxSupportedValueResult.maxSupportedValue}) at boot time. If no minimum or maximum value is available at boot time, both {@code minInt64Value} and {@code maxInt64Value} must be set to 0. If either one is not 0, then we assume min and max both take effect.
   */
  long maxInt64Value;
  /**
   * @deprecated client should use {@code getMinMaxSupportedValue} instead. Only applicable for {@code FLOAT} type property. Ignored for other types. The optional minimum value at boot time. For backward compatibility, if {@code HasSupportedValueInfo.hasMinSupportedValue} is {@code true}, and {@code HasSupportedValueInfo.hasMaxSupportedValue} is {@code true}, this must be equal to the min supported value ({@code MinMaxSupportedValueResult.minSupportedValue}) at boot time. If no minimum or maximum value is available at boot time, both {@code minFloatValue} and {@code maxFloatValue} must be set to 0. If either one is not 0, then we assume min and max both take effect.
   */
  float minFloatValue;
  /**
   * @deprecated client should use {@code getMinMaxSupportedValue} instead. Only applicable for {@code FLOAT} type property. Ignored for other types. The optional maximum value at boot time. For backward compatibility, if {@code HasSupportedValueInfo.hasMinSupportedValue} is {@code true}, and {@code HasSupportedValueInfo.hasMaxSupportedValue} is {@code true}, this must be equal to the max supported value ({@code MinMaxSupportedValueResult.maxSupportedValue}) at boot time. If no minimum or maximum value is available at boot time, both {@code minFloatValue} and {@code maxFloatValue} must be set to 0. If either one is not 0, then we assume min and max both take effect.
   */
  float maxFloatValue;
  /**
   * @deprecated client should use {@code getMinMaxSupportedValue} instead. Only applicable for property with {@code @data_enum} annotation. Ignored for other properties. Optional supported subset of supported values at boot time. If the property has a @data_enum and supportedEnumValues is {@code null}, then it is assumed all @data_enum values are supported unless specified through another mechanism. For backward compatibility, if {@code HasSupportedValueInfo.hasSupportedValuesList} is {@code true} and this property has {@code data_enum} annotation, this must be set to the same as {@code SupportedValuesListResult.supportedValuesList} at boot time.
   */
  @nullable long[] supportedEnumValues;
  android.hardware.automotive.vehicle.VehiclePropertyAccess access = android.hardware.automotive.vehicle.VehiclePropertyAccess.NONE;
  boolean supportVariableUpdateRate;
+7 −7
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ parcelable VehicleAreaConfig {
    int areaId;

    /**
     * @deprecated client should use {@code getMinMaxSupportedValue} instead.
     * client should use {@code getMinMaxSupportedValue} instead.
     *
     * Only applicable for {@code INT32} type property. Ignored for other types.
     *
@@ -49,7 +49,7 @@ parcelable VehicleAreaConfig {
    int minInt32Value;

    /**
     * @deprecated client should use {@code getMinMaxSupportedValue} instead.
     * client should use {@code getMinMaxSupportedValue} instead.
     *
     * Only applicable for {@code INT32} type property. Ignored for other types.
     *
@@ -69,7 +69,7 @@ parcelable VehicleAreaConfig {
    int maxInt32Value;

    /**
     * @deprecated client should use {@code getMinMaxSupportedValue} instead.
     * client should use {@code getMinMaxSupportedValue} instead.
     *
     * Only applicable for {@code INT64} type property. Ignored for other types.
     *
@@ -89,7 +89,7 @@ parcelable VehicleAreaConfig {
    long minInt64Value;

    /**
     * @deprecated client should use {@code getMinMaxSupportedValue} instead.
     * client should use {@code getMinMaxSupportedValue} instead.
     *
     * Only applicable for {@code INT64} type property. Ignored for other types.
     *
@@ -109,7 +109,7 @@ parcelable VehicleAreaConfig {
    long maxInt64Value;

    /**
     * @deprecated client should use {@code getMinMaxSupportedValue} instead.
     * client should use {@code getMinMaxSupportedValue} instead.
     *
     * Only applicable for {@code FLOAT} type property. Ignored for other types.
     *
@@ -129,7 +129,7 @@ parcelable VehicleAreaConfig {
    float minFloatValue;

    /**
     * @deprecated client should use {@code getMinMaxSupportedValue} instead.
     * client should use {@code getMinMaxSupportedValue} instead.
     *
     * Only applicable for {@code FLOAT} type property. Ignored for other types.
     *
@@ -149,7 +149,7 @@ parcelable VehicleAreaConfig {
    float maxFloatValue;

    /**
     * @deprecated client should use {@code getMinMaxSupportedValue} instead.
     * client should use {@code getMinMaxSupportedValue} instead.
     *
     * Only applicable for property with {@code @data_enum} annotation. Ignored
     * for other properties.