Actually test shim-related logic
* Fix IsShimApex to accept com.android.apex.cts.shim.apex.
* Make sure all apexes contain hash.txt (not hash_v1 or hash_v2).
* Expected hash is stored in ${mount_point}/etc/hash.txt, not
${mount_point}/hash.txt.
* Add a test to verify staging fails in case shim apex has unexpected
SHA512.
* Delete apex_shim_test, since there is no need in those tests -
ApexShimUpdateTest in apexservice_test provides better coverage.
Test: apexservice_test
Bug: 128625955
Change-Id: I7c39d4a731b880e9d73802a9cee98fe16046f1d2
5 files changed