summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-04-11 00:28:34 -0700
committerTao Bao <tbao@google.com>2017-04-17 13:51:02 -0700
commite01b520dd490935694a50f9f0abd7dc0564d95c5 (patch)
treebcea550c096c9a65bf930a4d44601152d34339a2 /tools/aapt2/java/JavaClassGenerator.cpp
parent5b06dbd12bcd28fbc051c88c3ea7f31bcf20d1f8 (diff)
RecoverySystem: Verify the package compatibility.
This CL extends the existing API RecoverySystem.verifyPackage() to verify the compatibility entry in an OTA package. It returns true directly if such an entry doesn't exist. Otherwise it reads and passes the contents to VintfObject to perform the verification. This CL also adds a new system API RecoverySystem.verifyPackageCompatibility() to verify a given compatibility zip file. It extracts all the entries and passes them to VintfObject.verify() to verify the package compatibility. This API is for streaming A/B OTAs only, where we don't download the full package but only needed entries. Bug: 36592877 Bug: 36596980 Test: RecoverySystem.verifyPackage() returns the same result for packages w/o a compatibility entry. Change-Id: I038be672868a91820c045d1da100e8e33b23d442
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions