Don't wait for onDied

On Cuttlefish, crash of the crosvm process immediately closes all adb
connections (b/195765441). As a reuslt, onDied is called "after" the
connection is lost and the host thinks that the test has failed to
complete.

Work around this issue by finishing the test proactively when stop() is
called on a virtual machine, without waiting for the onDied callback.

Also moving the test to presubmit.

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