Home
last modified time | relevance | path

Searched refs:VirtualMachineException (Results 1 – 14 of 14) sorted by relevance

/packages/modules/Virtualization/java/framework/src/android/system/virtualmachine/
DVirtualMachine.java420 throws VirtualMachineException { in VirtualMachine()
470 throws VirtualMachineException { in fromDescriptor()
481 throw new VirtualMachineException("failed to create instance image", e); in fromDescriptor()
489 throw new VirtualMachineException( in fromDescriptor()
500 } catch (VirtualMachineException | RuntimeException e) { in fromDescriptor()
520 throws VirtualMachineException { in create()
530 throw new VirtualMachineException("failed to create instance image", e); in create()
536 throw new VirtualMachineException( in create()
548 throw new VirtualMachineException("instance_id file missing", e); in create()
550 throw new VirtualMachineException("failed to persist instance_id", e); in create()
[all …]
DVirtualMachineManager.java226 throws VirtualMachineException { in create()
235 throws VirtualMachineException { in createLocked()
259 public VirtualMachine get(@NonNull String name) throws VirtualMachineException { in get()
267 private VirtualMachine getLocked(@NonNull String name) throws VirtualMachineException { in getLocked()
296 throws VirtualMachineException { in importFromDescriptor()
318 throws VirtualMachineException { in getOrCreate()
344 public void delete(@NonNull String name) throws VirtualMachineException { in delete()
402 public List<String> getSupportedOSList() throws VirtualMachineException { in getSupportedOSList()
418 public boolean isFeatureEnabled(@Features String featureName) throws VirtualMachineException { in isFeatureEnabled()
438 public boolean isRemoteAttestationSupported() throws VirtualMachineException { in isRemoteAttestationSupported()
[all …]
DVirtualMachineException.java28 public class VirtualMachineException extends Exception { class
29 VirtualMachineException(@Nullable String message) { in VirtualMachineException() method in VirtualMachineException
33 VirtualMachineException(@Nullable String message, @Nullable Throwable cause) { in VirtualMachineException() method in VirtualMachineException
37 VirtualMachineException(@Nullable Throwable cause) { in VirtualMachineException() method in VirtualMachineException
DVirtualizationService.java63 private VirtualizationService() throws VirtualMachineException { in VirtualizationService()
66 throw new VirtualMachineException("Could not spawn Virtualization Manager"); in VirtualizationService()
72 throw new VirtualMachineException("Could not connect to Virtualization Manager"); in VirtualizationService()
97 static VirtualizationService getInstance() throws VirtualMachineException { in getInstance()
DVirtualMachineConfig.java283 static VirtualMachineConfig from(@NonNull File file) throws VirtualMachineException { in from()
287 throw new VirtualMachineException("Failed to read VM config from file", e); in from()
294 throws VirtualMachineException { in from()
298 throw new VirtualMachineException("failed to read VM config from file descriptor", e); in from()
305 throws IOException, VirtualMachineException { in fromInputStream()
310 throw new VirtualMachineException("Persisted VM config is invalid", e); in fromInputStream()
386 void serialize(@NonNull File file) throws VirtualMachineException { in serialize()
390 throw new VirtualMachineException("failed to write VM config", e); in serialize()
736 throws VirtualMachineException { in toVsConfig()
744 throw new VirtualMachineException("Failed to open APK", e); in toVsConfig()
[all …]
/packages/modules/Virtualization/java/framework/api/
Dsystem-current.txt7 ….VirtualMachine.MAX_VSOCK_PORT) long) throws android.system.virtualmachine.VirtualMachineException;
8 ….VirtualMachine.MAX_VSOCK_PORT) long) throws android.system.virtualmachine.VirtualMachineException;
10 …ava.io.InputStream getConsoleOutput() throws android.system.virtualmachine.VirtualMachineException;
11 …ic java.io.InputStream getLogOutput() throws android.system.virtualmachine.VirtualMachineException;
14 …SION) @WorkerThread public void run() throws android.system.virtualmachine.VirtualMachineException;
16 ….virtualmachine.VirtualMachineConfig) throws android.system.virtualmachine.VirtualMachineException;
17 …thod @WorkerThread public void stop() throws android.system.virtualmachine.VirtualMachineException;
18 …rtualMachineDescriptor toDescriptor() throws android.system.virtualmachine.VirtualMachineException;
95 public class VirtualMachineException extends java.lang.Exception {
99 ….virtualmachine.VirtualMachineConfig) throws android.system.virtualmachine.VirtualMachineException;
[all …]
Dtest-current.txt5 …) public void enableTestAttestation() throws android.system.virtualmachine.VirtualMachineException;
6 …ava.io.OutputStream getConsoleInput() throws android.system.virtualmachine.VirtualMachineException;
29 …ava.lang.String> getSupportedOSList() throws android.system.virtualmachine.VirtualMachineException;
30 …blic boolean isFeatureEnabled(String) throws android.system.virtualmachine.VirtualMachineException;
31 …oolean isRemoteAttestationSupported() throws android.system.virtualmachine.VirtualMachineException;
32 …blic boolean isUpdatableVmSupported() throws android.system.virtualmachine.VirtualMachineException;
/packages/modules/Virtualization/tests/helper/src/java/com/android/microdroid/test/device/
DMicrodroidDeviceTestBase.java35 import android.system.virtualmachine.VirtualMachineException;
162 throws VirtualMachineException { in forceCreateNewVirtualMachine()
168 protected void deleteVirtualMachineIfExists(String name) throws VirtualMachineException { in deleteVirtualMachineIfExists()
173 } catch (VirtualMachineException e) { in deleteVirtualMachineIfExists()
207 } catch (VirtualMachineException e) { in prepareTestSetup()
245 protected void assumeNoUpdatableVmSupport() throws VirtualMachineException {
301 throws VirtualMachineException, InterruptedException { in runToFinish()
343 } catch (VirtualMachineException e) { in forceStop()
473 throws VirtualMachineException, InterruptedException { in tryBootVm()
/packages/modules/Virtualization/demo/java/com/android/microdroid/demo/
DMainActivity.java26 import android.system.virtualmachine.VirtualMachineException;
260 } catch (VirtualMachineException e) { in run()
274 } catch (VirtualMachineException e) { in run()
283 } catch (VirtualMachineException e) { in stop()
/packages/modules/Virtualization/tests/benchmark/src/java/com/android/microdroid/benchmark/
DBenchmarkVmListener.java23 import android.system.virtualmachine.VirtualMachineException;
78 throws VirtualMachineException, InterruptedException { in runToFinish()
DMicrodroidBenchmarks.java39 import android.system.virtualmachine.VirtualMachineException;
156 throws VirtualMachineException, InterruptedException, IOException { in canBootMicrodroidWithMemory()
176 throws VirtualMachineException, InterruptedException, IOException { in testMinimumRequiredRAM()
227 throws VirtualMachineException, InterruptedException, IOException { in runBootTimeTest()
261 throws VirtualMachineException, InterruptedException, IOException { in testMicrodroidBootTime()
269 throws VirtualMachineException, InterruptedException, IOException { in testMicrodroidHostCpuTopologyBootTime()
278 throws VirtualMachineException, InterruptedException, IOException { in testMicrodroidDebugBootTime()
/packages/modules/Virtualization/tests/vmshareapp/src/java/com/android/microdroid/test/sharevm/
DVmShareServiceImpl.java26 import android.system.virtualmachine.VirtualMachineException;
91 } catch (VirtualMachineException e) { in deleteVm()
/packages/modules/Virtualization/vmlauncher_app/java/com/android/virtualization/vmlauncher/
DMainActivity.java36 import android.system.virtualmachine.VirtualMachineException;
287 } catch (VirtualMachineException e) { in onCreate()
305 } catch (VirtualMachineException | IOException e) { in onCreate()
/packages/modules/Virtualization/tests/testapk/src/java/com/android/microdroid/test/
DMicrodroidTests.java59 import android.system.virtualmachine.VirtualMachineException;
2542 assertThrows(VirtualMachineException.class, runnable); in assertThrowsVmException()
2547 Exception e = assertThrows(VirtualMachineException.class, runnable); in assertThrowsVmExceptionContaining()