Searched refs:device (Results 1 - 16 of 16) sorted by relevance

/bootable/diskinstaller/
H A Dinstaller_img_layout.conf0 device {
H A Dandroid_img_system_layout.conf0 device {
H A Dandroid_img_data_layout.conf0 device {
H A Dinstaller.c50 fprintf(stderr, "\t-l <path> - Path to device disk layout conf file "
54 fprintf(stderr, "\t-p <path> - Path to device that should be mounted"
230 ALOGE("Could not get the device name for partition %s while"
340 if (write_raw_image(dinfo->device, filename, offset, test))
416 /* If the user asked us to wait for data device, wait for it to appear,
421 ALOGI("Waiting for device: %s", inst_data_dev);
/bootable/recovery/mtdutils/
H A Dmounts.h28 const MountedVolume *find_mounted_volume_by_device(const char *device);
H A Dmounts.c27 const char *device; member in struct:MountedVolume
48 free((char *)volume->device);
116 char device[64]; local
125 device, mount_point, filesystem, flags);
128 device[sizeof(device)-1] = '\0';
135 v->device = strdup(device);
164 find_mounted_volume_by_device(const char *device) argument
172 if (v->device !
[all...]
/bootable/recovery/
H A Dbootloader.cpp74 const MtdPartition *part = mtd_find_partition_by_name(v->device);
76 LOGE("Can't find %s\n", v->device);
82 LOGE("Can't open %s\n(%s)\n", v->device, strerror(errno));
89 if (r != size) LOGE("Can't read %s\n(%s)\n", v->device, strerror(errno));
100 const MtdPartition *part = mtd_find_partition_by_name(v->device);
102 LOGE("Can't find %s\n", v->device);
108 LOGE("Can't open %s\n(%s)\n", v->device, strerror(errno));
115 if (r != size) LOGE("Can't read %s\n(%s)\n", v->device, strerror(errno));
123 LOGE("Can't open %s\n(%s)\n", v->device, strerror(errno));
127 LOGE("Can't write %s\n(%s)\n", v->device, strerro
[all...]
H A Droots.cpp58 device_volumes[0].device = NULL;
79 char* device = strtok(NULL, " \t\n"); local
80 // lines may optionally have a second device, to use if
93 if (mount_point && fs_type && device) {
100 device_volumes[num_volumes].device = strdup(device);
123 v->device, v->device2, v->length);
172 partition = mtd_find_partition_by_name(v->device);
175 v->device, v->mount_point);
181 result = mount(v->device,
[all...]
H A Dcommon.h47 const char* device; // MTD partition name if fs_type == "yaffs" member in struct:__anon15
48 // block device if fs_type == "ext4" or "vfat"
50 const char* device2; // alternative device to try if fs_type
52 // 'device' fails
H A Drecovery.cpp42 #include "device.h"
434 int menu_only, int initial_selection, Device* device) {
457 int action = device->HandleMenuKey(key, visible);
490 int* wipe_cache, Device* device) {
564 chosen_item = get_menu_selection(headers, zips, 1, chosen_item, device);
579 result = update_directory(new_path, unmount_when_done, wipe_cache, device);
617 wipe_data(int confirm, Device* device) { argument
642 int chosen_item = get_menu_selection(title_headers, items, 1, 0, device);
649 device->WipeData();
656 prompt_and_wait(Device* device) { argument
433 get_menu_selection(const char* const * headers, const char* const * items, int menu_only, int initial_selection, Device* device) argument
489 update_directory(const char* path, const char* unmount_when_done, int* wipe_cache, Device* device) argument
782 Device* device = make_device(); local
[all...]
H A Dverifier_test.sh14 # set to 0 to use a device instead
27 echo "waiting to connect to device"
28 $ADB wait-for-device
30 # run a command on the device; exit with the exit status of the device
/bootable/recovery/edify/
H A DAndroid.mk30 # Build the device-side library
/bootable/diskinstaller/editdisklbl/
H A Deditdisklbl.c103 /* make sure we don't screw up and write to a block device on the host
192 const char *dest_fn = dinfo->device;
/bootable/recovery/applypatch/
H A Dimgdiff_test.sh6 # recovery images. It then applies the patches on the device (or
11 # set to 0 to use a device instead
14 # where on the device to do all the patching.
32 echo "waiting to connect to device"
33 $ADB wait-for-device
35 # run a command on the device; exit with the exit status of the device
H A Dapplypatch.sh27 # set to 0 to use a device instead
42 echo "waiting to connect to device"
43 $ADB wait-for-device
44 echo "device is available"
49 # run a command on the device; exit with the exit status of the device
/bootable/recovery/updater/
H A DAndroid.mk15 # on user builds. (TODO: find a better way to build device binaries

Completed in 113 milliseconds