Reuse Binder connection for VirtualizationService

RpcSession can leak threads if not properly shut down. This is being
fixed in a different bug/CL, but we can also avoid this problem by
reusing one RpcSession for multiple connections to the same virtmgr
server.

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