virtualizationservice: read env var once

Virtualizationservice reads environment variabls when reading
apex-info-list.xml. When app wants "staged" apexes for its payload,
apex-info is overridden by looking up "package_native" service.

This refactoring is a preparation step to support the case where a
staged apex is part of *BOOTCLASSPATH while the active one is not.

Bug: 201788989
Test: atest virtualizationservice_device_test
Test: atest MicrodroidHostTestCases
Change-Id: Iae5f48763b81f3f33c1a535284465442223e4862
1 file changed
tree: 0b300735c8f12e206ba0cce0d189b9c9b6bad84e
  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.