commit | 5daec0711dd5ea29dddf213aef9c29264481ad54 | [log] [tgz] |
---|---|---|
author | Alice Wang <aliceywang@google.com> | Fri Mar 15 15:31:17 2024 +0000 |
committer | Alice Wang <aliceywang@google.com> | Thu Mar 21 15:51:55 2024 +0000 |
tree | 0b2a63a33a1d78de36126f79fecfa2f3fadb2b34 | |
parent | ab86c8364b0c7e2f7479a65172884786f783194f [diff] |
[attestation] Optimize request processing in Service VM Prior to this cl, the Service VM started and stopped for each individual request, leading to inefficiency during the AVF key provisioning phase where 20+ requests might arrive in quick succession. This cl optimized this process by adding a 1-second delay before the Service VM shuts down. This delay ensures the Service VM remains active if requests are closely spaced, preventing unnecessary restarts during batch processing. This cl decreases the total duration for AVF key provisioning from ~5 seconds to 790ms on a local device. Bug: 327186248 Test: atest AvfRkpdVmAttestationTestApp \ VmAttestationTestApp Change-Id: I6500a535b0cd43d804281e77e90cda5d242bc41a
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: