Add a VirtualizationSystemService that runs inside system_server

This service will later be used to subscribe to trigger clean up
routines when an app is deleted.

The code is located in the
/apex/com.android.virt/javalib/service-virtualization.jar. This jar
contributes to the system_server classpath.

The service-virtualization.jar will be installed for both AVF enabled &
AVF disabled variants of the virt APEX. However, on the devices that do
not support AVF (i.e. using AVF disabled virt APEX), the
VirtualizationSystemService won't be started, since the AVF disabled
virt APEX won't have the `<apex-system-service>` entry in it's
AndroidManifest.xml

The change is guarded by the RELEASE_AVF_ENABLE_LLPVM_CHANGES build
flag.

Bug: 323339759
Test: boot device & check logs
Change-Id: I948be5eb38a9911d510f63e4976c117ccdb291f8
4 files changed
tree: 33a61955f86b17b639264157da2fa24275e1febb
  1. apex/
  2. apkdmverity/
  3. authfs/
  4. compos/
  5. demo/
  6. demo_native/
  7. docs/
  8. encryptedstore/
  9. javalib/
  10. launcher/
  11. libs/
  12. microdroid/
  13. microdroid_manager/
  14. pvmfw/
  15. rialto/
  16. service_vm/
  17. tests/
  18. virtualizationmanager/
  19. virtualizationservice/
  20. vm/
  21. vm_payload/
  22. vmbase/
  23. vmclient/
  24. zipfuse/
  25. .clang-format
  26. .gitignore
  27. Android.bp
  28. OWNERS
  29. PREUPLOAD.cfg
  30. README.md
  31. rustfmt.toml
  32. TEST_MAPPING
README.md

Android Virtualization Framework (AVF)

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: