Restrict exception constructors

Our exception type is public, to allow API clients to catch it. The
constructors do not need to be part of the API, and do not need to be
called by anything other than the VM API implementation, so don't mark
them public. This allows us to add or remove constructors in the
future.

Bug: 261037705
Bug: 261089785
Test: Everything still builds
Test: atest MicrodroidTests
Change-Id: I31656353a82e13a9d26ca10b9c35458b47909b90
2 files changed
tree: 3fb6ff7d81008bc3d010ac2e23a90bc0fdbee253
  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. 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.