android_packages_modules_Vi.../javalib
Andrew Scull 0a773b2ea9 Synchronize VM callbacks
Both the callback and the executor are needed to invoke a callback so
read and update them atomically. This avoids the possibility of the
callback being called on the wrong executor.

Also make sure that onDied() is only called once for a VM by
synchronizing the possible death sources.

Fix: 220730550
Test: atest MicrodroidTests
Change-Id: I434ea70cc90f1df9a23c8518798ef26fe0adf9e7
2022-03-16 22:10:53 +00:00
..
api
jni [LSC] Add LOCAL_LICENSE_KINDS to packages/modules/Virtualization 2021-09-13 17:48:57 -07:00
src/android/system/virtualmachine Synchronize VM callbacks 2022-03-16 22:10:53 +00:00
Android.bp Access control for virtualizationservice 2021-07-13 22:02:32 +09:00
AndroidManifest.xml Unbundled test apps can obtain virtual machine permissions 2021-10-19 17:15:28 +09:00