android_packages_modules_Vi.../tests
Jiyong Park 0a2484304d Create idsig file automatically
Before a VM is started, the idsig file is created (or updated) by the
virtualization service. This is needed because the idsig file is usually
not available, especially when the APK is downloaded from the store.

Note that the generated idsig file is not a signed one. Therefore, the
APK is first verified using the APK signature scheme V3 (or V2) over a
dm-verity device backed by the APK and the merkle tree (and root hash)
from the idsig file. Only if the verification is successful, the root
hash stored to the instance.img and then used for the subsequent boots
of the VM.

Bug: 193504400
Test: atest MicrodroidHostTestCases
Test: run MicrodroidDemoApp without having the idsig file in
/data/local/tmp/virt.

Change-Id: I9fad05ca9562ae0666431102a8147d0f76f04e6a
2021-08-20 23:41:11 +09:00
..
hostside Fix flake 2021-08-11 21:31:39 +09:00
include/virt Rename VirtManager to VirtualizationService. 2021-05-26 12:27:37 +00:00
init Convert Vsock test to device test 2021-03-04 15:05:46 +00:00
testapk Create idsig file automatically 2021-08-20 23:41:11 +09:00
Android.bp Run TestVsock with and without protected mode. 2021-06-25 14:30:36 +00:00
AndroidTest.xml No need to disable SELinux for tests now that policy is fixed. 2021-07-08 15:41:43 +00:00
common.cc Start VirtualizationService on demand. 2021-06-03 17:20:19 +00:00
nofile Convert Vsock test to device test 2021-03-04 15:05:46 +00:00
vsock_guest.cc Convert Vsock test to device test 2021-03-04 15:05:46 +00:00
vsock_test.cc Use Java style field names in AIDL. 2021-07-27 17:39:36 +00:00