Home
last modified time | relevance | path

Searched refs:VirtualMachineManager (Results 1 – 17 of 17) sorted by relevance

/packages/modules/Virtualization/java/framework/
Djarjar-rules.txt3 # Keep the API surface, most of it is accessible from VirtualMachineManager
4 keep android.system.virtualmachine.VirtualMachineManager
6 # VirtualMachineManager, we need to explicitly keep it.
DREADME.md29 [`VirtualMachineManager`](src/android/system/virtualmachine/VirtualMachineManager.java)
35 VirtualMachineManager vmm = context.getSystemService(VirtualMachineManager.class);
69 [`VirtualMachineManager`](src/android/system/virtualmachine/VirtualMachineManager.java),
160 [`VirtualMachineManager`](src/android/system/virtualmachine/VirtualMachineManager.java). This
206 [`VirtualMachineManager`](src/android/system/virtualmachine/VirtualMachineManager.java))
366 [`VirtualMachineManager`](src/android/system/virtualmachine/VirtualMachineManager.java). This
372 original VM, using the `delete()` method on `VirtualMachineManager`.
/packages/modules/Virtualization/tests/vmshareapp/src/java/com/android/microdroid/test/sharevm/
DVmShareServiceImpl.java27 import android.system.virtualmachine.VirtualMachineManager;
88 VirtualMachineManager vmm = getSystemService(VirtualMachineManager.class); in deleteVm()
104 VirtualMachineManager vmm = getSystemService(VirtualMachineManager.class); in importVm()
/packages/modules/Virtualization/tests/testapk/src/java/com/android/microdroid/test/
DMicrodroidCapabilitiesTest.java23 import android.system.virtualmachine.VirtualMachineManager;
54 & (VirtualMachineManager.CAPABILITY_PROTECTED_VM in supportForProtectedOrNonProtectedVms()
55 | VirtualMachineManager.CAPABILITY_NON_PROTECTED_VM); in supportForProtectedOrNonProtectedVms()
DMicrodroidTests.java25 import static android.system.virtualmachine.VirtualMachineManager.CAPABILITY_NON_PROTECTED_VM;
26 import static android.system.virtualmachine.VirtualMachineManager.CAPABILITY_PROTECTED_VM;
60 import android.system.virtualmachine.VirtualMachineManager;
226 assumeFeatureEnabled(VirtualMachineManager.FEATURE_REMOTE_ATTESTATION); in vmAttestationWhenRemoteAttestationIsNotSupported()
254 assumeFeatureEnabled(VirtualMachineManager.FEATURE_REMOTE_ATTESTATION); in vmAttestationWithVendorPartitionWhenSupported()
272 assumeFeatureEnabled(VirtualMachineManager.FEATURE_REMOTE_ATTESTATION); in vmAttestationWhenRemoteAttestationIsSupported()
808 VirtualMachineManager vmm = getVirtualMachineManager(); in vmmGetAndCreate()
849 final VirtualMachineManager vmm = ctx.getSystemService(VirtualMachineManager.class); in vmFilesStoredInDeDirWhenCreatedFromDEContext()
867 final VirtualMachineManager vmm = ctx.getSystemService(VirtualMachineManager.class); in vmFilesStoredInCeDirWhenCreatedFromCEContext()
884 assertThat(ceCtx.getSystemService(VirtualMachineManager.class)) in differentManagersForDifferentContexts()
[all …]
/packages/modules/Virtualization/java/framework/src/android/system/virtualmachine/
DVirtualizationFrameworkInitializer.java51 VirtualMachineManager.class, in registerServiceWrappers()
54 ? new VirtualMachineManager(ctx) in registerServiceWrappers()
DVirtualMachineManager.java68 public class VirtualMachineManager { class
79 public VirtualMachineManager(@NonNull Context context) { in VirtualMachineManager() method in VirtualMachineManager
/packages/modules/Virtualization/tests/no_avf/src/com/android/nomicrodroid/test/
DNoMicrodroidTest.java24 import android.system.virtualmachine.VirtualMachineManager;
55 assertThat(ctx.getSystemService(VirtualMachineManager.class)).isNull(); in testVirtualMachineManagerLookupReturnsNull()
/packages/modules/Virtualization/tests/testapk_no_internet_perm/src/java/com/android/microdroid/test/
DMicrodroidTestAppNoInternetPerm.java25 import android.system.virtualmachine.VirtualMachineManager;
58 assumeFeatureEnabled(VirtualMachineManager.FEATURE_NETWORK); in configuringNetworkSupportedRequiresInternetPermission()
/packages/modules/Virtualization/tests/helper/src/java/com/android/microdroid/test/device/
DMicrodroidDeviceTestBase.java36 import android.system.virtualmachine.VirtualMachineManager;
131 public VirtualMachineManager getVirtualMachineManager() { in getVirtualMachineManager()
132 return mCtx.getSystemService(VirtualMachineManager.class); in getVirtualMachineManager()
163 final VirtualMachineManager vmm = getVirtualMachineManager(); in forceCreateNewVirtualMachine()
169 VirtualMachineManager vmm = getVirtualMachineManager(); in deleteVirtualMachineIfExists()
192 .that(capabilities & VirtualMachineManager.CAPABILITY_PROTECTED_VM) in prepareTestSetup()
199 .that(capabilities & VirtualMachineManager.CAPABILITY_NON_PROTECTED_VM) in prepareTestSetup()
/packages/modules/Virtualization/service_vm/test_apk/src/java/com/android/virt/vm_attestation/testapp/
DVmAttestationTests.java25 import android.system.virtualmachine.VirtualMachineManager;
71 assumeFeatureEnabled(VirtualMachineManager.FEATURE_REMOTE_ATTESTATION); in requestingAttestationSucceeds()
/packages/modules/Virtualization/service_vm/test_apk/src/java/com/android/virt/rkpd/vm_attestation/testapp/
DRkpdVmAttestationTest.java33 import android.system.virtualmachine.VirtualMachineManager;
90 assumeFeatureEnabled(VirtualMachineManager.FEATURE_REMOTE_ATTESTATION); in setUp()
/packages/modules/Virtualization/demo/java/com/android/microdroid/demo/
DMainActivity.java27 import android.system.virtualmachine.VirtualMachineManager;
255 VirtualMachineManager vmm = in run()
256 getApplication().getSystemService(VirtualMachineManager.class); in run()
/packages/modules/Virtualization/vmlauncher_app/java/com/android/virtualization/vmlauncher/
DMainActivity.java37 import android.system.virtualmachine.VirtualMachineManager;
278 VirtualMachineManager vmm = in onCreate()
279 getApplication().getSystemService(VirtualMachineManager.class); in onCreate()
/packages/modules/Virtualization/java/framework/api/
Dtest-current.txt28 public class VirtualMachineManager {
Dsystem-current.txt98 public class VirtualMachineManager {
/packages/modules/Virtualization/tests/benchmark/src/java/com/android/microdroid/benchmark/
DMicrodroidBenchmarks.java41 import android.system.virtualmachine.VirtualMachineManager;
295 assumeFeatureEnabled(VirtualMachineManager.FEATURE_VENDOR_MODULES); in testMicrodroidDebugBootTime_withVendorBase()