commit | fda708420925f0e740a3ac221a5ce14cb6381220 | [log] [tgz] |
---|---|---|
author | Alan Stokes <alanstokes@google.com> | Wed Dec 20 17:50:14 2023 +0000 |
committer | Alan Stokes <alanstokes@google.com> | Thu Feb 01 13:13:47 2024 +0000 |
tree | 3dc8e0cdb8d527943e90683c0f062167ea4329e8 | |
parent | 39952078e66f47b270c78f596d9f5625226c3ff2 [diff] |
Make extra APKs easier to specify Allow extra APKs to be specified in VirtualMachineAppConfig as an alternative to the config file, so the paths don't need to be fixed. This involves adding: - the extra_apk_count to the metadata proto, which is persisted in the instance image. - the extra APK fds to VirtualMachinePayloadConfig, so it can be included in VirtualMachineAppConfig iff there is no config file. And then a whole lot of plumbing to make it all work. Using this requires the USE_CUSTOM_VIRTUAL_MACHINE permission, and is behind the multi-tenant feature flag. I've not attempted to add API yet (this CL is already big), but I have extended the vm command to allow it to be exercised. Bug: 303201498 Test: Start a VM with an extra APK specified on the `vm run-app` command line. Change-Id: Ib5da40a33960fd9639b62e8d77e865aeb1f6398b
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: