Fix PvmfwDebugPolicyHostTests#testRamdump

If a device without new AVF debug policy (e.g. some lab devices),
virtualizationmanager don't prepare ramdump for protected VM
because virtualizationmanager reads empty debug policy.

However, PvmfwDebugPolicyHostTests#testRamdump build custom pvmfw
image with custom debug policy, so the test runs while pvmfw
expects ramdump setup in the virtualizationmanager.

This CL relaxes the condition for ramdump preparation, so ramdump
is prepared when debug policy or debug level says so.

Test: atest after erase AVF debug policy.
Bug: 271527749
Change-Id: I1e140ffba4c0b49d6ddeb5f60e8d04f1c5e5e864
1 file changed
tree: 2d86ec73387f7b644548b67ca6c94407dd659b7c
  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. virtualizationmanager/
  18. virtualizationservice/
  19. vm/
  20. vm_payload/
  21. vmbase/
  22. vmclient/
  23. zipfuse/
  24. .clang-format
  25. .gitignore
  26. Android.bp
  27. OWNERS
  28. PREUPLOAD.cfg
  29. README.md
  30. 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.