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

Commit f8b99c20 authored by Yu Shan's avatar Yu Shan
Browse files

Allow setting supported values for reference VHAL.

Debug command in reference VHAL now allows setting supported values
for all properties that specify hasSupportedValuesList to true.

We also introduce a new field "supportedValues" in the fake VHAL
JSON config to allow specifying the initial supported values. If
this field is not specified, we will fallback to use
supportedEnumValues field.

This CL add supportedValues field to HVAC_TEMP_SET and
EV_CHARGE_PERCENT_LIMIT to demonstrate how it may be used.

Flag: EXEMPT VHAL
Test: atest FakeVehicleHardwareTest
Bug: 394692817
Change-Id: I5f602d596360732e2142d691dcce907d6786d7bf
parent 2eeb081e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment