OSDN Git Service

Combine checksum of all boot images.
authorJeff Hao <jeffhao@google.com>
Thu, 7 Apr 2016 22:40:54 +0000 (15:40 -0700)
committerJeff Hao <jeffhao@google.com>
Fri, 8 Apr 2016 02:51:49 +0000 (19:51 -0700)
commitb11ffb7f33d70da0eb2caf891bbfdab9129fe5b4
tree2188e06f226b7ff07c3aacd8c181c85e256a6f66
parentdc8092521b50b108607ed54afde94d20a22468df
Combine checksum of all boot images.

Allows a change to be detected in more than just the first image.
Combines checksums of all boot images using xor. A better hash is left
as TODO.

Bug: 28054110

(cherry-picked from commit 4f351aae00f43dd4e3290976f249d3664cc47091)

Change-Id: Ia557e2460ca582082368ef93508c04ce32c3036a
dex2oat/dex2oat.cc
runtime/oat_file_assistant.cc
runtime/oat_file_assistant.h
runtime/oat_file_assistant_test.cc