android_packages_modules_Vi.../tests/benchmark
Alan Stokes d4667bc5e0 VirtualMachine API changes pre-@SystemApi
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
2022-10-04 13:18:05 +01:00
..
assets benchmark:Measure virtio-blk read rate 2022-07-27 14:16:52 +00:00
src VirtualMachine API changes pre-@SystemApi 2022-10-04 13:18:05 +01:00
Android.bp cleanup:Rename IBenchmarkService#readFile to measureReadRate 2022-09-06 08:13:15 +00:00
AndroidManifest.xml Add microdroid minimum ram test 2022-06-27 13:48:29 +09:00
AndroidTest.xml Fix crosvm mem usage measurement in MicrodroidBenchmarks 2022-09-28 20:57:55 +00:00