Home
last modified time | relevance | path

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

/packages/modules/Virtualization/tests/testapk/src/java/com/android/microdroid/test/
DMicrodroidTests.java258 File vendorDiskImage = new File("/vendor/etc/avf/microdroid/microdroid_vendor.img"); in vmAttestationWithVendorPartitionWhenSupported() local
259 assumeTrue("Microdroid vendor image doesn't exist, skip", vendorDiskImage.exists()); in vmAttestationWithVendorPartitionWhenSupported()
261 buildVmConfigWithVendor(vendorDiskImage, VM_ATTESTATION_PAYLOAD_PATH); in vmAttestationWithVendorPartitionWhenSupported()
2366 private VirtualMachineConfig buildVmConfigWithVendor(File vendorDiskImage) throws Exception { in buildVmConfigWithVendor() argument
2367 return buildVmConfigWithVendor(vendorDiskImage, "MicrodroidTestNativeLib.so"); in buildVmConfigWithVendor()
2370 private VirtualMachineConfig buildVmConfigWithVendor(File vendorDiskImage, String binaryPath) in buildVmConfigWithVendor() argument
2383 .setVendorDiskImage(vendorDiskImage) in buildVmConfigWithVendor()
2392 File vendorDiskImage = in configuringVendorDiskImageRequiresCustomPermission() local
2394 VirtualMachineConfig config = buildVmConfigWithVendor(vendorDiskImage); in configuringVendorDiskImageRequiresCustomPermission()
2409 File vendorDiskImage = new File("/vendor/etc/avf/microdroid/microdroid_vendor.img"); in bootsWithVendorPartition() local
[all …]
/packages/modules/Virtualization/tests/benchmark/src/java/com/android/microdroid/benchmark/
DMicrodroidBenchmarks.java285 private void testMicrodroidDebugBootTime_withVendorBase(File vendorDiskImage) throws Exception { in testMicrodroidDebugBootTime_withVendorBase() argument
299 (builder) -> builder.setVendorDiskImage(vendorDiskImage)); in testMicrodroidDebugBootTime_withVendorBase()
304 File vendorDiskImage = new File("/vendor/etc/avf/microdroid/microdroid_vendor.img"); in testMicrodroidDebugBootTime_withVendorPartition() local
306 .that(vendorDiskImage.exists()) in testMicrodroidDebugBootTime_withVendorPartition()
308 testMicrodroidDebugBootTime_withVendorBase(vendorDiskImage); in testMicrodroidDebugBootTime_withVendorPartition()
318 File vendorDiskImage = in testMicrodroidDebugBootTime_withCustomVendorPartition() local
320 testMicrodroidDebugBootTime_withVendorBase(vendorDiskImage); in testMicrodroidDebugBootTime_withCustomVendorPartition()
/packages/modules/Virtualization/java/framework/src/android/system/virtualmachine/
DVirtualMachineConfig.java251 @Nullable File vendorDiskImage, in VirtualMachineConfig() argument
275 mVendorDiskImage = vendorDiskImage; in VirtualMachineConfig()
1260 public Builder setVendorDiskImage(@NonNull File vendorDiskImage) { in setVendorDiskImage() argument
1262 requireNonNull(vendorDiskImage, "vendor disk image must not be null"); in setVendorDiskImage()