Merge "automotive aidl: Add required @RustDerive annotations" into main
This commit is contained in:
commit
31f8d6e36b
31 changed files with 31 additions and 20 deletions
|
@ -1 +1,2 @@
|
|||
a741c2814ba6e9852e106bc26e820d741f66ebb8
|
||||
2e101035a8abf667295ca2106bebb8850b9bdc9c
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.automotive.vehicle;
|
||||
@JavaDerive(equals=true, toString=true) @VintfStability
|
||||
@JavaDerive(equals=true, toString=true) @RustDerive(Clone=true) @VintfStability
|
||||
parcelable GetValueRequest {
|
||||
long requestId;
|
||||
android.hardware.automotive.vehicle.VehiclePropValue prop;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.automotive.vehicle;
|
||||
@JavaDerive(equals=true, toString=true) @VintfStability
|
||||
@JavaDerive(equals=true, toString=true) @RustDerive(Clone=true) @VintfStability
|
||||
parcelable GetValueResult {
|
||||
long requestId;
|
||||
android.hardware.automotive.vehicle.StatusCode status = android.hardware.automotive.vehicle.StatusCode.OK;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.automotive.vehicle;
|
||||
@JavaDerive(equals=true, toString=true) @VintfStability
|
||||
@JavaDerive(equals=true, toString=true) @RustDerive(Clone=true) @VintfStability
|
||||
parcelable RawPropValues {
|
||||
int[] int32Values = {};
|
||||
float[] floatValues;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.automotive.vehicle;
|
||||
@JavaDerive(equals=true, toString=true) @VintfStability
|
||||
@JavaDerive(equals=true, toString=true) @RustDerive(Clone=true) @VintfStability
|
||||
parcelable SetValueRequest {
|
||||
long requestId;
|
||||
android.hardware.automotive.vehicle.VehiclePropValue value;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.automotive.vehicle;
|
||||
@JavaDerive(equals=true, toString=true) @VintfStability
|
||||
@JavaDerive(equals=true, toString=true) @RustDerive(Clone=true) @VintfStability
|
||||
parcelable SetValueResult {
|
||||
long requestId;
|
||||
android.hardware.automotive.vehicle.StatusCode status = android.hardware.automotive.vehicle.StatusCode.OK;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.automotive.vehicle;
|
||||
@JavaDerive(equals=true, toString=true) @VintfStability
|
||||
@JavaDerive(equals=true, toString=true) @RustDerive(Clone=true) @VintfStability
|
||||
parcelable SubscribeOptions {
|
||||
int propId;
|
||||
int[] areaIds;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.automotive.vehicle;
|
||||
@JavaDerive(equals=true, toString=true) @VintfStability
|
||||
@JavaDerive(equals=true, toString=true) @RustDerive(Clone=true) @VintfStability
|
||||
parcelable VehicleAreaConfig {
|
||||
int areaId;
|
||||
int minInt32Value;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.automotive.vehicle;
|
||||
@JavaDerive(equals=true, toString=true) @VintfStability
|
||||
@JavaDerive(equals=true, toString=true) @RustDerive(Clone=true) @VintfStability
|
||||
parcelable VehiclePropConfig {
|
||||
int prop;
|
||||
android.hardware.automotive.vehicle.VehiclePropertyAccess access = android.hardware.automotive.vehicle.VehiclePropertyAccess.NONE;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.automotive.vehicle;
|
||||
@JavaDerive(equals=true, toString=true) @VintfStability
|
||||
@JavaDerive(equals=true, toString=true) @RustDerive(Clone=true) @VintfStability
|
||||
parcelable VehiclePropError {
|
||||
int propId;
|
||||
int areaId;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.automotive.vehicle;
|
||||
@JavaDerive(equals=true, toString=true) @VintfStability
|
||||
@JavaDerive(equals=true, toString=true) @RustDerive(Clone=true) @VintfStability
|
||||
parcelable VehiclePropValue {
|
||||
long timestamp;
|
||||
int areaId;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.automotive.vehicle;
|
||||
@JavaDerive(equals=true, toString=true) @VintfStability
|
||||
@JavaDerive(equals=true, toString=true) @RustDerive(Clone=true) @VintfStability
|
||||
parcelable GetValueRequest {
|
||||
long requestId;
|
||||
android.hardware.automotive.vehicle.VehiclePropValue prop;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.automotive.vehicle;
|
||||
@JavaDerive(equals=true, toString=true) @VintfStability
|
||||
@JavaDerive(equals=true, toString=true) @RustDerive(Clone=true) @VintfStability
|
||||
parcelable GetValueResult {
|
||||
long requestId;
|
||||
android.hardware.automotive.vehicle.StatusCode status = android.hardware.automotive.vehicle.StatusCode.OK;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.automotive.vehicle;
|
||||
@JavaDerive(equals=true, toString=true) @VintfStability
|
||||
@JavaDerive(equals=true, toString=true) @RustDerive(Clone=true) @VintfStability
|
||||
parcelable RawPropValues {
|
||||
int[] int32Values = {};
|
||||
float[] floatValues;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.automotive.vehicle;
|
||||
@JavaDerive(equals=true, toString=true) @VintfStability
|
||||
@JavaDerive(equals=true, toString=true) @RustDerive(Clone=true) @VintfStability
|
||||
parcelable SetValueRequest {
|
||||
long requestId;
|
||||
android.hardware.automotive.vehicle.VehiclePropValue value;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.automotive.vehicle;
|
||||
@JavaDerive(equals=true, toString=true) @VintfStability
|
||||
@JavaDerive(equals=true, toString=true) @RustDerive(Clone=true) @VintfStability
|
||||
parcelable SetValueResult {
|
||||
long requestId;
|
||||
android.hardware.automotive.vehicle.StatusCode status = android.hardware.automotive.vehicle.StatusCode.OK;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.automotive.vehicle;
|
||||
@JavaDerive(equals=true, toString=true) @VintfStability
|
||||
@JavaDerive(equals=true, toString=true) @RustDerive(Clone=true) @VintfStability
|
||||
parcelable SubscribeOptions {
|
||||
int propId;
|
||||
int[] areaIds;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.automotive.vehicle;
|
||||
@JavaDerive(equals=true, toString=true) @VintfStability
|
||||
@JavaDerive(equals=true, toString=true) @RustDerive(Clone=true) @VintfStability
|
||||
parcelable VehicleAreaConfig {
|
||||
int areaId;
|
||||
int minInt32Value;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.automotive.vehicle;
|
||||
@JavaDerive(equals=true, toString=true) @VintfStability
|
||||
@JavaDerive(equals=true, toString=true) @RustDerive(Clone=true) @VintfStability
|
||||
parcelable VehiclePropConfig {
|
||||
int prop;
|
||||
android.hardware.automotive.vehicle.VehiclePropertyAccess access = android.hardware.automotive.vehicle.VehiclePropertyAccess.NONE;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.automotive.vehicle;
|
||||
@JavaDerive(equals=true, toString=true) @VintfStability
|
||||
@JavaDerive(equals=true, toString=true) @RustDerive(Clone=true) @VintfStability
|
||||
parcelable VehiclePropError {
|
||||
int propId;
|
||||
int areaId;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.automotive.vehicle;
|
||||
@JavaDerive(equals=true, toString=true) @VintfStability
|
||||
@JavaDerive(equals=true, toString=true) @RustDerive(Clone=true) @VintfStability
|
||||
parcelable VehiclePropValue {
|
||||
long timestamp;
|
||||
int areaId;
|
||||
|
|
|
@ -20,6 +20,7 @@ import android.hardware.automotive.vehicle.VehiclePropValue;
|
|||
|
||||
@VintfStability
|
||||
@JavaDerive(equals=true, toString=true)
|
||||
@RustDerive(Clone=true)
|
||||
parcelable GetValueRequest {
|
||||
// A unique request ID. For every client, the request ID must start with 1
|
||||
// and monotonically increase for every SetValueRequest. If it hits
|
||||
|
|
|
@ -21,6 +21,7 @@ import android.hardware.automotive.vehicle.VehiclePropValue;
|
|||
|
||||
@VintfStability
|
||||
@JavaDerive(equals=true, toString=true)
|
||||
@RustDerive(Clone=true)
|
||||
parcelable GetValueResult {
|
||||
// The ID for the request this response is for.
|
||||
long requestId;
|
||||
|
|
|
@ -18,6 +18,7 @@ package android.hardware.automotive.vehicle;
|
|||
|
||||
@VintfStability
|
||||
@JavaDerive(equals=true, toString=true)
|
||||
@RustDerive(Clone=true)
|
||||
parcelable RawPropValues {
|
||||
/**
|
||||
* This is used for properties of types VehiclePropertyType#INT32,
|
||||
|
|
|
@ -20,6 +20,7 @@ import android.hardware.automotive.vehicle.VehiclePropValue;
|
|||
|
||||
@VintfStability
|
||||
@JavaDerive(equals=true, toString=true)
|
||||
@RustDerive(Clone=true)
|
||||
parcelable SetValueRequest {
|
||||
// A unique request ID. For every client, the request ID must start with 1
|
||||
// and monotonically increase for every SetValueRequest. If it hits
|
||||
|
|
|
@ -20,6 +20,7 @@ import android.hardware.automotive.vehicle.StatusCode;
|
|||
|
||||
@VintfStability
|
||||
@JavaDerive(equals=true, toString=true)
|
||||
@RustDerive(Clone=true)
|
||||
parcelable SetValueResult {
|
||||
// The ID for the request this response is for.
|
||||
long requestId;
|
||||
|
|
|
@ -21,6 +21,7 @@ package android.hardware.automotive.vehicle;
|
|||
*/
|
||||
@VintfStability
|
||||
@JavaDerive(equals=true, toString=true)
|
||||
@RustDerive(Clone=true)
|
||||
parcelable SubscribeOptions {
|
||||
/** Property to subscribe */
|
||||
int propId;
|
||||
|
|
|
@ -20,6 +20,7 @@ import android.hardware.automotive.vehicle.VehiclePropertyAccess;
|
|||
|
||||
@VintfStability
|
||||
@JavaDerive(equals=true, toString=true)
|
||||
@RustDerive(Clone=true)
|
||||
parcelable VehicleAreaConfig {
|
||||
/**
|
||||
* Area id is always 0 for VehicleArea#GLOBAL properties.
|
||||
|
|
|
@ -22,6 +22,7 @@ import android.hardware.automotive.vehicle.VehiclePropertyChangeMode;
|
|||
|
||||
@VintfStability
|
||||
@JavaDerive(equals=true, toString=true)
|
||||
@RustDerive(Clone=true)
|
||||
parcelable VehiclePropConfig {
|
||||
/** Property identifier */
|
||||
int prop;
|
||||
|
|
|
@ -20,6 +20,7 @@ import android.hardware.automotive.vehicle.StatusCode;
|
|||
|
||||
@VintfStability
|
||||
@JavaDerive(equals=true, toString=true)
|
||||
@RustDerive(Clone=true)
|
||||
parcelable VehiclePropError {
|
||||
// Property ID.
|
||||
int propId;
|
||||
|
|
|
@ -26,6 +26,7 @@ import android.hardware.automotive.vehicle.VehiclePropertyStatus;
|
|||
*/
|
||||
@VintfStability
|
||||
@JavaDerive(equals=true, toString=true)
|
||||
@RustDerive(Clone=true)
|
||||
parcelable VehiclePropValue {
|
||||
/** Time is elapsed nanoseconds since boot */
|
||||
long timestamp;
|
||||
|
|
Loading…
Reference in a new issue