summaryrefslogtreecommitdiff
path: root/apexd/apex_database_test.cpp
diff options
context:
space:
mode:
authorNikita Ioffe <ioffe@google.com>2019-03-25 14:35:39 +0000
committerNikita Ioffe <ioffe@google.com>2019-03-27 12:31:30 +0000
commit891723c06a15676064606ee8cc9e33730d5b946d (patch)
tree9f07fcc35ea8a4d7cde950b5a577b8701c4f5be2 /apexd/apex_database_test.cpp
parentd9a25d460979bcf9806bf455c3ada7096f99cb91 (diff)
apexd: temp mount packages during staging.
* Refactored lambda inside verifyPackages into verifyPackage function. * Made verifyPackage temp mount a package. * Added tests to verify that apexd doesn't leak temp verity devices from verifyPackage. This will enable: * Shim apex content validation. * Making sure that re-installing a system package is functionally equivalent to deleting currently active version of that package. * Do more verification of apex_payload.img if we want to. Test: apexservice_test Bug: 128625955 Change-Id: I37bd2e2f3cc0e846040d0f5f049005f46cbc3186
Diffstat (limited to 'apexd/apex_database_test.cpp')
0 files changed, 0 insertions, 0 deletions