Add an example for onPayloadReady and VM service

This adds a simple integer addition service to the testapk's binary. The
demo app tries connecting the VM service once onPayloadReady is
triggered. Users can see the VM service's output.

Bug: 195381416
Test: launch MicrodroidDemoApp
Test: atest MicrodroidHostTestCases
Change-Id: I346084d08f753772cc00aa4c052e0b9b41d460ce
6 files changed
tree: a3272ba16f44de694054271103f09053633934c2
  1. apex/
  2. apkdmverity/
  3. apkverify/
  4. authfs/
  5. compos/
  6. demo/
  7. docs/
  8. idsig/
  9. javalib/
  10. launcher/
  11. microdroid/
  12. microdroid_manager/
  13. tests/
  14. virtualizationservice/
  15. vm/
  16. vmconfig/
  17. zipfuse/
  18. .clang-format
  19. Android.bp
  20. OWNERS
  21. PREUPLOAD.cfg
  22. README.md
  23. 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.