Better logging on failure

Log Anyhow errors with Debug not Display; that way we see the full
context rather than just the most recent failure.

Add context to calls to IPackageManagerNative. That's slightly ad hoc,
but useful, and calls to AIDL interfaces don't otherwise include much
detail.

Bug: 238312664
Test: Induce failure, see better logs
Change-Id: I3f119f937f2d07296d92d882c9fbabfbf17b0186
2 files changed
tree: 56c56f1ca4e77435515013922c161448ee5a433c
  1. .prebuilt_info/
  2. apex/
  3. apkdmverity/
  4. authfs/
  5. compos/
  6. demo/
  7. docs/
  8. javalib/
  9. launcher/
  10. libs/
  11. microdroid/
  12. microdroid_manager/
  13. pvmfw/
  14. tests/
  15. virtualizationservice/
  16. vm/
  17. vmbase/
  18. vmclient/
  19. zipfuse/
  20. .clang-format
  21. .gitignore
  22. Android.bp
  23. OWNERS
  24. PREUPLOAD.cfg
  25. README.md
  26. 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.