virtualizationservice: pass *CLASSPATH apexes to VM

Apps can tell virtualizationservice to pass APEXes contributing
*CLASSPATH environment variables to VM instance.

In VM's config(json), app can add "apexes" entries like following.

  "apexes": [
    { "name": "{BOOTCLASSPATH}" },
    ..
  ]

For now BOOTCLASSPATH, DEX2OATBOOTCLASSPATH, SYSTEMSERVERCLASSPATH
variables are supported.

Bug: 201788989
Test: atest virtualizationservice_device_test
Test: atest MicrodroidHostTestCases
Change-Id: I9295ffa0b66444fefc2839255e953f92bf755217
1 file changed
tree: 50b3266db078e7a1f2d07c8a21552d8713dc46dc
  1. apex/
  2. apkdmverity/
  3. apkverify/
  4. authfs/
  5. binder_common/
  6. compos/
  7. demo/
  8. docs/
  9. idsig/
  10. javalib/
  11. launcher/
  12. libs/
  13. microdroid/
  14. microdroid_manager/
  15. pvmfw/
  16. tests/
  17. virtualizationservice/
  18. vm/
  19. vmconfig/
  20. zipfuse/
  21. .clang-format
  22. Android.bp
  23. OWNERS
  24. PREUPLOAD.cfg
  25. README.md
  26. TEST_MAPPING
README.md

Virtualization

This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.