Don't run supportForProtectedOrNonProtectedVms on GSI Background: The test ensures that either protected VMs or non-protected VMs are supported "IF" AVF is enabled on the device. In other words, the test is skipped on devices where AVF is not enabled (because their BSP is old). Problem: When such a device runs CTS-on-GSI, the system image is replaced with GSI and AVF is "unconditionally" enabled there. Therefore this test is not skipped, and fails. Fix: Skip this test on GSI. Bug: 411050619 Test: N/A Flag: EXEMPT test bug fix Change-Id: I653e81a1466391c9d962e99abc96b48a0e27dc00
Android Virtualization Framework (AVF) provides secure and private execution environments for executing code. AVF is ideal for security-oriented use cases that require stronger isolation assurances over those offered by Android’s app sandbox.
Visit our public doc site to learn more about what AVF is, what it is for, and how it is structured. This repository contains source code for userspace components of AVF.
If you want a quick start, see the getting started guideline and follow the steps there.
For in-depth explanations about individual topics and components, visit the following links.
AVF components:
AVF APIs:
How-Tos: