Merge "Added info to docs to answer Q8 from Ford pending questions." into udc-dev

This commit is contained in:
Shrikar Amirisetty
2023-03-17 21:01:36 +00:00
committed by Android (Google) Code Review
2 changed files with 10 additions and 3 deletions

View File

@@ -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 */

View File

@@ -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,