63e24d7a6a
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 |
||
---|---|---|
.. | ||
AidlHidlCompatibilityTest.cpp | ||
Android.bp | ||
AndroidManifest.xml | ||
VehiclePropertyAnnotationCppTest.cpp | ||
VehiclePropertyAnnotationJavaTest.java |