commit | 7bc146c6659d5ea35a8219f5abea1f50950f4417 | [log] [tgz] |
---|---|---|
author | Alan Stokes <alanstokes@google.com> | Thu Oct 20 17:10:32 2022 +0100 |
committer | Alan Stokes <alanstokes@google.com> | Fri Oct 21 17:15:24 2022 +0100 |
tree | 769986ebd678b8f167ca07c99fe550b371321982 | |
parent | b3fe40df155272addde56d0f29bc707d54012004 [diff] |
Config file requires custom VM permission Modify VS to require the USE_CUSTOM_VIRTUAL_MACHINE permission if a config file is specified. Modify the tests to grant the necessary permissions at runtime rather than via AndroidTest.xml. Make use of a config file explicit, and only do so (and grant the custom VM permission) for the tests that need it. Moved the existing permission test to a device test and added a new one for the custom VM permission. That failed unexpectedly, so I fixed the way we were reporting the exception. Other minor tidying up. Renamed MicrodroidTestCase to MicrodroidHostTests because it kept confusing me. Bug: 243513572 Test: atest MicrodroidTests MicrodroidHostTests Change-Id: Ie67e7ed214dc9c95e453ca1fcc38a1b18d4f5f88
This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.