From f9dcdea9f45ead2b41ef60198670219cc2bda7b1 Mon Sep 17 00:00:00 2001 From: Yu Shan Date: Tue, 23 Nov 2021 17:09:11 -0800 Subject: [PATCH] Add Java equal and toString annotations. Add annotations so that the Java backend would generate equals and toString methods, which would be useful in our code. Test: Manual build. Bug: 205774940 Change-Id: Ib08c5f42d29c6d028abcaa1a577147d1495cf550 --- .../android/hardware/automotive/vehicle/CreateUserRequest.aidl | 2 +- .../android/hardware/automotive/vehicle/CreateUserResponse.aidl | 2 +- .../android/hardware/automotive/vehicle/GetValueRequest.aidl | 2 +- .../android/hardware/automotive/vehicle/GetValueRequests.aidl | 2 +- .../android/hardware/automotive/vehicle/GetValueResult.aidl | 2 +- .../android/hardware/automotive/vehicle/GetValueResults.aidl | 2 +- .../hardware/automotive/vehicle/InitialUserInfoRequest.aidl | 2 +- .../hardware/automotive/vehicle/InitialUserInfoResponse.aidl | 2 +- .../android/hardware/automotive/vehicle/RawPropValues.aidl | 2 +- .../android/hardware/automotive/vehicle/RemoveUserRequest.aidl | 2 +- .../android/hardware/automotive/vehicle/SetValueRequest.aidl | 2 +- .../android/hardware/automotive/vehicle/SetValueRequests.aidl | 2 +- .../android/hardware/automotive/vehicle/SetValueResult.aidl | 2 +- .../android/hardware/automotive/vehicle/SetValueResults.aidl | 2 +- .../android/hardware/automotive/vehicle/SubscribeOptions.aidl | 2 +- .../android/hardware/automotive/vehicle/SwitchUserRequest.aidl | 2 +- .../android/hardware/automotive/vehicle/SwitchUserResponse.aidl | 2 +- .../automotive/vehicle/UserIdentificationAssociation.aidl | 2 +- .../automotive/vehicle/UserIdentificationGetRequest.aidl | 2 +- .../hardware/automotive/vehicle/UserIdentificationResponse.aidl | 2 +- .../automotive/vehicle/UserIdentificationSetAssociation.aidl | 2 +- .../automotive/vehicle/UserIdentificationSetRequest.aidl | 2 +- .../current/android/hardware/automotive/vehicle/UserInfo.aidl | 2 +- .../current/android/hardware/automotive/vehicle/UsersInfo.aidl | 2 +- .../android/hardware/automotive/vehicle/VehicleAreaConfig.aidl | 2 +- .../android/hardware/automotive/vehicle/VehiclePropConfig.aidl | 2 +- .../android/hardware/automotive/vehicle/VehiclePropConfigs.aidl | 2 +- .../android/hardware/automotive/vehicle/VehiclePropError.aidl | 2 +- .../android/hardware/automotive/vehicle/VehiclePropErrors.aidl | 2 +- .../android/hardware/automotive/vehicle/VehiclePropValue.aidl | 2 +- .../android/hardware/automotive/vehicle/VehiclePropValues.aidl | 2 +- .../android/hardware/automotive/vehicle/CreateUserRequest.aidl | 1 + .../android/hardware/automotive/vehicle/CreateUserResponse.aidl | 1 + .../android/hardware/automotive/vehicle/GetValueRequest.aidl | 1 + .../android/hardware/automotive/vehicle/GetValueRequests.aidl | 1 + .../android/hardware/automotive/vehicle/GetValueResult.aidl | 1 + .../android/hardware/automotive/vehicle/GetValueResults.aidl | 1 + .../hardware/automotive/vehicle/InitialUserInfoRequest.aidl | 1 + .../hardware/automotive/vehicle/InitialUserInfoResponse.aidl | 1 + .../aidl/android/hardware/automotive/vehicle/RawPropValues.aidl | 1 + .../android/hardware/automotive/vehicle/RemoveUserRequest.aidl | 1 + .../android/hardware/automotive/vehicle/SetValueRequest.aidl | 1 + .../android/hardware/automotive/vehicle/SetValueRequests.aidl | 1 + .../android/hardware/automotive/vehicle/SetValueResult.aidl | 1 + .../android/hardware/automotive/vehicle/SetValueResults.aidl | 1 + .../android/hardware/automotive/vehicle/SubscribeOptions.aidl | 1 + .../android/hardware/automotive/vehicle/SwitchUserRequest.aidl | 1 + .../android/hardware/automotive/vehicle/SwitchUserResponse.aidl | 1 + .../automotive/vehicle/UserIdentificationAssociation.aidl | 1 + .../automotive/vehicle/UserIdentificationGetRequest.aidl | 1 + .../hardware/automotive/vehicle/UserIdentificationResponse.aidl | 1 + .../automotive/vehicle/UserIdentificationSetAssociation.aidl | 1 + .../automotive/vehicle/UserIdentificationSetRequest.aidl | 1 + .../aidl/android/hardware/automotive/vehicle/UserInfo.aidl | 1 + .../aidl/android/hardware/automotive/vehicle/UsersInfo.aidl | 1 + .../android/hardware/automotive/vehicle/VehicleAreaConfig.aidl | 1 + .../android/hardware/automotive/vehicle/VehiclePropConfig.aidl | 1 + .../android/hardware/automotive/vehicle/VehiclePropConfigs.aidl | 1 + .../android/hardware/automotive/vehicle/VehiclePropError.aidl | 1 + .../android/hardware/automotive/vehicle/VehiclePropErrors.aidl | 1 + .../android/hardware/automotive/vehicle/VehiclePropValue.aidl | 1 + .../android/hardware/automotive/vehicle/VehiclePropValues.aidl | 1 + 62 files changed, 62 insertions(+), 31 deletions(-) diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/CreateUserRequest.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/CreateUserRequest.aidl index 54c65bae44..22c690c00f 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/CreateUserRequest.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/CreateUserRequest.aidl @@ -32,7 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.automotive.vehicle; -@VintfStability +@JavaDerive(equals=true, toString=true) @VintfStability parcelable CreateUserRequest { int requestId; android.hardware.automotive.vehicle.UserInfo newUserInfo; diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/CreateUserResponse.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/CreateUserResponse.aidl index 6126f99759..7d0196b4e5 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/CreateUserResponse.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/CreateUserResponse.aidl @@ -32,7 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.automotive.vehicle; -@VintfStability +@JavaDerive(equals=true, toString=true) @VintfStability parcelable CreateUserResponse { int requestId; android.hardware.automotive.vehicle.CreateUserStatus status = android.hardware.automotive.vehicle.CreateUserStatus.SUCCESS; diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/GetValueRequest.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/GetValueRequest.aidl index 177966b031..d88cd8b076 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/GetValueRequest.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/GetValueRequest.aidl @@ -32,7 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.automotive.vehicle; -@VintfStability +@JavaDerive(equals=true, toString=true) @VintfStability parcelable GetValueRequest { long requestId; android.hardware.automotive.vehicle.VehiclePropValue prop; diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/GetValueRequests.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/GetValueRequests.aidl index 5ecf4dd863..a7df2ff24d 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/GetValueRequests.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/GetValueRequests.aidl @@ -32,7 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.automotive.vehicle; -@VintfStability +@JavaDerive(equals=true, toString=true) @VintfStability parcelable GetValueRequests { android.hardware.automotive.vehicle.GetValueRequest[] payloads; @nullable ParcelFileDescriptor sharedMemoryFd; diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/GetValueResult.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/GetValueResult.aidl index 60c46e45a0..25f3575862 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/GetValueResult.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/GetValueResult.aidl @@ -32,7 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.automotive.vehicle; -@VintfStability +@JavaDerive(equals=true, toString=true) @VintfStability parcelable GetValueResult { long requestId; android.hardware.automotive.vehicle.StatusCode status = android.hardware.automotive.vehicle.StatusCode.OK; diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/GetValueResults.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/GetValueResults.aidl index 778ba8e0b5..4c365b1074 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/GetValueResults.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/GetValueResults.aidl @@ -32,7 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.automotive.vehicle; -@VintfStability +@JavaDerive(equals=true, toString=true) @VintfStability parcelable GetValueResults { android.hardware.automotive.vehicle.GetValueResult[] payloads; @nullable ParcelFileDescriptor sharedMemoryFd; diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/InitialUserInfoRequest.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/InitialUserInfoRequest.aidl index c2c25009e4..a4c048aadb 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/InitialUserInfoRequest.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/InitialUserInfoRequest.aidl @@ -32,7 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.automotive.vehicle; -@VintfStability +@JavaDerive(equals=true, toString=true) @VintfStability parcelable InitialUserInfoRequest { int requestId; android.hardware.automotive.vehicle.InitialUserInfoRequestType requestType = android.hardware.automotive.vehicle.InitialUserInfoRequestType.UNKNOWN; diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/InitialUserInfoResponse.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/InitialUserInfoResponse.aidl index ffb1781aba..f0e161261d 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/InitialUserInfoResponse.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/InitialUserInfoResponse.aidl @@ -32,7 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.automotive.vehicle; -@VintfStability +@JavaDerive(equals=true, toString=true) @VintfStability parcelable InitialUserInfoResponse { int requestId; android.hardware.automotive.vehicle.InitialUserInfoResponseAction action = android.hardware.automotive.vehicle.InitialUserInfoResponseAction.DEFAULT; diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/RawPropValues.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/RawPropValues.aidl index e553d602a0..e7b0a137cf 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/RawPropValues.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/RawPropValues.aidl @@ -32,7 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.automotive.vehicle; -@VintfStability +@JavaDerive(equals=true, toString=true) @VintfStability parcelable RawPropValues { int[] int32Values = {}; float[] floatValues; diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/RemoveUserRequest.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/RemoveUserRequest.aidl index 68613092c5..74457b9ab7 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/RemoveUserRequest.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/RemoveUserRequest.aidl @@ -32,7 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.automotive.vehicle; -@VintfStability +@JavaDerive(equals=true, toString=true) @VintfStability parcelable RemoveUserRequest { int requestId; android.hardware.automotive.vehicle.UserInfo removedUserInfo; diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/SetValueRequest.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/SetValueRequest.aidl index d6cddb6cdc..6a65307f3c 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/SetValueRequest.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/SetValueRequest.aidl @@ -32,7 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.automotive.vehicle; -@VintfStability +@JavaDerive(equals=true, toString=true) @VintfStability parcelable SetValueRequest { long requestId; android.hardware.automotive.vehicle.VehiclePropValue value; diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/SetValueRequests.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/SetValueRequests.aidl index ea9ac9a0af..15fd7ea8a8 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/SetValueRequests.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/SetValueRequests.aidl @@ -32,7 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.automotive.vehicle; -@VintfStability +@JavaDerive(equals=true, toString=true) @VintfStability parcelable SetValueRequests { android.hardware.automotive.vehicle.SetValueRequest[] payloads; @nullable ParcelFileDescriptor sharedMemoryFd; diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/SetValueResult.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/SetValueResult.aidl index 6c25bc864c..ec5fabb0b4 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/SetValueResult.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/SetValueResult.aidl @@ -32,7 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.automotive.vehicle; -@VintfStability +@JavaDerive(equals=true, toString=true) @VintfStability parcelable SetValueResult { long requestId; android.hardware.automotive.vehicle.StatusCode status = android.hardware.automotive.vehicle.StatusCode.OK; diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/SetValueResults.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/SetValueResults.aidl index 65ff8f0ed9..47f16563ce 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/SetValueResults.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/SetValueResults.aidl @@ -32,7 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.automotive.vehicle; -@VintfStability +@JavaDerive(equals=true, toString=true) @VintfStability parcelable SetValueResults { android.hardware.automotive.vehicle.SetValueResult[] payloads; @nullable ParcelFileDescriptor sharedMemoryFd; diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/SubscribeOptions.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/SubscribeOptions.aidl index dcefd0964e..91e7c1499a 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/SubscribeOptions.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/SubscribeOptions.aidl @@ -32,7 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.automotive.vehicle; -@VintfStability +@JavaDerive(equals=true, toString=true) @VintfStability parcelable SubscribeOptions { int propId; int[] areaIds; diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/SwitchUserRequest.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/SwitchUserRequest.aidl index bb18e02177..3012b7a51d 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/SwitchUserRequest.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/SwitchUserRequest.aidl @@ -32,7 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.automotive.vehicle; -@VintfStability +@JavaDerive(equals=true, toString=true) @VintfStability parcelable SwitchUserRequest { int requestId; android.hardware.automotive.vehicle.SwitchUserMessageType messageType = android.hardware.automotive.vehicle.SwitchUserMessageType.UNKNOWN; diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/SwitchUserResponse.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/SwitchUserResponse.aidl index efc1911046..8915d1b866 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/SwitchUserResponse.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/SwitchUserResponse.aidl @@ -32,7 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.automotive.vehicle; -@VintfStability +@JavaDerive(equals=true, toString=true) @VintfStability parcelable SwitchUserResponse { int requestId; android.hardware.automotive.vehicle.SwitchUserMessageType messageType = android.hardware.automotive.vehicle.SwitchUserMessageType.UNKNOWN; diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/UserIdentificationAssociation.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/UserIdentificationAssociation.aidl index a0f987957a..a540f8ead8 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/UserIdentificationAssociation.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/UserIdentificationAssociation.aidl @@ -32,7 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.automotive.vehicle; -@VintfStability +@JavaDerive(equals=true, toString=true) @VintfStability parcelable UserIdentificationAssociation { android.hardware.automotive.vehicle.UserIdentificationAssociationType type = android.hardware.automotive.vehicle.UserIdentificationAssociationType.INVALID; android.hardware.automotive.vehicle.UserIdentificationAssociationValue value = android.hardware.automotive.vehicle.UserIdentificationAssociationValue.UNKNOWN; diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/UserIdentificationGetRequest.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/UserIdentificationGetRequest.aidl index 744030e744..fe7fd6f6bc 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/UserIdentificationGetRequest.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/UserIdentificationGetRequest.aidl @@ -32,7 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.automotive.vehicle; -@VintfStability +@JavaDerive(equals=true, toString=true) @VintfStability parcelable UserIdentificationGetRequest { int requestId; android.hardware.automotive.vehicle.UserInfo userInfo; diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/UserIdentificationResponse.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/UserIdentificationResponse.aidl index b47b0033b9..3e2a2579cc 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/UserIdentificationResponse.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/UserIdentificationResponse.aidl @@ -32,7 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.automotive.vehicle; -@VintfStability +@JavaDerive(equals=true, toString=true) @VintfStability parcelable UserIdentificationResponse { int requestId; int numberAssociation; diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/UserIdentificationSetAssociation.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/UserIdentificationSetAssociation.aidl index 5297349294..57840fb77c 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/UserIdentificationSetAssociation.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/UserIdentificationSetAssociation.aidl @@ -32,7 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.automotive.vehicle; -@VintfStability +@JavaDerive(equals=true, toString=true) @VintfStability parcelable UserIdentificationSetAssociation { android.hardware.automotive.vehicle.UserIdentificationAssociationType type = android.hardware.automotive.vehicle.UserIdentificationAssociationType.INVALID; android.hardware.automotive.vehicle.UserIdentificationAssociationSetValue value = android.hardware.automotive.vehicle.UserIdentificationAssociationSetValue.INVALID; diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/UserIdentificationSetRequest.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/UserIdentificationSetRequest.aidl index 725040d19f..db01b515a8 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/UserIdentificationSetRequest.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/UserIdentificationSetRequest.aidl @@ -32,7 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.automotive.vehicle; -@VintfStability +@JavaDerive(equals=true, toString=true) @VintfStability parcelable UserIdentificationSetRequest { int requestId; android.hardware.automotive.vehicle.UserInfo userInfo; diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/UserInfo.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/UserInfo.aidl index b99272bf2a..f47d5e74bb 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/UserInfo.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/UserInfo.aidl @@ -32,7 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.automotive.vehicle; -@VintfStability +@JavaDerive(equals=true, toString=true) @VintfStability parcelable UserInfo { int userId = 0; int flags; diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/UsersInfo.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/UsersInfo.aidl index 723431698b..edcef2edfd 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/UsersInfo.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/UsersInfo.aidl @@ -32,7 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.automotive.vehicle; -@VintfStability +@JavaDerive(equals=true, toString=true) @VintfStability parcelable UsersInfo { android.hardware.automotive.vehicle.UserInfo currentUser; int numberUsers; diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehicleAreaConfig.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehicleAreaConfig.aidl index 7a42ec8017..b93a11b60f 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehicleAreaConfig.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehicleAreaConfig.aidl @@ -32,7 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.automotive.vehicle; -@VintfStability +@JavaDerive(equals=true, toString=true) @VintfStability parcelable VehicleAreaConfig { int areaId; int minInt32Value; diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehiclePropConfig.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehiclePropConfig.aidl index 16ba6dba7e..8602d2d03d 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehiclePropConfig.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehiclePropConfig.aidl @@ -32,7 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.automotive.vehicle; -@VintfStability +@JavaDerive(equals=true, toString=true) @VintfStability parcelable VehiclePropConfig { int prop; android.hardware.automotive.vehicle.VehiclePropertyAccess access = android.hardware.automotive.vehicle.VehiclePropertyAccess.NONE; diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehiclePropConfigs.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehiclePropConfigs.aidl index e5d146da7d..04c8006983 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehiclePropConfigs.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehiclePropConfigs.aidl @@ -32,7 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.automotive.vehicle; -@VintfStability +@JavaDerive(equals=true, toString=true) @VintfStability parcelable VehiclePropConfigs { android.hardware.automotive.vehicle.VehiclePropConfig[] payloads; @nullable ParcelFileDescriptor sharedMemoryFd; diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehiclePropError.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehiclePropError.aidl index 8b2e1041ef..983529542f 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehiclePropError.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehiclePropError.aidl @@ -32,7 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.automotive.vehicle; -@VintfStability +@JavaDerive(equals=true, toString=true) @VintfStability parcelable VehiclePropError { int propId; int areaId; diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehiclePropErrors.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehiclePropErrors.aidl index 6303d3a634..9dcb10bc9e 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehiclePropErrors.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehiclePropErrors.aidl @@ -32,7 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.automotive.vehicle; -@VintfStability +@JavaDerive(equals=true, toString=true) @VintfStability parcelable VehiclePropErrors { android.hardware.automotive.vehicle.VehiclePropError[] payloads; @nullable ParcelFileDescriptor sharedMemoryFd; diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehiclePropValue.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehiclePropValue.aidl index fc1ae531d1..c87379fd9b 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehiclePropValue.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehiclePropValue.aidl @@ -32,7 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.automotive.vehicle; -@VintfStability +@JavaDerive(equals=true, toString=true) @VintfStability parcelable VehiclePropValue { long timestamp; int areaId; diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehiclePropValues.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehiclePropValues.aidl index da8c60b6bf..e09a6b95df 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehiclePropValues.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehiclePropValues.aidl @@ -32,7 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.automotive.vehicle; -@VintfStability +@JavaDerive(equals=true, toString=true) @VintfStability parcelable VehiclePropValues { android.hardware.automotive.vehicle.VehiclePropValue[] payloads; long sharedMemoryId; diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/CreateUserRequest.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/CreateUserRequest.aidl index 1f7c9cc95f..624e5a6d20 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/CreateUserRequest.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/CreateUserRequest.aidl @@ -26,6 +26,7 @@ import android.hardware.automotive.vehicle.UsersInfo; * VehiclePropValue.RawValue through libraries provided by the default Vehicle HAL implementation. */ @VintfStability +@JavaDerive(equals=true, toString=true) parcelable CreateUserRequest { /** * Arbitrary id used to map the response to the request. diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/CreateUserResponse.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/CreateUserResponse.aidl index d011366834..29db442948 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/CreateUserResponse.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/CreateUserResponse.aidl @@ -25,6 +25,7 @@ import android.hardware.automotive.vehicle.CreateUserStatus; * VehiclePropValue.RawValue through libraries provided by the default Vehicle HAL implementation. */ @VintfStability +@JavaDerive(equals=true, toString=true) parcelable CreateUserResponse { /** * Id of the request being responded. diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/GetValueRequest.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/GetValueRequest.aidl index 43a89d045e..e5b3929178 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/GetValueRequest.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/GetValueRequest.aidl @@ -19,6 +19,7 @@ package android.hardware.automotive.vehicle; import android.hardware.automotive.vehicle.VehiclePropValue; @VintfStability +@JavaDerive(equals=true, toString=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 diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/GetValueRequests.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/GetValueRequests.aidl index 66012331eb..3bbb88c0d3 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/GetValueRequests.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/GetValueRequests.aidl @@ -20,6 +20,7 @@ import android.hardware.automotive.vehicle.GetValueRequest; import android.os.ParcelFileDescriptor; @VintfStability +@JavaDerive(equals=true, toString=true) parcelable GetValueRequests { // A list of GetValueRequest to get if they fit the binder memory // limitation. diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/GetValueResult.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/GetValueResult.aidl index b099a858b3..24c57579dd 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/GetValueResult.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/GetValueResult.aidl @@ -20,6 +20,7 @@ import android.hardware.automotive.vehicle.StatusCode; import android.hardware.automotive.vehicle.VehiclePropValue; @VintfStability +@JavaDerive(equals=true, toString=true) parcelable GetValueResult { // The ID for the request this response is for. long requestId; diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/GetValueResults.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/GetValueResults.aidl index 919e6441a2..a8bfb2c04b 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/GetValueResults.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/GetValueResults.aidl @@ -20,6 +20,7 @@ import android.hardware.automotive.vehicle.GetValueResult; import android.os.ParcelFileDescriptor; @VintfStability +@JavaDerive(equals=true, toString=true) parcelable GetValueResults { // The list of responses if they fit the binder memory limitation. GetValueResult[] payloads; diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/InitialUserInfoRequest.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/InitialUserInfoRequest.aidl index 7879d44f06..c7ba836ab7 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/InitialUserInfoRequest.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/InitialUserInfoRequest.aidl @@ -26,6 +26,7 @@ import android.hardware.automotive.vehicle.UsersInfo; * VehiclePropValue.RawValue through libraries provided by the default Vehicle HAL implementation. */ @VintfStability +@JavaDerive(equals=true, toString=true) parcelable InitialUserInfoRequest { /** * Arbitrary id used to map the HAL response to the request. diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/InitialUserInfoResponse.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/InitialUserInfoResponse.aidl index 8be0c69431..4c46fcb164 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/InitialUserInfoResponse.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/InitialUserInfoResponse.aidl @@ -26,6 +26,7 @@ import android.hardware.automotive.vehicle.UserInfo; * VehiclePropValue.RawValue through libraries provided by the default Vehicle HAL implementation. */ @VintfStability +@JavaDerive(equals=true, toString=true) parcelable InitialUserInfoResponse { /** * Id of the request being responded. diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/RawPropValues.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/RawPropValues.aidl index 5d8febd196..9c6875b0b5 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/RawPropValues.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/RawPropValues.aidl @@ -17,6 +17,7 @@ package android.hardware.automotive.vehicle; @VintfStability +@JavaDerive(equals=true, toString=true) parcelable RawPropValues { /** * This is used for properties of types VehiclePropertyType#INT diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/RemoveUserRequest.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/RemoveUserRequest.aidl index 1a3d4dd096..cb61da85eb 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/RemoveUserRequest.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/RemoveUserRequest.aidl @@ -26,6 +26,7 @@ import android.hardware.automotive.vehicle.UsersInfo; * VehiclePropValue.RawValue through libraries provided by the default Vehicle HAL implementation. */ @VintfStability +@JavaDerive(equals=true, toString=true) parcelable RemoveUserRequest { /** * Arbitrary id used to map the response to the request. diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/SetValueRequest.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/SetValueRequest.aidl index f2b0e271c4..625f9010e7 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/SetValueRequest.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/SetValueRequest.aidl @@ -19,6 +19,7 @@ package android.hardware.automotive.vehicle; import android.hardware.automotive.vehicle.VehiclePropValue; @VintfStability +@JavaDerive(equals=true, toString=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 diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/SetValueRequests.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/SetValueRequests.aidl index 5d6ad85766..a690fa2786 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/SetValueRequests.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/SetValueRequests.aidl @@ -20,6 +20,7 @@ import android.hardware.automotive.vehicle.SetValueRequest; import android.os.ParcelFileDescriptor; @VintfStability +@JavaDerive(equals=true, toString=true) parcelable SetValueRequests { // The list of request if they fit the binder memory limitation. SetValueRequest[] payloads; diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/SetValueResult.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/SetValueResult.aidl index a468f3be0c..b3feeaa1e1 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/SetValueResult.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/SetValueResult.aidl @@ -19,6 +19,7 @@ package android.hardware.automotive.vehicle; import android.hardware.automotive.vehicle.StatusCode; @VintfStability +@JavaDerive(equals=true, toString=true) parcelable SetValueResult { // The ID for the request this response is for. long requestId; diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/SetValueResults.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/SetValueResults.aidl index 6df9de053b..9b0e505ee4 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/SetValueResults.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/SetValueResults.aidl @@ -20,6 +20,7 @@ import android.hardware.automotive.vehicle.SetValueResult; import android.os.ParcelFileDescriptor; @VintfStability +@JavaDerive(equals=true, toString=true) parcelable SetValueResults { // The list of responses if they fit the binder memory limitation. SetValueResult[] payloads; diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/SubscribeOptions.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/SubscribeOptions.aidl index bc7d84a3a2..e68f7e3631 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/SubscribeOptions.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/SubscribeOptions.aidl @@ -20,6 +20,7 @@ package android.hardware.automotive.vehicle; * Encapsulates information about subscription to vehicle property events. */ @VintfStability +@JavaDerive(equals=true, toString=true) parcelable SubscribeOptions { /** Property to subscribe */ int propId; diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/SwitchUserRequest.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/SwitchUserRequest.aidl index 10858a4e74..320632cc6a 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/SwitchUserRequest.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/SwitchUserRequest.aidl @@ -27,6 +27,7 @@ import android.hardware.automotive.vehicle.UsersInfo; * VehiclePropValue.RawValue through libraries provided by the default Vehicle HAL implementation. */ @VintfStability +@JavaDerive(equals=true, toString=true) parcelable SwitchUserRequest { /** * Arbitrary id used to map the response to the request. diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/SwitchUserResponse.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/SwitchUserResponse.aidl index d5d44e56fa..106386dd4a 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/SwitchUserResponse.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/SwitchUserResponse.aidl @@ -26,6 +26,7 @@ import android.hardware.automotive.vehicle.SwitchUserStatus; * VehiclePropValue.RawValue through libraries provided by the default Vehicle HAL implementation. */ @VintfStability +@JavaDerive(equals=true, toString=true) parcelable SwitchUserResponse { /** * Id of the request being responded. diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/UserIdentificationAssociation.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/UserIdentificationAssociation.aidl index cdd11bfe2d..4af5f72eb5 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/UserIdentificationAssociation.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/UserIdentificationAssociation.aidl @@ -23,6 +23,7 @@ import android.hardware.automotive.vehicle.UserIdentificationAssociationValue; * Helper struct used when getting a user/identification association type. */ @VintfStability +@JavaDerive(equals=true, toString=true) parcelable UserIdentificationAssociation { UserIdentificationAssociationType type = UserIdentificationAssociationType.INVALID; UserIdentificationAssociationValue value = UserIdentificationAssociationValue.UNKNOWN; diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/UserIdentificationGetRequest.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/UserIdentificationGetRequest.aidl index 58620efa59..82580d795e 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/UserIdentificationGetRequest.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/UserIdentificationGetRequest.aidl @@ -26,6 +26,7 @@ import android.hardware.automotive.vehicle.UserInfo; * VehiclePropValue.RawValue through libraries provided by the default Vehicle HAL implementation. */ @VintfStability +@JavaDerive(equals=true, toString=true) parcelable UserIdentificationGetRequest { /** * Id of the request being responded. diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/UserIdentificationResponse.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/UserIdentificationResponse.aidl index 06341c7f7d..1487a70950 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/UserIdentificationResponse.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/UserIdentificationResponse.aidl @@ -25,6 +25,7 @@ import android.hardware.automotive.vehicle.UserIdentificationAssociation; * VehiclePropValue.RawValue through libraries provided by the default Vehicle HAL implementation. */ @VintfStability +@JavaDerive(equals=true, toString=true) parcelable UserIdentificationResponse { /** * Id of the request being responded. diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/UserIdentificationSetAssociation.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/UserIdentificationSetAssociation.aidl index fe5017fcc8..bfb9544be7 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/UserIdentificationSetAssociation.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/UserIdentificationSetAssociation.aidl @@ -23,6 +23,7 @@ import android.hardware.automotive.vehicle.UserIdentificationAssociationType; * Helper struct used when setting a user/identification association type. */ @VintfStability +@JavaDerive(equals=true, toString=true) parcelable UserIdentificationSetAssociation { UserIdentificationAssociationType type = UserIdentificationAssociationType.INVALID; UserIdentificationAssociationSetValue value = UserIdentificationAssociationSetValue.INVALID; diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/UserIdentificationSetRequest.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/UserIdentificationSetRequest.aidl index 13f36773e5..223ff08e7b 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/UserIdentificationSetRequest.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/UserIdentificationSetRequest.aidl @@ -25,6 +25,7 @@ import android.hardware.automotive.vehicle.UserInfo; * VehiclePropValue.RawValue through libraries provided by the default Vehicle HAL implementation. */ @VintfStability +@JavaDerive(equals=true, toString=true) parcelable UserIdentificationSetRequest { /** * Id of the request being responded. diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/UserInfo.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/UserInfo.aidl index e4ecc4b1ea..20c72bd6e5 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/UserInfo.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/UserInfo.aidl @@ -20,6 +20,7 @@ package android.hardware.automotive.vehicle; * Information about a specific Android user. */ @VintfStability +@JavaDerive(equals=true, toString=true) parcelable UserInfo { /** * System user. diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/UsersInfo.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/UsersInfo.aidl index 77468b1e0c..ede36f778f 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/UsersInfo.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/UsersInfo.aidl @@ -26,6 +26,7 @@ import android.hardware.automotive.vehicle.UserInfo; * Vehicle HAL implementation. */ @VintfStability +@JavaDerive(equals=true, toString=true) parcelable UsersInfo { /** * The current foreground user. diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehicleAreaConfig.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehicleAreaConfig.aidl index b33dcbc509..b44996dc7e 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehicleAreaConfig.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehicleAreaConfig.aidl @@ -17,6 +17,7 @@ package android.hardware.automotive.vehicle; @VintfStability +@JavaDerive(equals=true, toString=true) parcelable VehicleAreaConfig { /** * Area id is ignored for VehiclePropertyGroup:GLOBAL properties. diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehiclePropConfig.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehiclePropConfig.aidl index 5e0dbecdb4..1b48f0b1b6 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehiclePropConfig.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehiclePropConfig.aidl @@ -21,6 +21,7 @@ import android.hardware.automotive.vehicle.VehiclePropertyAccess; import android.hardware.automotive.vehicle.VehiclePropertyChangeMode; @VintfStability +@JavaDerive(equals=true, toString=true) parcelable VehiclePropConfig { /** Property identifier */ int prop; diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehiclePropConfigs.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehiclePropConfigs.aidl index 98abdefbd5..9c2d5f7191 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehiclePropConfigs.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehiclePropConfigs.aidl @@ -20,6 +20,7 @@ import android.hardware.automotive.vehicle.VehiclePropConfig; import android.os.ParcelFileDescriptor; @VintfStability +@JavaDerive(equals=true, toString=true) parcelable VehiclePropConfigs { // The list of vehicle property configs if they fit the binder memory // limitation. diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehiclePropError.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehiclePropError.aidl index 1608977c27..2c31c72802 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehiclePropError.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehiclePropError.aidl @@ -19,6 +19,7 @@ package android.hardware.automotive.vehicle; import android.hardware.automotive.vehicle.StatusCode; @VintfStability +@JavaDerive(equals=true, toString=true) parcelable VehiclePropError { // Property ID. int propId; diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehiclePropErrors.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehiclePropErrors.aidl index 6a77d356d6..10a164d26f 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehiclePropErrors.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehiclePropErrors.aidl @@ -20,6 +20,7 @@ import android.hardware.automotive.vehicle.VehiclePropError; import android.os.ParcelFileDescriptor; @VintfStability +@JavaDerive(equals=true, toString=true) parcelable VehiclePropErrors { // List of property set errors if they fit binder memory limitation. VehiclePropError[] payloads; diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehiclePropValue.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehiclePropValue.aidl index 37dac59a21..289f2701af 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehiclePropValue.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehiclePropValue.aidl @@ -25,6 +25,7 @@ import android.hardware.automotive.vehicle.VehiclePropertyStatus; * events. */ @VintfStability +@JavaDerive(equals=true, toString=true) parcelable VehiclePropValue { /** Time is elapsed nanoseconds since boot */ long timestamp; diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehiclePropValues.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehiclePropValues.aidl index 1944f8e321..df44fdbfc1 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehiclePropValues.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehiclePropValues.aidl @@ -20,6 +20,7 @@ import android.hardware.automotive.vehicle.VehiclePropValue; import android.os.ParcelFileDescriptor; @VintfStability +@JavaDerive(equals=true, toString=true) parcelable VehiclePropValues { // The list of vehicle properties if they fit the binder memory limitation. VehiclePropValue[] payloads;