Home
last modified time | relevance | path

Searched refs:vmName (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Virtualization/tests/testapk/src/java/com/android/microdroid/test/
DMicrodroidTests.java809 String vmName = "vmName"; in vmmGetAndCreate() local
813 assertThat(vmm.get(vmName)).isNull(); in vmmGetAndCreate()
815 VirtualMachine vm1 = vmm.create(vmName, config); in vmmGetAndCreate()
818 assertThat(vmm.get(vmName)).isSameInstanceAs(vm1); in vmmGetAndCreate()
819 assertThat(vmm.getOrCreate(vmName, config)).isSameInstanceAs(vm1); in vmmGetAndCreate()
822 assertThrowsVmException(() -> vmm.create(vmName, config)); in vmmGetAndCreate()
824 vmm.delete(vmName); in vmmGetAndCreate()
825 assertThat(vmm.get(vmName)).isNull(); in vmmGetAndCreate()
829 VirtualMachine vm2 = vmm.getOrCreate(vmName, config); in vmmGetAndCreate()
837 assertThat(vmm.get(vmName)).isSameInstanceAs(vm2); in vmmGetAndCreate()
[all …]
/packages/modules/Virtualization/tests/benchmark/src/java/com/android/microdroid/benchmark/
DMicrodroidBenchmarks.java355 String vmName = "test_vm_io_" + i; in testVsockTransferFromHostToVM() local
356 VirtualMachine vm = forceCreateNewVirtualMachine(vmName, config); in testVsockTransferFromHostToVM()
386 String vmName = "test_vm_io_" + i; in testVirtioBlkReadRate() local
387 VirtualMachine vm = forceCreateNewVirtualMachine(vmName, config); in testVirtioBlkReadRate()
523 final String vmName = "test_vm_mem_usage"; in testMemoryUsage() local
529 VirtualMachine vm = forceCreateNewVirtualMachine(vmName, config); in testMemoryUsage()
609 final String vmName = "test_vm_mem_reclaim"; in testMemoryReclaim() local
615 VirtualMachine vm = forceCreateNewVirtualMachine(vmName, config); in testMemoryReclaim()
/packages/modules/Virtualization/tests/vmshareapp/src/java/com/android/microdroid/test/sharevm/
DVmShareServiceImpl.java102 String vmName = "imported_vm" + UUID.randomUUID(); in importVm() local
105 mVirtualMachine = vmm.importFromDescriptor(vmName, vmDesc); in importVm()
/packages/modules/Virtualization/tests/helper/src/java/com/android/microdroid/test/device/
DMicrodroidDeviceTestBase.java472 public BootResult tryBootVm(String logTag, String vmName) in tryBootVm() argument
474 VirtualMachine vm = getVirtualMachineManager().get(vmName); in tryBootVm()