HomeSort by relevance Sort by last modified time
    Searched refs:disk (Results 1 - 25 of 114) sorted by null

1 2 3 4 5

  /external/autotest/client/tests/kvm/tests/
multi_disk.py 8 Test multi disk suport of guest, this case will:
40 error.context("creating partition on test disk")
51 for disk in disks:
52 if disk.strip() in block_list:
53 tmp_list.append(disk)
54 for disk in tmp_list:
55 logging.info("No need to check volume %s", disk)
56 disks.remove(disk)
60 for disk in disks:
61 disk = disk.strip(
    [all...]
hdparm.py 9 1) Set/record parameters value of hard disk to low performance status.
11 3) Set/record parameters value of hard disk to high performance status.
20 disk = re.findall("(\/+[a-z]*\/[a-z]*$)", set_cmd)[0]
22 cmd = "hdparm %s %s" % (param, disk)
32 def perform_read_timing(disk, timeout, num=5):
35 cmd = params.get("device_cache_read_cmd") % disk
59 disk = output.strip()
61 error.context("Setting hard disk to lower performance")
62 cmd = params.get("low_status_cmd") % disk
65 error.context("Checking hard disk keyval under lower performance
    [all...]
  /external/autotest/client/site_tests/kernel_HdParm/
kernel_HdParm.py 14 Measure disk performance: both disk (-t) and cache (-T).
19 disk = utils.get_fixed_dst_drive()
21 logging.debug("Using device %s", disk)
23 result = utils.system_output('hdparm -T %s' % disk)
26 result = utils.system_output('hdparm -t %s' % disk)
  /frameworks/base/core/java/android/os/storage/
StorageEventListener.java 50 public void onDiskScanned(DiskInfo disk, int volumeCount) {
53 public void onDiskDestroyed(DiskInfo disk) {
IMountServiceListener.java 110 final DiskInfo disk = (DiskInfo) data.readParcelable(null); local
112 onDiskScanned(disk, volumeCount);
118 final DiskInfo disk = (DiskInfo) data.readParcelable(null); local
119 onDiskDestroyed(disk);
241 public void onDiskScanned(DiskInfo disk, int volumeCount) throws RemoteException {
246 _data.writeParcelable(disk, 0);
258 public void onDiskDestroyed(DiskInfo disk) throws RemoteException {
263 _data.writeParcelable(disk, 0);
306 public void onDiskScanned(DiskInfo disk, int volumeCount) throws RemoteException;
308 public void onDiskDestroyed(DiskInfo disk) throws RemoteException
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2/
instancetype.py 33 :ivar disk: The amount of disk space in gigabytes for this vm type
37 memory=None, disk=None):
43 self.disk = disk
47 self.memory, self.disk)
54 elif name == 'disk':
55 self.disk = value
  /external/vboot_reference/tests/
load_kernel_tests.sh 60 # Now create a dummy disk image
61 echo 'Creating test disk image'
62 dd if=/dev/zero of=disk.test bs=1024 count=1024
63 ${CGPT} create disk.test
64 ${CGPT} add -i 1 -S 1 -P 1 -b 64 -s 960 -t kernel -l kernelA disk.test
65 ${CGPT} show disk.test
68 dd if=kernel.test of=disk.test bs=512 seek=64 conv=notrunc
71 echo 'Verifying test disk image'
72 ${BUILD_RUN}/tests/verify_kernel disk.test \
  /external/e2fsprogs/lib/quota/
quotaio_tree.h 37 /* Convert given entry from in memory format to disk one */
38 void (*mem2disk_dqblk)(void *disk, struct dquot *dquot);
39 /* Convert given entry from disk format to in memory one */
40 void (*disk2mem_dqblk)(struct dquot *dquot, void *disk);
42 int (*is_id)(void *disk, struct dquot *dquot);
58 int qtree_entry_unused(struct qtree_mem_dqinfo *info, char *disk);
  /hardware/qcom/bootctrl/
boot_control.c 71 struct gpt_disk *disk = NULL; local
77 disk = gpt_disk_alloc();
78 if (!disk) {
79 ALOGE("%s: Failed to alloc disk struct", __func__);
82 if (gpt_disk_get_disk_info(partname, disk)) {
83 ALOGE("%s: Failed to get disk info", __func__);
86 pentry = gpt_disk_get_pentry(disk, partname, PRIMARY_GPT);
88 ALOGE("%s: pentry does not exist in disk struct",
101 gpt_disk_free(disk);
104 if (disk)
117 struct gpt_disk *disk = NULL; local
330 struct gpt_disk *disk = NULL; local
    [all...]
  /external/curl/packages/vms/
build_gnv_curl_release_notes.com 40 $ curl_readme = f$search("sys$disk:[--]readme.")
43 $ curl_readme = f$search("sys$disk:[--]$README.")
51 $ curl_copying = f$search("sys$disk:[--]copying.")
54 $ curl_copying = f$search("sys$disk:[--]$COPYING.")
62 $ vms_readme = f$search("sys$disk:[]readme.")
65 $ vms_readme = f$search("sys$disk:[]$README.")
73 $ curl_release_notes = f$search("sys$disk:[--]release-notes.")
76 $ curl_release_notes = f$search("sys$disk:[--]$RELEASE-NOTES.")
84 $ if f$search("sys$disk:[]hp_ssl_release_info.txt") .eqs. ""
92 sys$disk:[]curl_release_note_start.txt,
    [all...]
  /external/e2fsprogs/misc/
base_device.c 6 * one time. Otherwise, the disk heads will be seeking all over the
44 const char **hier, *disk; local
64 * on one disk, since we don't know how to parallelize them.
124 /* Now handle devfs /dev/disc or /dev/disk names */
125 disk = 0;
127 disk = "disc";
129 disk = "disk";
130 if (disk) {
132 if (strncmp(cp, disk, 4) != 0
    [all...]
  /external/tlsdate/etc/
tlsdated.conf 10 should-load-disk yes
12 should-save-disk yes
  /external/autotest/client/tests/disktest/
disktest.py 10 Pattern test of the disk, using unique signatures for each block and each
12 disk and disk controller.
37 def test_one_disk_chunk(self, disk, chunk):
39 Tests one part of the disk by spawning a disktest instance.
41 @param disk: Directory (usually a mountpoint).
42 @param chunk: Portion of the disk used.
45 self.chunk_mb, disk, self.memory_mb, chunk)
47 (self.srcdir, self.chunk_mb, disk, chunk))
59 @param gigabytes: Disk space that will be used for the test to run
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
StorageNotification.java 98 public void onDiskScanned(DiskInfo disk, int volumeCount) {
99 onDiskScannedInternal(disk, volumeCount);
103 public void onDiskDestroyed(DiskInfo disk) {
104 onDiskDestroyedInternal(disk);
170 for (DiskInfo disk : disks) {
171 onDiskScannedInternal(disk, disk.volumeCount);
220 private void onDiskScannedInternal(DiskInfo disk, int volumeCount) {
221 if (volumeCount == 0 && disk.size > 0) {
224 R.string.ext_media_unsupported_notification_title, disk.getDescription())
323 final DiskInfo disk = vol.getDisk(); local
338 final DiskInfo disk = vol.getDisk(); local
394 final DiskInfo disk = vol.getDisk(); local
408 final DiskInfo disk = vol.getDisk(); local
426 final DiskInfo disk = vol.getDisk(); local
443 final DiskInfo disk = vol.getDisk(); local
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/lib-scriptpackages/Finder/
Containers_and_folders.py 18 class disk(aetools.ComponentItem): class in inherits:aetools.ComponentItem
19 """disk - A disk """
26 """capacity - the total number of bytes (free or used) on the disk """
34 """format - the filesystem format of this disk """
38 """free space - the number of free bytes left on the disk """
42 """ignore privileges - Ignore permissions on this disk? """
50 """startup - Is this disk the boot disk? """
64 disks = disk
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/Finder/
Containers_and_folders.py 18 class disk(aetools.ComponentItem): class in inherits:aetools.ComponentItem
19 """disk - A disk """
26 """capacity - the total number of bytes (free or used) on the disk """
34 """format - the filesystem format of this disk """
38 """free space - the number of free bytes left on the disk """
42 """ignore privileges - Ignore permissions on this disk? """
50 """startup - Is this disk the boot disk? """
64 disks = disk
    [all...]
  /external/fio/tools/plot/
fio2gnuplot 142 f.write("# Disk%d was coming from %s\n" % (index,fio_data_file[index]))
246 for disk in xrange(len(fio_data_file)):
247 # print disk_perf[disk]
248 min_file.write("# Disk%d was coming from %s\n" % (disk,fio_data_file[disk]))
249 max_file.write("# Disk%d was coming from %s\n" % (disk,fio_data_file[disk]))
250 average_file.write("# Disk%d was coming from %s\n" % (disk,fio_data_file[disk])
    [all...]
  /external/autotest/client/site_tests/platform_CrosDisksDBus/
platform_CrosDisksDBus.py 28 def validate_disk_properties(self, disk):
29 # Disk properties provided by the API
49 # Check if all disk properties are set.
50 if prop_name not in disk:
51 raise error.TestFail("disk.%s not found" % prop_name)
53 # Check if each disk property has the right data type.
54 prop_value = disk[prop_name]
57 "disk.%s is %s, but %s expected"
61 if not disk['DeviceFile']:
63 "disk.DeviceFile should not be empty"
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/ec2/
test_instancetype.py 26 <name>m1.small</name><cpu>1</cpu><disk>5</disk><memory>256</memory>
30 <name>t1.micro</name><cpu>1</cpu><disk>5</disk><memory>256</memory>
34 <name>m1.medium</name><cpu>1</cpu><disk>10</disk><memory>512</memory>
38 <name>c1.medium</name><cpu>2</cpu><disk>10</disk><memory>512</memory>
42 <name>m1.large</name><cpu>2</cpu><disk>10</disk><memory>512</memory
    [all...]
  /external/chromium-trace/catapult/tracing/tracing_build/
check_common.py 71 error = 'Entries in ' + file_name + ' do not match files on disk:\n'
80 error += ' On disk only:\n ' + '\n '.join(sorted(in_known_only))
  /prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/lib-scriptpackages/SystemEvents/
Disk_Folder_File_Suite.py 1 """Suite Disk-Folder-File Suite: Terms and Events for controlling Disks, Folders, and Files
20 """move: Move disk item(s) to a new location.
22 Keyword argument to: The new location for the disk item(s).
43 """application - The Disk-Folder-File Suite host program """
56 """properties - every property of the Disk-Folder-File Suite host program """
74 class disk(aetools.ComponentItem): class in inherits:aetools.ComponentItem
75 """disk - A disk in the file system """
78 """POSIX path - the POSIX file system path of the disk """
82 """capacity - the total number of bytes (free or used) on the disk """
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/SystemEvents/
Disk_Folder_File_Suite.py 1 """Suite Disk-Folder-File Suite: Terms and Events for controlling Disks, Folders, and Files
20 """move: Move disk item(s) to a new location.
22 Keyword argument to: The new location for the disk item(s).
43 """application - The Disk-Folder-File Suite host program """
56 """properties - every property of the Disk-Folder-File Suite host program """
74 class disk(aetools.ComponentItem): class in inherits:aetools.ComponentItem
75 """disk - A disk in the file system """
78 """POSIX path - the POSIX file system path of the disk """
82 """capacity - the total number of bytes (free or used) on the disk """
    [all...]
  /external/fio/tools/
genfio 48 one test after another then one disk after another
56 Separated each disk with a comma
110 for disk in $(echo $@ | tr "," " "); do
111 R=$(basename $disk | sed 's|/|_|g')
133 disk=$2
134 PRINTABLE_DISK=$(diskname_to_printable $disk)
139 filename=$disk
148 for disk in $(echo $DISKS | tr "," " "); do
150 gen_seq_suite "$mode" "$disk"
160 for disk in $(echo $DISKS | tr "," " "); d
    [all...]
  /external/e2fsprogs/ext2ed/
Makefile.in 23 $(srcdir)/disk.c $(srcdir)/win.c $(srcdir)/group_com.c \
28 disk.o win.o group_com.o file_com.o blockbitmap_com.o ext2_com.o \
89 disk.o: $(srcdir)/disk.c $(srcdir)/ext2ed.h
  /system/update_engine/common/
utils_unittest.cc 106 string disk; local
109 EXPECT_TRUE(utils::SplitPartitionName("/dev/sda3", &disk, &part_num));
110 EXPECT_EQ("/dev/sda", disk);
113 EXPECT_TRUE(utils::SplitPartitionName("/dev/sdp1234", &disk, &part_num));
114 EXPECT_EQ("/dev/sdp", disk);
117 EXPECT_TRUE(utils::SplitPartitionName("/dev/mmcblk0p3", &disk, &part_num));
118 EXPECT_EQ("/dev/mmcblk0", disk);
121 EXPECT_TRUE(utils::SplitPartitionName("/dev/ubiblock3_2", &disk, &part_num));
122 EXPECT_EQ("/dev/ubiblock", disk);
125 EXPECT_TRUE(utils::SplitPartitionName("/dev/loop10", &disk, &part_num))
    [all...]

Completed in 1306 milliseconds

1 2 3 4 5