Fix Microdroid boot time tests reporting NaN

Change If19ab0791bd084a1682ea4f75ad6aacf1e219297 refactored Microdroid
boot time benchmarks but introduced a bug in VmEventListener's tracking
whether boot time events have been captured. As it turns out,
logVmOutputAndMonitorBootTimeMetrics is called multiple times. We
therefore need to check whether ANY of the calls triggered boot event
monitoring. Fix this by OR-ing all the requests.

Also remove an unused method that was left behind in the same CL.

Test: atest com.android.microdroid.benchmark.MicrodroidBenchmarks#testMicrodroidDebugBootTime
Change-Id: I2b510ea7d40ed2e0ddf5e2c0b966c8f454f40b85
1 file changed
tree: 39fddbb9f3bc02ed41bd3f8b28de15903bcbba0e
  1. apex/
  2. apkdmverity/
  3. authfs/
  4. avmd/
  5. compos/
  6. demo/
  7. docs/
  8. encryptedstore/
  9. javalib/
  10. launcher/
  11. libs/
  12. microdroid/
  13. microdroid_manager/
  14. pvmfw/
  15. rialto/
  16. tests/
  17. virtualizationmanager/
  18. virtualizationservice/
  19. vm/
  20. vm_payload/
  21. vmbase/
  22. vmclient/
  23. zipfuse/
  24. .clang-format
  25. .gitignore
  26. Android.bp
  27. OWNERS
  28. PREUPLOAD.cfg
  29. README.md
  30. 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.