[avb] Refactor the error thrown by payload verification API

This cl refactors the error by:

- Renaming the error to AvbSlotVerifyError to reveal that it is
the error part of `avb_bindgen::AvbSlotVerifyResult`.
- Moving the error to a separate module as the module `verify`
is becoming too long.

There is no behavior change for this cl.

Bug: 256148034
Test: atest libpvmfw_avb.test && m pvmfw_img
Change-Id: I404600707bb2308836de14cde2097c370d8854dd
3 files changed
tree: c9deb06484c86becc1164cb1ccb37551270d44a3
  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.