mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Merge "Added info to docs to answer Q8 from Ford pending questions." into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ff4d7eb84f
@@ -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 */
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user