refactor: move signing out of compilation.rs

The implementation needs a callback because the authfs instance is only
alive until `compilation::odrefresh` returns.

Also, check the key initialization state before any real work.

Bug: None
Test: atest ComposHostTestCases
Change-Id: I710db344219caad829f4deefc3a107a5994daa34
2 files changed
tree: f0cb4f785854fe6a8eb1971a3bd796a4d4e50cd5
  1. .prebuilt_info/
  2. apex/
  3. apkdmverity/
  4. apkverify/
  5. authfs/
  6. binder_common/
  7. compos/
  8. demo/
  9. docs/
  10. idsig/
  11. javalib/
  12. launcher/
  13. libs/
  14. microdroid/
  15. microdroid_manager/
  16. pvmfw/
  17. statslog_virtualization/
  18. tests/
  19. virtualizationservice/
  20. vm/
  21. vmconfig/
  22. zipfuse/
  23. .clang-format
  24. .gitignore
  25. Android.bp
  26. OWNERS
  27. PREUPLOAD.cfg
  28. README.md
  29. 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.