android_packages_modules_Vi.../tests/no_avf
Nikita Ioffe 60991a57c4 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 63594352ae)
2022-11-25 15:57:01 +00:00
..
src/com/android/nomicrodroid/test Add VirtualizationModuleFrameworkInitializer 2022-11-25 15:57:01 +00:00
Android.bp Add VirtualizationModuleFrameworkInitializer 2022-11-25 15:57:01 +00:00
AndroidManifest.xml Add VirtualizationModuleFrameworkInitializer 2022-11-25 15:57:01 +00:00
AndroidTest.xml Add VirtualizationModuleFrameworkInitializer 2022-11-25 15:57:01 +00:00
README.md Add VirtualizationModuleFrameworkInitializer 2022-11-25 15:57:01 +00:00

README.md

CTS tests for devices that don't support AVF.