Home
last modified time | relevance | path

Searched refs:CpuTopology (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Virtualization/virtualizationservice/aidl/android/system/virtualizationservice/
DVirtualMachineAppConfig.aidl18 import android.system.virtualizationservice.CpuTopology;
97 CpuTopology cpuTopology = CpuTopology.ONE_CPU;
DVirtualMachineRawConfig.aidl18 import android.system.virtualizationservice.CpuTopology;
60 CpuTopology cpuTopology = CpuTopology.ONE_CPU;
DCpuTopology.aidl20 enum CpuTopology { enum
/packages/modules/Virtualization/libs/vmconfig/src/
Dlib.rs18 aidl::android::system::virtualizationservice::CpuTopology::CpuTopology,
107 None => CpuTopology::ONE_CPU, in to_parcelable()
108 Some("one_cpu") => CpuTopology::ONE_CPU, in to_parcelable()
109 Some("match_host") => CpuTopology::MATCH_HOST, in to_parcelable()
/packages/modules/Virtualization/vm/src/
Dmain.rs22 CpuTopology::CpuTopology, IVirtualizationService::IVirtualizationService,
46 cpu_topology: CpuTopology,
345 fn parse_cpu_topology(s: &str) -> Result<CpuTopology, String> { in parse_cpu_topology() argument
347 "one_cpu" => Ok(CpuTopology::ONE_CPU), in parse_cpu_topology()
348 "match_host" => Ok(CpuTopology::MATCH_HOST), in parse_cpu_topology()
/packages/modules/Virtualization/compos/common/
Dcompos_client.rs25 CpuTopology::CpuTopology,
121 VmCpuTopology::OneCpu => CpuTopology::ONE_CPU,
122 VmCpuTopology::MatchHost => CpuTopology::MATCH_HOST,
/packages/modules/Virtualization/vmbase/example/tests/
Dtest.rs19 CpuTopology::CpuTopology, DiskImage::DiskImage, VirtualMachineConfig::VirtualMachineConfig,
103 cpuTopology: CpuTopology::ONE_CPU, in test_run_example_vm()
/packages/modules/Virtualization/virtualizationmanager/src/
Datom.rs22 CpuTopology::CpuTopology,
132 CpuTopology::MATCH_HOST => { in write_vm_creation_stats()
Daidl.rs33 CpuTopology::CpuTopology,
495 CpuTopology::MATCH_HOST => (None, true), in create_vm_internal()
496 CpuTopology::ONE_CPU => (NonZeroU32::new(1), false), in create_vm_internal()
/packages/modules/Virtualization/java/framework/src/android/system/virtualmachine/
DVirtualMachineConfig.java139 public @interface CpuTopology {} annotation in VirtualMachineConfig
180 @CpuTopology private final int mCpuTopology;
245 @CpuTopology int cpuTopology, in VirtualMachineConfig()
535 @CpuTopology
769 vsConfig.cpuTopology = android.system.virtualizationservice.CpuTopology.MATCH_HOST; in toVsConfig()
772 vsConfig.cpuTopology = android.system.virtualizationservice.CpuTopology.ONE_CPU; in toVsConfig()
867 @CpuTopology private int mCpuTopology = CPU_TOPOLOGY_ONE_CPU;
1145 public Builder setCpuTopology(@CpuTopology int cpuTopology) { in setCpuTopology()
/packages/modules/Virtualization/service_vm/manager/src/
Dlib.rs20 CpuTopology::CpuTopology, DiskImage::DiskImage,
234 cpuTopology: CpuTopology::ONE_CPU, in protected_vm_instance()
/packages/modules/Virtualization/pvmfw/src/
Dfdt.rs227 struct CpuTopology { struct
229 clusters: [Option<ClusterTopology>; CpuTopology::MAX_CLUSTERS], argument
232 impl CpuTopology { implementation
242 for n in 0..CpuTopology::MAX_CLUSTERS { in read_cpu_map_from()
265 ) -> libfdt::Result<(ArrayVec<[CpuInfo; DeviceTreeInfo::MAX_CPUS]>, Option<CpuTopology>)> { in read_cpu_info_from() argument
269 let mut topology: CpuTopology = Default::default();
387 topology: &Option<CpuTopology>, in patch_cpus() argument
919 cpu_topology: Option<CpuTopology>,