[attestation] Verify AVF RKP Hal presence in VM Attestation

This cl adds a verification step to check the presence of AVF RKP
Hal during the VM attestation. This step ensures that in cases
where a device lacks support for VM attestation, an
AVmAttestationStatus: ATTESTATION_ERROR_UNSUPPORTED will be
returned to the VM.

This return status will also be used in subsequent tests to skip
the test if pVM remote attestation is not supported on the device.

Bug: 329652894
Test: atest AvfRkpdVmAttestationTestApp
Change-Id: If2bffde34dcd2a8bb78b9aa06f7aefc073f427d6
1 file changed
tree: 796e9431a66f4246df000e4eeee6b196e5fa0ca3
  1. apex/
  2. apkdmverity/
  3. authfs/
  4. compos/
  5. demo/
  6. demo_native/
  7. docs/
  8. encryptedstore/
  9. flags/
  10. java/
  11. launcher/
  12. libs/
  13. microdroid/
  14. microdroid_manager/
  15. pvmfw/
  16. rialto/
  17. service_vm/
  18. tests/
  19. virtualizationmanager/
  20. virtualizationservice/
  21. vm/
  22. vm_payload/
  23. vmbase/
  24. vmclient/
  25. zipfuse/
  26. .clang-format
  27. .gitignore
  28. Android.bp
  29. avf_flags.aconfig
  30. OWNERS
  31. PREUPLOAD.cfg
  32. README.md
  33. rustfmt.toml
  34. TEST_MAPPING
README.md

Android Virtualization Framework (AVF)

Android Virtualization Framework (AVF) provides secure and private execution environments for executing code. AVF is ideal for security-oriented use cases that require stronger isolation assurances over those offered by Android’s app sandbox.

Visit our public doc site to learn more about what AVF is, what it is for, and how it is structured. This repository contains source code for userspace components of AVF.

If you want a quick start, see the getting started guideline and follow the steps there.

For in-depth explanations about individual topics and components, visit the following links.

AVF components:

AVF APIs:

How-Tos: