Fix flake

Microdroid tests have been flaky. One of the reasons is due to a race
condition. The adb connection to microdroid is established, but
microdroid hasn't finished the boot procedure. The test code runs and
checks the various assertions on the microdroid which is still booting.

Fix the flake by waiting until the boot procedure is finished. This is
done by monitoring the system property `init.svc.logd-reinit` which gets
a value when the `logd-reinit` service is started. The service is
started at the very end of the boot procedure.

Bug: 196015443
Test: monitor TH
Change-Id: I631f47046d6ea103019cf7c6f389d10f1d13fe99
1 file changed
tree: f142d3a130c3dfc3737913044539b2d719ac7dd3
  1. apex/
  2. apkdmverity/
  3. apkverify/
  4. authfs/
  5. compos/
  6. demo/
  7. docs/
  8. javalib/
  9. launcher/
  10. microdroid/
  11. microdroid_manager/
  12. tests/
  13. virtualizationservice/
  14. vm/
  15. vmconfig/
  16. zipfuse/
  17. .clang-format
  18. Android.bp
  19. OWNERS
  20. PREUPLOAD.cfg
  21. README.md
  22. 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.