Add API to determine VM capabilities

Clients can't call HypervisorProperties directly, so expose the same
functionality via an API. This is expressed fairly broadly to allow
for future expansion.

Modify the tests to use the new API.

Also update our @IntDef declarations to specify the intended prefix
(although I'm not sure anything checks them).

Bug: 243642678
Test: atest MicrodroidTests
Change-Id: I52595938514d056ce697969eacffc1526c44faeb
5 files changed
tree: b10ee910113d246bc0bc416e6cea044d891d27fc
  1. apex/
  2. apkdmverity/
  3. authfs/
  4. avmd/
  5. compos/
  6. demo/
  7. docs/
  8. javalib/
  9. launcher/
  10. libs/
  11. microdroid/
  12. microdroid_manager/
  13. pvmfw/
  14. rialto/
  15. tests/
  16. virtualizationservice/
  17. vm/
  18. vmbase/
  19. vmclient/
  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.