Do tearDown iff we did setUp

This makes sure we don't try to clean up a device where our tests
aren't supported, while also ensuring we leave the device in a working
state with AVF enabled if it was to begin with.

Bug: 268688303
Test: TH (atest AVFHostTestCase doesn't work remotely)
Change-Id: I21a1ca5730ce9cd8c6e430568a4ca2469bb2cfc7
1 file changed
tree: 2c7d77221e1be38d42061609e816bd775e7e85a5
  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. virtualizationmanager/
  18. virtualizationservice/
  19. vm/
  20. vm_payload/
  21. vmbase/
  22. vmclient/
  23. zipfuse/
  24. .clang-format
  25. .gitignore
  26. Android.bp
  27. OWNERS
  28. PREUPLOAD.cfg
  29. README.md
  30. 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.