commit | e3a049fe5880953806cebdabb0d5658459dae6c5 | [log] [tgz] |
---|---|---|
author | Nikita Ioffe <ioffe@google.com> | Thu Feb 15 15:47:23 2024 +0000 |
committer | Nikita Ioffe <ioffe@google.com> | Thu Feb 15 16:26:19 2024 +0000 |
tree | 3f6575926fe3999c13248e6546908a4b673464c4 | |
parent | 6e2b12d09369a643bd5ef69897c4c00f493c48a3 [diff] |
Create avf_v_test_apis aconfig flag and use it in @FlaggedApi We are using build flags to flag-guard our features (there are multiple reasons for it, the most simple one is - almost all of our features add new non-trivial files to /system partition / com.android.virt APEX, and don't want these additions to be released in a QPR). Unfortunately, build flags are not supported in @FlaggedApi annotation. There is a tracking bug to expose build flags as aconfig flags (b/309090563), but it will take time to implement. To work around these limitations, and to ensure that our api surface additions are handled correctly during API finalization, we are adding this avf_v_test_apis aconfig flag. The whole purpose of this flag is just to be used in @FlaggedApi, the implementation of the features is actually guarded by build flags. We also have a VirtualMachine#isFeatureEnabled @TestApi that is used by CTS test to ensure that tests are skipped on release configurations that haven't enabled the feature yet. Bug: 325441024 Test: m Change-Id: I28bae128ea764bc91b52824c421a492beb2dc02f
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: