[test][fix] Sort the keys of device info map in CBOR order

As required in RFC8949. The CBOR ordering rules are:

1. If two keys have different lengths, the shorter one sorts earlier.
2. If two keys have the same length, the one with the lower value
in (bytewise) lexical order sorts earlier.

This is aligned with the libcppbor CBOR ordering
implementation.

Bug: 325906414
Test: atest rialto_test libservice_vm_requests.test
Test: atest VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: I3a775d6915e5fc3d4d50c4f4242cef3c8b17c1d1
1 file changed
tree: 719924aaa6afc760011f9b15dcf17f6b02be7899
  1. apex/
  2. apkdmverity/
  3. authfs/
  4. compos/
  5. demo/
  6. demo_native/
  7. docs/
  8. encryptedstore/
  9. java/
  10. launcher/
  11. libs/
  12. microdroid/
  13. microdroid_manager/
  14. pvmfw/
  15. rialto/
  16. service_vm/
  17. tests/
  18. virtualizationmanager/
  19. virtualizationservice/
  20. vm/
  21. vm_payload/
  22. vmbase/
  23. vmclient/
  24. zipfuse/
  25. .clang-format
  26. .gitignore
  27. Android.bp
  28. avf_flags.aconfig
  29. OWNERS
  30. PREUPLOAD.cfg
  31. README.md
  32. rustfmt.toml
  33. 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: