[VS]Wait for statsd to run before pushing atoms

Virtualization service should wait for statsd to run before pushing
the atoms. Early VMs, running before statsd starts, would fail to push
telemetry otherwise.

We have created separate thread which waits for prop
init.svc.statsd=running and then writes the stats. This will basically
keep VS running & the associated telemetry data in memory till statsd
starts.

Bug: 236932565
Test: Stage new apex -> run compos -> restart -> Check logs from early VM
Change-Id: I0c9301813eedec7dfc881f04a8e560fd01721a8c
1 file changed
tree: d0ed7788eda9ca56d9912f43fa6f7cb0adbc8f34
  1. apex/
  2. apkdmverity/
  3. authfs/
  4. avmd/
  5. compos/
  6. demo/
  7. docs/
  8. javalib/
  9. launcher/
  10. libs/
  11. microdroid/
  12. microdroid_manager/
  13. pvmfw/
  14. rialto/
  15. tests/
  16. virtualizationservice/
  17. vm/
  18. vmbase/
  19. vmclient/
  20. zipfuse/
  21. .clang-format
  22. .gitignore
  23. Android.bp
  24. OWNERS
  25. PREUPLOAD.cfg
  26. README.md
  27. 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.