Searched refs:disks (Results 1 – 22 of 22) sorted by relevance
89 String disks = mTest.getDevice().executeShellCommand("sm list-disks adoptable"); in getAdoptionDisk() local90 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()
46 @Nullable private final Disk[] disks; field in VirtualMachineCustomImageConfig55 return disks; in getDisks()102 Disk[] disks, in VirtualMachineCustomImageConfig() argument113 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 …]
694 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()
153 String disks = mDevice.executeShellCommand("sm list-disks adoptable"); in getAdoptableDisk() local154 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()
53 pub disks: Vec<DiskImage>, field82 for disk in &self.disks { in validate()117 disks: self.disks.iter().map(DiskImage::to_parcelable).collect::<Result<_, Error>>()?, in to_parcelable()
348 String disks = device.executeShellCommand("sm list-disks adoptable"); in getAdoptionDisk() local349 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()
166 final List<DiskInfo> disks = mStorageManager.getDisks(); in refresh() local167 final List<DiskInfo> unsupportedDisks = new ArrayList<>(disks.size()); in refresh()168 for (final DiskInfo disk : disks) { in refresh()
51 DiskImage[] disks;
352 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));
412 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()
447 .disks in create_vm_internal()480 let disks = config in create_vm_internal() localVariable481 .disks in create_vm_internal()588 disks, in create_vm_internal()1014 .disks in check_partitions_for_files()
112 pub disks: Vec<DiskFile>, field902 let virtio_pci_device_count = 4 + config.disks.len(); in run_vm()1024 for disk in &config.disks { in run_vm()
100 disks: vec![disk_image, empty_disk_image], in test_run_example_vm()
38 "disks": [186 "disks": [
230 disks: vec![DiskImage { image: None, partitions: writable_partitions, writable: true }], in protected_vm_instance()
1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...