From 446b64b65979958e129e0b4504de400246b8fd2f Mon Sep 17 00:00:00 2001 From: Tianjie Xu Date: Wed, 19 Sep 2018 15:45:28 -0700 Subject: Refactor update_verifier into a class 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 --- update_verifier/care_map.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'update_verifier/care_map.proto') diff --git a/update_verifier/care_map.proto b/update_verifier/care_map.proto index 442ddd4a9..15d3afa83 100644 --- a/update_verifier/care_map.proto +++ b/update_verifier/care_map.proto @@ -16,7 +16,7 @@ syntax = "proto3"; -package UpdateVerifier; +package recovery_update_verifier; option optimize_for = LITE_RUNTIME; message CareMap { -- cgit v1.2.3