Home
last modified time | relevance | path

Searched refs:VirtualMachineConfig (Results 1 – 25 of 30) sorted by relevance

12

/packages/modules/Virtualization/tests/testapk/src/java/com/android/microdroid/test/
DMicrodroidTests.java21 import static android.system.virtualmachine.VirtualMachineConfig.CPU_TOPOLOGY_MATCH_HOST;
22 import static android.system.virtualmachine.VirtualMachineConfig.CPU_TOPOLOGY_ONE_CPU;
23 import static android.system.virtualmachine.VirtualMachineConfig.DEBUG_LEVEL_FULL;
24 import static android.system.virtualmachine.VirtualMachineConfig.DEBUG_LEVEL_NONE;
57 import android.system.virtualmachine.VirtualMachineConfig;
182 VirtualMachineConfig config = in createAndConnectToVmHelper()
231 VirtualMachineConfig config = in vmAttestationWhenRemoteAttestationIsNotSupported()
260 VirtualMachineConfig config = in vmAttestationWithVendorPartitionWhenSupported()
276 VirtualMachineConfig config = in vmAttestationWhenRemoteAttestationIsSupported()
322 VirtualMachineConfig config = in createAndRunNoDebugVm()
[all …]
/packages/modules/Virtualization/java/framework/api/
Dsystem-current.txt9 …method @NonNull @WorkerThread public android.system.virtualmachine.VirtualMachineConfig getConfig(…
16 … android.system.virtualmachine.VirtualMachineConfig setConfig(@NonNull android.system.virtualmachi…
58 public final class VirtualMachineConfig {
65 …ethod public boolean isCompatibleWith(@NonNull android.system.virtualmachine.VirtualMachineConfig);
75 public static final class VirtualMachineConfig.Builder {
76 ctor public VirtualMachineConfig.Builder(@NonNull android.content.Context);
77 method @NonNull public android.system.virtualmachine.VirtualMachineConfig build();
78 …method @NonNull public android.system.virtualmachine.VirtualMachineConfig.Builder setApkPath(@NonN…
79 …method @NonNull public android.system.virtualmachine.VirtualMachineConfig.Builder setCpuTopology(i…
80 …method @NonNull public android.system.virtualmachine.VirtualMachineConfig.Builder setDebugLevel(in…
[all …]
Dtest-current.txt10 public final class VirtualMachineConfig {
19 public static final class VirtualMachineConfig.Builder {
20 …s.avf_v_test_apis") @NonNull public android.system.virtualmachine.VirtualMachineConfig.Builder add…
21 …nifest.permission.INTERNET}) public android.system.virtualmachine.VirtualMachineConfig.Builder set…
22 …_VIRTUAL_MACHINE_PERMISSION) public android.system.virtualmachine.VirtualMachineConfig.Builder set…
23 …_VIRTUAL_MACHINE_PERMISSION) public android.system.virtualmachine.VirtualMachineConfig.Builder set…
24 …_VIRTUAL_MACHINE_PERMISSION) public android.system.virtualmachine.VirtualMachineConfig.Builder set…
25 …method @NonNull public android.system.virtualmachine.VirtualMachineConfig.Builder setVmConsoleInpu…
/packages/modules/Virtualization/virtualizationmanager/src/
Daidl.rs43 VirtualMachineConfig::VirtualMachineConfig,
215 config: &VirtualMachineConfig, in createVm() argument
379 config: &VirtualMachineConfig, in create_vm_internal() argument
426 VirtualMachineConfig::RawConfig(config) => (false, BorrowedOrOwned::Borrowed(config)), in create_vm_internal()
427 VirtualMachineConfig::AppConfig(config) => { in create_vm_internal()
634 fn is_custom_config(config: &VirtualMachineConfig) -> bool { in is_custom_config()
637 VirtualMachineConfig::RawConfig(_) => true, in is_custom_config()
638 VirtualMachineConfig::AppConfig(config) => { in is_custom_config()
662 fn extract_vendor_hashtree_digest(config: &VirtualMachineConfig) -> Result<Option<Vec<u8>>> { in extract_vendor_hashtree_digest()
663 let VirtualMachineConfig::AppConfig(config) = config else { in extract_vendor_hashtree_digest() localVariable
[all …]
Datom.rs25 VirtualMachineConfig::VirtualMachineConfig,
98 config: &VirtualMachineConfig, in write_vm_creation_stats() argument
115 VirtualMachineConfig::AppConfig(config) => ( in write_vm_creation_stats()
122 VirtualMachineConfig::RawConfig(config) => ( in write_vm_creation_stats()
Ddebug_config.rs18 VirtualMachineAppConfig::DebugLevel::DebugLevel, VirtualMachineConfig::VirtualMachineConfig,
160 pub fn new(config: &VirtualMachineConfig) -> Self { in new()
/packages/modules/Virtualization/tests/benchmark/src/java/com/android/microdroid/benchmark/
DMicrodroidBenchmarks.java19 import static android.system.virtualmachine.VirtualMachineConfig.CPU_TOPOLOGY_ONE_CPU;
20 import static android.system.virtualmachine.VirtualMachineConfig.CPU_TOPOLOGY_MATCH_HOST;
21 import static android.system.virtualmachine.VirtualMachineConfig.DEBUG_LEVEL_FULL;
22 import static android.system.virtualmachine.VirtualMachineConfig.DEBUG_LEVEL_NONE;
38 import android.system.virtualmachine.VirtualMachineConfig;
157 VirtualMachineConfig normalConfig = in canBootMicrodroidWithMemory()
226 Function<VirtualMachineConfig.Builder, VirtualMachineConfig.Builder> fnConfig) in runBootTimeTest()
234 VirtualMachineConfig.Builder builder = in runBootTimeTest()
242 VirtualMachineConfig config = fnConfig.apply(builder).build(); in runBootTimeTest()
346 VirtualMachineConfig config = in testVsockTransferFromHostToVM()
[all …]
/packages/modules/Virtualization/service_vm/test_apk/src/java/com/android/virt/vm_attestation/testapp/
DVmAttestationTests.java21 import static android.system.virtualmachine.VirtualMachineConfig.DEBUG_LEVEL_FULL;
24 import android.system.virtualmachine.VirtualMachineConfig;
76 VirtualMachineConfig.Builder builder = in requestingAttestationSucceeds()
80 VirtualMachineConfig config = builder.build(); in requestingAttestationSucceeds()
/packages/modules/Virtualization/libs/vmconfig/src/
Dlib.rs22 aidl::android::system::virtualizationservice::VirtualMachineConfig::VirtualMachineConfig,
136 pub fn get_debug_level(config: &VirtualMachineConfig) -> Option<DebugLevel> { in get_debug_level()
138 VirtualMachineConfig::AppConfig(config) => Some(config.debugLevel), in get_debug_level()
139 VirtualMachineConfig::RawConfig(_) => None, in get_debug_level()
/packages/modules/Virtualization/java/framework/src/android/system/virtualmachine/
DVirtualMachine.java337 private VirtualMachineConfig mConfig;
418 @NonNull VirtualMachineConfig config, in VirtualMachine()
475 VirtualMachineConfig config = VirtualMachineConfig.from(vmDescriptor.getConfigFd()); in fromDescriptor()
519 @NonNull Context context, @NonNull String name, @NonNull VirtualMachineConfig config) in create()
609 VirtualMachineConfig config = VirtualMachineConfig.from(configFilePath); in load()
734 public VirtualMachineConfig getConfig() { in getConfig()
892 private android.system.virtualizationservice.VirtualMachineConfig
893 createVirtualMachineConfigForRawFrom(VirtualMachineConfig vmConfig) in createVirtualMachineConfigForRawFrom()
927 return android.system.virtualizationservice.VirtualMachineConfig.rawConfig(rawConfig); in createVirtualMachineConfigForRawFrom()
1087 private android.system.virtualizationservice.VirtualMachineConfig
[all …]
DVirtualMachineConfig.java77 public final class VirtualMachineConfig { class
235 private VirtualMachineConfig( in VirtualMachineConfig() method in VirtualMachineConfig
283 static VirtualMachineConfig from(@NonNull File file) throws VirtualMachineException { in from()
293 static VirtualMachineConfig from(@NonNull ParcelFileDescriptor fd) in from()
304 private static VirtualMachineConfig fromInputStream(@NonNull InputStream input) in fromInputStream()
315 private static VirtualMachineConfig fromPersistableBundle(PersistableBundle b) { in fromPersistableBundle()
630 public boolean isCompatibleWith(@NonNull VirtualMachineConfig other) { in isCompatibleWith()
903 public VirtualMachineConfig build() { in build()
957 return new VirtualMachineConfig( in build()
DVirtualMachineManager.java225 public VirtualMachine create(@NonNull String name, @NonNull VirtualMachineConfig config) in create()
234 private VirtualMachine createLocked(@NonNull String name, @NonNull VirtualMachineConfig config) in createLocked()
317 public VirtualMachine getOrCreate(@NonNull String name, @NonNull VirtualMachineConfig config) in getOrCreate()
/packages/modules/Virtualization/demo/java/com/android/microdroid/demo/
DMainActivity.java25 import android.system.virtualmachine.VirtualMachineConfig;
245 VirtualMachineConfig.Builder builder = in run()
246 new VirtualMachineConfig.Builder(getApplication()); in run()
251 builder.setDebugLevel(VirtualMachineConfig.DEBUG_LEVEL_FULL); in run()
254 VirtualMachineConfig config = builder.build(); in run()
/packages/modules/Virtualization/service_vm/test_apk/src/java/com/android/virt/rkpd/vm_attestation/testapp/
DRkpdVmAttestationTest.java19 import static android.system.virtualmachine.VirtualMachineConfig.DEBUG_LEVEL_FULL;
28 import android.system.virtualmachine.VirtualMachineConfig;
111 VirtualMachineConfig config = in usingProvisionedKeyForVmAttestationSucceeds()
/packages/modules/Virtualization/vmlauncher_app/java/com/android/virtualization/vmlauncher/
DMainActivity.java19 import static android.system.virtualmachine.VirtualMachineConfig.CPU_TOPOLOGY_MATCH_HOST;
32 import android.system.virtualmachine.VirtualMachineConfig;
80 private VirtualMachineConfig createVirtualMachineConfig(String jsonPath) { in createVirtualMachineConfig()
81 VirtualMachineConfig.Builder configBuilder = in createVirtualMachineConfig()
82 new VirtualMachineConfig.Builder(getApplication()); in createVirtualMachineConfig()
87 configBuilder.setDebugLevel(VirtualMachineConfig.DEBUG_LEVEL_FULL); in createVirtualMachineConfig()
276 VirtualMachineConfig config = in onCreate()
/packages/modules/Virtualization/tests/testapk_no_perm/src/java/com/android/microdroid/test/
DMicrodroidTestAppNoPerm.java19 import android.system.virtualmachine.VirtualMachineConfig;
61 VirtualMachineConfig config = in createVmRequiresPermission()
/packages/modules/Virtualization/virtualizationservice/aidl/android/system/virtualizationservice/
DIVirtualizationService.aidl21 import android.system.virtualizationservice.VirtualMachineConfig;
39 IVirtualMachine createVm(in VirtualMachineConfig config, in createVm()
/packages/modules/Virtualization/tests/testapk_no_internet_perm/src/java/com/android/microdroid/test/
DMicrodroidTestAppNoInternetPerm.java24 import android.system.virtualmachine.VirtualMachineConfig;
60 VirtualMachineConfig config = in configuringNetworkSupportedRequiresInternetPermission()
/packages/modules/Virtualization/vmbase/example/tests/
Dtest.rs19 CpuTopology::CpuTopology, DiskImage::DiskImage, VirtualMachineConfig::VirtualMachineConfig,
94 let config = VirtualMachineConfig::RawConfig(VirtualMachineRawConfig { in test_run_example_vm()
/packages/modules/Virtualization/vm/src/
Drun.rs26 VirtualMachineConfig::VirtualMachineConfig,
166 let vm_config = VirtualMachineConfig::AppConfig(VirtualMachineAppConfig { in command_run_app()
267 &VirtualMachineConfig::RawConfig(vm_config), in command_run()
289 config: &VirtualMachineConfig, in run() argument
/packages/modules/Virtualization/tests/helper/src/java/com/android/microdroid/test/device/
DMicrodroidDeviceTestBase.java34 import android.system.virtualmachine.VirtualMachineConfig;
135 public VirtualMachineConfig.Builder newVmConfigBuilderWithPayloadConfig(String configPath) { in newVmConfigBuilderWithPayloadConfig()
136 return new VirtualMachineConfig.Builder(mCtx) in newVmConfigBuilderWithPayloadConfig()
142 public VirtualMachineConfig.Builder newVmConfigBuilderWithPayloadBinary(String binaryPath) { in newVmConfigBuilderWithPayloadBinary()
143 return new VirtualMachineConfig.Builder(mCtx) in newVmConfigBuilderWithPayloadBinary()
161 public VirtualMachine forceCreateNewVirtualMachine(String name, VirtualMachineConfig config) in forceCreateNewVirtualMachine()
/packages/modules/Virtualization/compos/common/
Dcompos_client.rs31 VirtualMachineConfig::VirtualMachineConfig,
130 let config = VirtualMachineConfig::AppConfig(VirtualMachineAppConfig {
/packages/modules/Virtualization/service_vm/manager/src/
Dlib.rs22 PartitionType::PartitionType, VirtualMachineConfig::VirtualMachineConfig,
227 let config = VirtualMachineConfig::RawConfig(VirtualMachineRawConfig { in protected_vm_instance()
/packages/modules/Virtualization/vmclient/src/
Dlib.rs34 VirtualMachineConfig::VirtualMachineConfig,
162 config: &VirtualMachineConfig, in create() argument
/packages/modules/Virtualization/rialto/tests/
Dtest.rs19 VirtualMachineConfig::VirtualMachineConfig,
314 let config = VirtualMachineConfig::RawConfig(VirtualMachineRawConfig { in nonprotected_vm_instance()

12