Write panic messages to logcat

We shouldn't panic, but if we do it would be nice to know why. By
default the info goes to stderr which isn't that helpful for binaries
using logcat.

(Code taken from system/security/diced/src/diced_main.rs.)

Test: Trigger panic, see logs
Change-Id: Ic2423837652415a51d78d3a4a6745ea2632cfa3b
3 files changed
tree: 11a1f0c76a04d23c57bda94de6426e2b9dbfedf5
  1. .prebuilt_info/
  2. apex/
  3. apkdmverity/
  4. apkverify/
  5. authfs/
  6. binder_common/
  7. compos/
  8. demo/
  9. docs/
  10. idsig/
  11. javalib/
  12. launcher/
  13. libs/
  14. microdroid/
  15. microdroid_manager/
  16. pvmfw/
  17. statslog_virtualization/
  18. tests/
  19. virtualizationservice/
  20. vm/
  21. vmconfig/
  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.