android_packages_modules_Vi.../javalib
Jiyong Park e6ed0f92f4 Detect Microdroid hangup during boot
Hangup in Microdroid is defined as a state where payload hasn't been
started for a long time. In that case AVF kills the VM and the death is
reported via onDied callback.

In addition, modified the client-facing java and rust libraries to add
death reasons that were added before but haven't surfaced yet.

Bug: 222228861
Test: I couldn't make a test for this because it was impossible to
intentionally make the hang by a test. Instead, I confirm that `onDied`
is called and the VM eventually is killed when I edited the timeout
value to a very small number (e.g. 100ms).

Change-Id: I53f232d0b609e6e8a429d996c7d6fdd0b37e7b4c
2022-06-23 01:18:45 +09:00
..
api
jni [LSC] Add LOCAL_LICENSE_KINDS to packages/modules/Virtualization 2021-09-13 17:48:57 -07:00
src/android/system/virtualmachine Detect Microdroid hangup during boot 2022-06-23 01:18:45 +09:00
Android.bp
AndroidManifest.xml Add USE_CUSTOM_VIRTUAL_MACHINE permission 2022-05-04 15:05:10 +09:00