Home
last modified time | relevance | path

Searched refs:vmDescriptor (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Virtualization/java/framework/src/android/system/virtualmachine/
DVirtualMachineManager.java295 @NonNull String name, @NonNull VirtualMachineDescriptor vmDescriptor) in importFromDescriptor() argument
299 vm = VirtualMachine.fromDescriptor(mContext, name, vmDescriptor); in importFromDescriptor()
DVirtualMachine.java469 @NonNull VirtualMachineDescriptor vmDescriptor) in fromDescriptor() argument
474 try (vmDescriptor) { in fromDescriptor() argument
475 VirtualMachineConfig config = VirtualMachineConfig.from(vmDescriptor.getConfigFd()); in fromDescriptor()
483 vm.importInstanceFrom(vmDescriptor.getInstanceImgFd()); in fromDescriptor()
485 if (vmDescriptor.getEncryptedStoreFd() != null) { in fromDescriptor()
492 vm.importEncryptedStoreFrom(vmDescriptor.getEncryptedStoreFd()); in fromDescriptor()
495 vm.importInstanceIdFrom(vmDescriptor.getInstanceIdFd()); in fromDescriptor()
/packages/modules/Virtualization/tests/testapk/src/java/com/android/microdroid/test/
DMicrodroidTests.java2023 VirtualMachineDescriptor vmDescriptor = toParcelFromParcel(originalVm.toDescriptor()); in testVmDescriptorParcelUnparcel_noTrustedStorage() local
2031 .importFromDescriptor("import_vm_from_unparceled", vmDescriptor); in testVmDescriptorParcelUnparcel_noTrustedStorage()
2066 VirtualMachineDescriptor vmDescriptor = toParcelFromParcel(originalVm.toDescriptor()); in testVmDescriptorParcelUnparcel_withTrustedStorage() local
2074 .importFromDescriptor("import_vm_from_unparceled", vmDescriptor); in testVmDescriptorParcelUnparcel_withTrustedStorage()