Reland: Migrate AuthFsHostTest to use MicrodroidBuilder

The biggest benefit is that microdroid is now a `TestDevice`. This
allows more symmetry in the test code.

The original change can cause NullPointerException in `tearDown` when
AVF is not supported. This is fixed by checking nullness of sMicrodroid
before use.

Bug: 218751146
Test: atest AuthFsHostTest
Test: On cf_x86_64_phone-userdebug, run `atest AuthFsHostTest`
Change-Id: I0da31c79146ca22e6ed860e9b90fdcebaaf58391
1 file changed
tree: b211669616cbd87c27584f07b03eff5697632549
  1. .prebuilt_info/
  2. apex/
  3. apkdmverity/
  4. authfs/
  5. compos/
  6. demo/
  7. docs/
  8. javalib/
  9. launcher/
  10. libs/
  11. microdroid/
  12. microdroid_manager/
  13. pvmfw/
  14. tests/
  15. virtualizationservice/
  16. vm/
  17. zipfuse/
  18. .clang-format
  19. .gitignore
  20. Android.bp
  21. OWNERS
  22. PREUPLOAD.cfg
  23. README.md
  24. 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.