commit | 6707175ba457091b4949eaaf4a825beb4937ce2e | [log] [tgz] |
---|---|---|
author | Yu Shan <shanyu@google.com> | Thu Jul 21 03:06:18 2022 +0000 |
committer | Yu Shan <shanyu@google.com> | Mon Aug 01 21:29:17 2022 +0000 |
tree | b26f5654367979ab9eb8236924023e52515610a3 | |
parent | 03cd34e2465129829c239f0f4899ae0e908370d1 [diff] |
Add constant value parsers. To allow better readibility, we allow the property config file to use string value to represent constant values. For example, "VehicleProperty::INFO_VIN" represents the int VehicleProperty value for INFO_VIN. This CL adds the parsing logic for special constant format string values. Test: See the unit tests added in the ag/19240183 Bug: 238685398 Change-Id: I1617fdd47b4292180bd2bb37acddc181c212f4f5