platform_hardware_interfaces/automotive/vehicle/aidl/aidl_test
Yu Shan 63e24d7a6a Generate enum for VehicleProperty annotations.
Add a script to general Java and CPP files for annotations in
VehicleProperty.aidl. By having the enums defined, both VHAL impl
(CPP) and Car Service (Java) can more easily access these annotations.
For example, AIDL impl can generate a default config based on these
annotations so that it meets the requirements. Car service side can
generate CTS checks automatically based on these enums to verify
that the VHAL impl is providing the correct config.

Test: Add VehiclePropertyAnnotationCppTest and
VehiclePropertyAnnotationJavaTest that will fail if we update
the VehicleProperty.aidl without running geenrate_annotation_enums.
Bug: 236433737

Change-Id: Ib3e0dee7a28576bc9535d10c7c8f799f1506e592
2022-07-07 01:25:09 +00:00
..
AidlHidlCompatibilityTest.cpp Add HidlAidlCompatibilityTest. 2021-09-22 14:25:03 -07:00
Android.bp Generate enum for VehicleProperty annotations. 2022-07-07 01:25:09 +00:00
AndroidManifest.xml Generate enum for VehicleProperty annotations. 2022-07-07 01:25:09 +00:00
VehiclePropertyAnnotationCppTest.cpp Generate enum for VehicleProperty annotations. 2022-07-07 01:25:09 +00:00
VehiclePropertyAnnotationJavaTest.java Generate enum for VehicleProperty annotations. 2022-07-07 01:25:09 +00:00