[refactor] Check whether protectedVM is supported with TestDevice

This cl checks whether protectedVM is supported with
TestDevice#supportsMicrodroid() and removes the duplicated method
in MicrodroidHostTestCaseBase.

Test: atest MicrodroidHostTests AVFHostTestCase
Bug: 218751146
Change-Id: Iaa5f6fd05bd741e0e55410fa2539df4a88adf832
3 files changed
tree: ac870a60571acde1e8261667ba9bad0e58ff1a47
  1. apex/
  2. apkdmverity/
  3. authfs/
  4. avmd/
  5. compos/
  6. demo/
  7. docs/
  8. encryptedstore/
  9. javalib/
  10. launcher/
  11. libs/
  12. microdroid/
  13. microdroid_manager/
  14. pvmfw/
  15. rialto/
  16. tests/
  17. virtualizationservice/
  18. vm/
  19. vmbase/
  20. vmclient/
  21. zipfuse/
  22. .clang-format
  23. .gitignore
  24. Android.bp
  25. OWNERS
  26. PREUPLOAD.cfg
  27. README.md
  28. 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.