Home
last modified time | relevance | path

Searched refs:disks (Results 1 – 22 of 22) sorted by relevance

/packages/modules/AdServices/sdksandbox/tests/testutils/src/android/app/sdksandbox/hosttestutils/
DAdoptableStorageUtils.java89 String disks = mTest.getDevice().executeShellCommand("sm list-disks adoptable"); in getAdoptionDisk() local
90 while ((disks == null || disks.isEmpty()) && attempt++ < 15) { in getAdoptionDisk()
92 disks = mTest.getDevice().executeShellCommand("sm list-disks adoptable"); in getAdoptionDisk()
95 if (disks == null || disks.isEmpty()) { in getAdoptionDisk()
100 return disks.split("\n")[0].trim(); in getAdoptionDisk()
/packages/modules/Virtualization/java/framework/src/android/system/virtualmachine/
DVirtualMachineCustomImageConfig.java46 @Nullable private final Disk[] disks; field in VirtualMachineCustomImageConfig
55 return disks; in getDisks()
102 Disk[] disks, in VirtualMachineCustomImageConfig() argument
113 this.disks = disks; in VirtualMachineCustomImageConfig()
163 if (disks != null) { in toPersistableBundle()
164 boolean[] writables = new boolean[disks.length]; in toPersistableBundle()
165 String[] images = new String[disks.length]; in toPersistableBundle()
166 for (int i = 0; i < disks.length; i++) { in toPersistableBundle()
167 writables[i] = disks[i].writable; in toPersistableBundle()
168 images[i] = disks[i].imagePath; in toPersistableBundle()
[all …]
DVirtualMachineConfig.java694 config.disks = in toVsRawConfig()
699 for (int i = 0; i < config.disks.length; i++) { in toVsRawConfig()
700 config.disks[i] = new DiskImage(); in toVsRawConfig()
701 config.disks[i].writable = customImageConfig.getDisks()[i].isWritable(); in toVsRawConfig()
703 config.disks[i].image = in toVsRawConfig()
706 config.disks[i].writable ? MODE_READ_WRITE : MODE_READ_ONLY); in toVsRawConfig()
707 config.disks[i].partitions = new Partition[0]; in toVsRawConfig()
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
DStorageWizardTest.java153 String disks = mDevice.executeShellCommand("sm list-disks adoptable"); in getAdoptableDisk() local
154 while ((disks == null || disks.isEmpty()) && attempt++ < 15) { in getAdoptableDisk()
156 disks = mDevice.executeShellCommand("sm list-disks adoptable"); in getAdoptableDisk()
159 if (disks == null || disks.isEmpty()) { in getAdoptableDisk()
163 return disks.split("\n")[0].trim(); in getAdoptableDisk()
/packages/modules/Virtualization/libs/vmconfig/src/
Dlib.rs53 pub disks: Vec<DiskImage>, field
82 for disk in &self.disks { in validate()
117 disks: self.disks.iter().map(DiskImage::to_parcelable).collect::<Result<_, Error>>()?, in to_parcelable()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DFileCopyUiTest.java348 String disks = device.executeShellCommand("sm list-disks adoptable"); in getAdoptionDisk() local
349 while ((disks == null || disks.isEmpty()) && attempt++ < 15) { in getAdoptionDisk()
351 disks = device.executeShellCommand("sm list-disks adoptable"); in getAdoptionDisk()
354 if (disks == null || disks.isEmpty()) { in getAdoptionDisk()
357 return disks.split("\n")[0].trim(); in getAdoptionDisk()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
DStorageSummaryFragment.java166 final List<DiskInfo> disks = mStorageManager.getDisks(); in refresh() local
167 final List<DiskInfo> unsupportedDisks = new ArrayList<>(disks.size()); in refresh()
168 for (final DiskInfo disk : disks) { in refresh()
/packages/modules/Virtualization/virtualizationservice/aidl/android/system/virtualizationservice/
DVirtualMachineRawConfig.aidl51 DiskImage[] disks;
/packages/modules/Virtualization/tests/hostside/java/com/android/microdroid/test/
DMicrodroidHostTests.java352 JSONArray disks = config.getJSONArray("disks");
353 for (int diskIndex = 0; diskIndex < disks.length(); diskIndex++) {
354 JSONObject disk = disks.getJSONObject(diskIndex);
366 disks.put(
389 disks.put(new JSONObject().put("writable", false).put("partitions", partitions));
/packages/modules/Virtualization/virtualizationmanager/src/
Dpayload.rs412 vm_config.disks.push(DiskImage { in add_microdroid_vendor_image()
452 vm_config.disks.push(DiskImage { in add_microdroid_system_images()
472 vm_config.disks.push(make_payload_disk( in add_microdroid_payload_images()
Daidl.rs447 .disks in create_vm_internal()
480 let disks = config in create_vm_internal() localVariable
481 .disks in create_vm_internal()
588 disks, in create_vm_internal()
1014 .disks in check_partitions_for_files()
Dcrosvm.rs112 pub disks: Vec<DiskFile>, field
902 let virtio_pci_device_count = 4 + config.disks.len(); in run_vm()
1024 for disk in &config.disks { in run_vm()
/packages/modules/Virtualization/vmbase/example/tests/
Dtest.rs100 disks: vec![disk_image, empty_disk_image], in test_run_example_vm()
/packages/modules/Virtualization/docs/
Dcustom_vm.md38 "disks": [
186 "disks": [
/packages/modules/Virtualization/service_vm/manager/src/
Dlib.rs230 disks: vec![DiskImage { image: None, partitions: writable_partitions, writable: true }], in protected_vm_instance()
/packages/inputmethods/LatinIME/dictionaries/
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz
Dnl_wordlist.combined.gz
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dsv_wordlist.combined.gz