Schedule compilation on staged APEX update

At startup register for staged APEX changes, and check if there are
any already. Add a new scheduled job to compile them when this
happens.

For now I've retained the old daily test job. I modified the code to
handle starting a job while one is already running, since it didn't
work (we hit the composd limit on one VM at once) and we can actually
reasonably hit it now.

Bug: 205296305
Test: Manual; stage a relevant and irrelevant APEX
Test: Manual; trigger the staged APEX job
Test: Manual; trigger both jobs, in both orders
Change-Id: Ifffa05803f7df0f67fa0e5a12d44bc49202b08f3
2 files changed
tree: c7c5f583e89823b98931c9386bae30a26dcd98d4
  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. .gitignore
  23. Android.bp
  24. OWNERS
  25. PREUPLOAD.cfg
  26. README.md
  27. 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.