Refactor: use callback instead of returning a reference

The callback paradigm removes the burden of dealing with the returned
reference lifetime. This also paves the way to mutate the data with _mut
their variants.

Bug: 203251769
Test: atest AuthFsHostTest

Change-Id: Ibcb1974030da1b6345a8ad858c5dd901891030de
2 files changed
tree: 18ebc3b51f6836b1a2cf10af094058a36cf7253d
  1. apex/
  2. apkdmverity/
  3. apkverify/
  4. authfs/
  5. binder_common/
  6. compos/
  7. demo/
  8. docs/
  9. idsig/
  10. javalib/
  11. launcher/
  12. libs/
  13. microdroid/
  14. microdroid_manager/
  15. pvmfw/
  16. tests/
  17. virtualizationservice/
  18. vm/
  19. vmconfig/
  20. zipfuse/
  21. .clang-format
  22. Android.bp
  23. OWNERS
  24. PREUPLOAD.cfg
  25. README.md
  26. 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.