d4667bc5e0
This is the set of code changes proposed in https://r.android.com/2192077, except for the migration to @SystemApi: - Replace enums with integer constants. Map the AIDL constants to the API constants. (Some of this was already done in https://r.android.com/2203781.) - Make connectToVsockServer synchronous rather than using Future. - Make VirtualMachine AutoCloseable (close() == stop()). - Add VirtualMachine getters to match the builder's setters. - Lots of nullability declarations. - Added @RequiresPermission as appropriate. - Rename onDied, DeathReason to onStopped, StopReason. - Assorted documentation tweaks. Also modify the clients to match. I want to do this now separately because that CL is going to take a while to get in, and I want to submit some further changes that modify VirtualMachineConfig (b/243513572). Bug: 243512115 Bug: 236811123 Test: atest MicrodroidTests MicrodroidHostTestCases Test: Install & run demo app Change-Id: I4bee00ffd23732bc9dfdca8c4c104b487f24907c |
||
---|---|---|
.. | ||
assets | ||
src | ||
Android.bp | ||
AndroidManifest.xml | ||
AndroidTest.xml |