diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/RawPropValues.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/RawPropValues.aidl index 9c6875b0b5..28ccc1da01 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/RawPropValues.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/RawPropValues.aidl @@ -20,8 +20,8 @@ package android.hardware.automotive.vehicle; @JavaDerive(equals=true, toString=true) parcelable RawPropValues { /** - * This is used for properties of types VehiclePropertyType#INT - * and VehiclePropertyType#INT_VEC + * This is used for properties of types VehiclePropertyType#INT32, + * VehiclePropertyType#BOOLEAN and VehiclePropertyType#INT32_VEC */ int[] int32Values = {}; @@ -31,7 +31,10 @@ parcelable RawPropValues { */ float[] floatValues; - /** This is used for properties of type VehiclePropertyType#INT64 */ + /** + * This is used for properties of type VehiclePropertyType#INT64 and + * VehiclePropertyType#INT64_VEC + */ long[] int64Values; /** This is used for properties of type VehiclePropertyType#BYTES */ diff --git a/automotive/vehicle/aidl_property/android/hardware/automotive/vehicle/VehiclePropertyType.aidl b/automotive/vehicle/aidl_property/android/hardware/automotive/vehicle/VehiclePropertyType.aidl index 62d26de3c3..7a68b4abc6 100644 --- a/automotive/vehicle/aidl_property/android/hardware/automotive/vehicle/VehiclePropertyType.aidl +++ b/automotive/vehicle/aidl_property/android/hardware/automotive/vehicle/VehiclePropertyType.aidl @@ -25,6 +25,10 @@ package android.hardware.automotive.vehicle; @Backing(type="int") enum VehiclePropertyType { STRING = 0x00100000, + /** + * Boolean values should be specified through the int32Values in RawPropValues. + * int32Value = {0} represents false and int32Value = {1} represents true. + */ BOOLEAN = 0x00200000, INT32 = 0x00400000, INT32_VEC = 0x00410000,