commit | 60991a57c4f5197b7c37469b9255da21513805b4 | [log] [tgz] |
---|---|---|
author | Nikita Ioffe <ioffe@google.com> | Wed Nov 16 15:58:21 2022 +0000 |
committer | Nikita Ioffe <ioffe@google.com> | Fri Nov 25 15:57:01 2022 +0000 |
tree | 24891df825ab679db39dcfde55ef0bdf7a164bcf | |
parent | 338e0281d3b8be802bb8cd5b23968de24f914eb3 [diff] |
Add VirtualizationModuleFrameworkInitializer VirtualizationModuleFrameworkInitializer.registerServiceWrappers() is called in SystemServiceRegistry during zygote initialization to register Manager classes inside the com.android.virt APEX with the Context.getSystemService() lookup API. For the devices without AVF support the Context.getSystemService(VirtualMachineManager.class) will return null. A CTS test is added to verify this behaviour. Bug: 249093790 Test: presubmit Change-Id: Ib8a94643e5f7ccbfa55dd659d93d02d146af6443 Merged-In: Ib8a94643e5f7ccbfa55dd659d93d02d146af6443 (cherry picked from commit 63594352ae1e5fed298b7d4b35281a393bcfe5e2)
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.