Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 63e24d7a authored by Yu Shan's avatar Yu Shan
Browse files

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
parent 26523582
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment