[test] Fix rootMicrodroid() to block till device is online.

rootMicrodroid() restarts the adbd, which can cause the following
commands to fail. Run `adb shell true` on microdroid with retries before
returning

b: b/227443903
Test: atest MicrodroidTestCase
Change-Id: I42ba4559191d9e16e9d47bb4d04bd346b3de6958
1 file changed
tree: 5b2cebd2b5a00231af1cae71409d8642053c8048
  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.