diff options
author | Jiyong Park <jiyong@google.com> | 2022-03-22 14:16:58 +0900 |
---|---|---|
committer | Jiyong Park <jiyong@google.com> | 2022-03-28 10:33:20 +0900 |
commit | d59310c9d5d1bb7d32083640a24a02e91bf69582 (patch) | |
tree | 6236f352887ea277db57b5686c02b5f3cf26dbd6 /emulator/vhal_v2_0 | |
parent | 6285af2d58f306f5823d82ce5c31ce5395150f88 (diff) | |
download | car-d59310c9d5d1bb7d32083640a24a02e91bf69582.tar.gz |
Freeze AIDL APIs for TM
Bug: 225941299
Test: m
Change-Id: I03126e07258fb1b8b2e3a8b12f24c4e31e665cd0
Diffstat (limited to 'emulator/vhal_v2_0')
4 files changed, 55 insertions, 1 deletions
diff --git a/emulator/vhal_v2_0/interfaces/aidl/Android.bp b/emulator/vhal_v2_0/interfaces/aidl/Android.bp index e5de61b..dd2620e 100644 --- a/emulator/vhal_v2_0/interfaces/aidl/Android.bp +++ b/emulator/vhal_v2_0/interfaces/aidl/Android.bp @@ -19,5 +19,11 @@ aidl_interface { enabled: true, }, }, -} + versions_with_info: [ + { + version: "1", + imports: ["android.hardware.automotive.vehicle-V1"], + }, + ], +} diff --git a/emulator/vhal_v2_0/interfaces/aidl/aidl_api/device.generic.car.emulator-aidl/1/.hash b/emulator/vhal_v2_0/interfaces/aidl/aidl_api/device.generic.car.emulator-aidl/1/.hash new file mode 100644 index 0000000..34b9cf1 --- /dev/null +++ b/emulator/vhal_v2_0/interfaces/aidl/aidl_api/device.generic.car.emulator-aidl/1/.hash @@ -0,0 +1 @@ +8f02e63cbb8524d7c81a20ca5524d4a27da138a8 diff --git a/emulator/vhal_v2_0/interfaces/aidl/aidl_api/device.generic.car.emulator-aidl/1/device/generic/car/emulator/IVehicleBus.aidl b/emulator/vhal_v2_0/interfaces/aidl/aidl_api/device.generic.car.emulator-aidl/1/device/generic/car/emulator/IVehicleBus.aidl new file mode 100644 index 0000000..a2ff948 --- /dev/null +++ b/emulator/vhal_v2_0/interfaces/aidl/aidl_api/device.generic.car.emulator-aidl/1/device/generic/car/emulator/IVehicleBus.aidl @@ -0,0 +1,24 @@ +/////////////////////////////////////////////////////////////////////////////// +// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // +/////////////////////////////////////////////////////////////////////////////// + +// This file is a snapshot of an AIDL file. Do not edit it manually. There are +// two cases: +// 1). this is a frozen version file - do not edit this in any case. +// 2). this is a 'current' file. If you make a backwards compatible change to +// the interface (from the latest frozen version), the build system will +// prompt you to update this file with `m <name>-update-api`. +// +// You must not make a backward incompatible change to any AIDL file built +// with the aidl_interface module type with versions property set. The module +// type is used to build AIDL files in a way that they can be used across +// independently updatable components of the system. If a device is shipped +// with such a backward incompatible change, it has a high risk of breaking +// later when a module using the interface is updated, e.g., Mainline modules. + +package device.generic.car.emulator; +@VintfStability +interface IVehicleBus { + void setOnNewPropValuesCallback(device.generic.car.emulator.IVehicleBusCallback callback); + void unsetOnNewPropValuesCallback(device.generic.car.emulator.IVehicleBusCallback callback); +} diff --git a/emulator/vhal_v2_0/interfaces/aidl/aidl_api/device.generic.car.emulator-aidl/1/device/generic/car/emulator/IVehicleBusCallback.aidl b/emulator/vhal_v2_0/interfaces/aidl/aidl_api/device.generic.car.emulator-aidl/1/device/generic/car/emulator/IVehicleBusCallback.aidl new file mode 100644 index 0000000..b5cc3a4 --- /dev/null +++ b/emulator/vhal_v2_0/interfaces/aidl/aidl_api/device.generic.car.emulator-aidl/1/device/generic/car/emulator/IVehicleBusCallback.aidl @@ -0,0 +1,23 @@ +/////////////////////////////////////////////////////////////////////////////// +// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // +/////////////////////////////////////////////////////////////////////////////// + +// This file is a snapshot of an AIDL file. Do not edit it manually. There are +// two cases: +// 1). this is a frozen version file - do not edit this in any case. +// 2). this is a 'current' file. If you make a backwards compatible change to +// the interface (from the latest frozen version), the build system will +// prompt you to update this file with `m <name>-update-api`. +// +// You must not make a backward incompatible change to any AIDL file built +// with the aidl_interface module type with versions property set. The module +// type is used to build AIDL files in a way that they can be used across +// independently updatable components of the system. If a device is shipped +// with such a backward incompatible change, it has a high risk of breaking +// later when a module using the interface is updated, e.g., Mainline modules. + +package device.generic.car.emulator; +@VintfStability +interface IVehicleBusCallback { + oneway void onNewPropValues(in android.hardware.automotive.vehicle.VehiclePropValue[] values); +} |