Use log file instead of micrdroid logcat for tests

This reduces flakiness by reducing the commands run by host on microdroid shell (such as locat, grep). Log files are more reliable.

------
Mostly a cherrypick of r.android.com/2147670 + change required to
resolve merge conflict.

Two reasons
1) log file is more reliable than microdroid logcat
2) we're going to make microdroid logcat a bootstrap binary. Then shell
   can't execute logcat freely, because shell doesn't have access to the
   bootstrap binaries

Bug: 238135989, 239849383
Test: atest MicrodroidHostTestCases
Merged-In: I0a477fcdf5b674da171cadc307d99b4d4a50d46c
Change-Id: I0a477fcdf5b674da171cadc307d99b4d4a50d46c
1 file changed
tree: 03608bfa424d41b4740816213bad7b2f7e345944
  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.