commit | 07c951fcf3af2d8abef2cf006cd70b1653c481a0 | [log] [tgz] |
---|---|---|
author | Tianjie <xunchang@google.com> | Mon Jun 29 19:57:48 2020 -0700 |
committer | Tianjie <xunchang@google.com> | Mon Jul 06 17:40:01 2020 -0700 |
tree | dd49e792fd1e2c4095a8c86b99ac1fba8a94dd6a | |
parent | a657c799bf085411697f89213cc0b07a9f388022 [diff] |
Add function to compare the partitions' extents in metadata For partial updates, the metadata for untouched dynamic partitions are just copied over to the target slot. So, verifying the extents of these partitions in the target metadata should be sufficient for correctness. And we don't need to read & hash the bytes on these partitions. Bug: 151088567 Test: unit tests pass Change-Id: I95836ee6f76d884c7a1f5537154ac7230563493a