apexd: split verifyPackages into boot and install versions.
* Boot version runs as part of stagePackages call, i.e. during boot
sequence. It only contains fast to execute verification checks.
* Install version runs as part of submitStagedSession and consists of
light checks + temp mounting of an apex & reading entire dm-verity device.
As part of this, I moved a bunch of tests that were triggering checks
inside temp mounting code, to use submitStagedSession instead of
stagePackages.
Test: apexservice_test
Bug: 130013353
Change-Id: Ic2a5dfdf8dfa01a30d0e6fe75f1e906adb3323c7
2 files changed