commit | 2bead0d6d26a765ed7540fede1f99ff6c2f91c56 | [log] [tgz] |
---|---|---|
author | Alan Stokes <alanstokes@google.com> | Mon Sep 05 16:58:34 2022 +0100 |
committer | Alan Stokes <alanstokes@google.com> | Mon Sep 05 17:43:32 2022 +0100 |
tree | 6aeb19468c8906b9959f09f427d82691d033b7da | |
parent | 512a1f174d9112c5d1d8190ffdf6d53bf70566f8 [diff] |
Make ErrorCode an enum Change the VS AIDL to define it as an enum. Added a new common AIDL module to hold it, since this is needed by both existing AIDLs, and we don't want either directly depending on the other. Modify vmclient to also have Rust enum for ErrorCode, with translation logic, in the same way as we did for DeathReason. Switch to Debug rather than Display for these enums. Also fixed a couple of AIDL warnings (enum-explicit-default). We also need translation in the Java API, but I'll do that as part of https://r.android.com/2192077. Bug: 236811123 Test: atest MicrodroidTests MicrodroidHostTestCases Test: composd_cmd test-compile Change-Id: I561e5f43f0f1c74d1318dc41782ed390bb5f0337
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.