commit | 2227eaa6b102bfd75928c1879643f57ab47a3766 | [log] [tgz] |
---|---|---|
author | Jiyong Park <jiyong@google.com> | Fri Aug 04 11:59:18 2023 +0900 |
committer | Jiyong Park <jiyong@google.com> | Wed Aug 09 23:45:11 2023 +0900 |
tree | 5232aa72b4e52603213844d061f1292685bfcdf6 | |
parent | bc84c21bf1ba64e0ae35889dfae8e7d60aafbad5 [diff] |
Use binder::IntoBinderResult to simplify error handling In addition to the trait, a local trait `LogResult` is also added for the case of logging an error while returning it. ex: ``` let x = some_function() .context("some message") .with_log() // if error, log the error message .or_binder_exception(ExceptionCode::INVALID_ARGUMENT)?; ``` Bug: 294348831 Test: m com.android.virt Change-Id: I461ba6501be66014f73831f4320a50cd9eee0ae7
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:
How-Tos: