summaryrefslogtreecommitdiffstats
path: root/update_verifier/care_map.proto (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactor update_verifier into a classTianjie Xu2018-09-211-1/+1
| | | | | | | | | | | | | The refactor separates out the parsing of care_map and the actual verification of the partitions. Moreover, it skips the verification in case of a format error in the care map. Also, the parsing of care_map now uses the suffix of the file to tell if it has the protobuf format or the plain text format. Bug: 115740187 Test: unit test pass Change-Id: I7aa32004db02af1deb7bfdc6f5bd7921eb7883e5
* Add proto3 support for care_mapTianjie Xu2018-07-251-0/+31
Switching to the protobuf format helps to make the care_map more extensible. As we have such plans in the future, add the support to parse the protobuf message in the update_verifier. Bug: 77867897 Test: unit tests pass, update_verifier successfully verifies a care_map.pb Change-Id: I9fe83cb4dd3cc8d6fd0260f2a47338fe142d3938