Home
last modified time | relevance | path

Searched refs:setMemoryBytes (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Virtualization/tests/testapk/src/java/com/android/microdroid/test/
DMicrodroidTests.java184 .setMemoryBytes(minMemoryRequired()) in createAndConnectToVmHelper()
324 .setMemoryBytes(minMemoryRequired()) in createAndRunNoDebugVm()
342 .setMemoryBytes(minMemoryRequired()) in autoCloseVm()
424 .setMemoryBytes(minMemoryRequired()) in vmLifecycleChecks()
472 .setMemoryBytes(minMemoryRequired()) in connectVsock()
510 .setMemoryBytes(minMemoryRequired()) in binderCallbacksWork()
589 .setMemoryBytes(42) in vmConfigGetAndSetTests()
643 assertThrows(IllegalArgumentException.class, () -> builder.setMemoryBytes(0)); in vmConfigBuilderValidationTests()
693 assertConfigCompatible(baseline, newBaselineBuilder().setMemoryBytes(99)).isTrue(); in compatibleConfigTests()
779 VirtualMachineConfig compatibleConfig = builder.setMemoryBytes(42).build(); in vmUnitTests()
[all …]
/packages/modules/Virtualization/tests/benchmark/src/java/com/android/microdroid/benchmark/
DMicrodroidBenchmarks.java160 .setMemoryBytes(mem * ONE_MEBI) in canBootMicrodroidWithMemory()
237 .setMemoryBytes(256 * ONE_MEBI) in runBootTimeTest()
527 .setMemoryBytes(256 * ONE_MEBI) in testMemoryUsage()
613 .setMemoryBytes(256 * ONE_MEBI) in testMemoryReclaim()
/packages/modules/Virtualization/java/framework/src/android/system/virtualmachine/
DVirtualMachineConfig.java350 builder.setMemoryBytes(memoryBytes); in fromPersistableBundle()
1126 public Builder setMemoryBytes(@IntRange(from = 1) long memoryBytes) { in setMemoryBytes() method in VirtualMachineConfig.Builder
/packages/modules/Virtualization/java/framework/api/
Dsystem-current.txt82 …ll public android.system.virtualmachine.VirtualMachineConfig.Builder setMemoryBytes(@IntRange(from…
/packages/modules/Virtualization/vmlauncher_app/java/com/android/virtualization/vmlauncher/
DMainActivity.java172 configBuilder.setMemoryBytes(8L * 1024 * 1024 * 1024 /* 8 GB */); in createVirtualMachineConfig()