Home
last modified time | relevance | path

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

/bootable/recovery/
Dbootloader.cpp74 const MtdPartition *part = mtd_find_partition_by_name(v->device); in get_bootloader_message_mtd()
76 LOGE("Can't find %s\n", v->device); in get_bootloader_message_mtd()
82 LOGE("Can't open %s\n(%s)\n", v->device, strerror(errno)); in get_bootloader_message_mtd()
89 if (r != size) LOGE("Can't read %s\n(%s)\n", v->device, strerror(errno)); in get_bootloader_message_mtd()
100 const MtdPartition *part = mtd_find_partition_by_name(v->device); in set_bootloader_message_mtd()
102 LOGE("Can't find %s\n", v->device); in set_bootloader_message_mtd()
108 LOGE("Can't open %s\n(%s)\n", v->device, strerror(errno)); in set_bootloader_message_mtd()
115 if (r != size) LOGE("Can't read %s\n(%s)\n", v->device, strerror(errno)); in set_bootloader_message_mtd()
123 LOGE("Can't open %s\n(%s)\n", v->device, strerror(errno)); in set_bootloader_message_mtd()
127 LOGE("Can't write %s\n(%s)\n", v->device, strerror(errno)); in set_bootloader_message_mtd()
[all …]
Droots.cpp58 device_volumes[0].device = NULL; in load_volume_table()
79 char* device = strtok(NULL, " \t\n"); in load_volume_table() local
93 if (mount_point && fs_type && device) { in load_volume_table()
100 device_volumes[num_volumes].device = strdup(device); in load_volume_table()
123 v->device, v->device2, v->length); in load_volume_table()
172 partition = mtd_find_partition_by_name(v->device); in ensure_path_mounted()
175 v->device, v->mount_point); in ensure_path_mounted()
181 result = mount(v->device, v->mount_point, v->fs_type, in ensure_path_mounted()
187 v->device, strerror(errno), v->device2); in ensure_path_mounted()
252 const MtdPartition* partition = mtd_find_partition_by_name(v->device); in format_volume()
[all …]
Drecovery.cpp449 int menu_only, int initial_selection, Device* device) { in get_menu_selection() argument
472 int action = device->HandleMenuKey(key, visible); in get_menu_selection()
505 int* wipe_cache, Device* device) { in update_directory() argument
579 chosen_item = get_menu_selection(headers, zips, 1, chosen_item, device); in update_directory()
594 result = update_directory(new_path, unmount_when_done, wipe_cache, device); in update_directory()
632 wipe_data(int confirm, Device* device) { in wipe_data() argument
657 int chosen_item = get_menu_selection(title_headers, items, 1, 0, device); in wipe_data()
664 device->WipeData(); in wipe_data()
671 prompt_and_wait(Device* device, int status) { in prompt_and_wait() argument
672 const char* const* headers = prepend_title(device->GetMenuHeaders()); in prompt_and_wait()
[all …]
Dcommon.h47 const char* device; // MTD partition name if fs_type == "yaffs" member
Dverifier_test.sh28 $ADB wait-for-device
/bootable/recovery/mtdutils/
Dmounts.c27 const char *device; member
48 free((char *)volume->device); in free_volume_internals()
116 char device[64]; in scan_mounted_volumes() local
125 device, mount_point, filesystem, flags); in scan_mounted_volumes()
128 device[sizeof(device)-1] = '\0'; in scan_mounted_volumes()
135 v->device = strdup(device); in scan_mounted_volumes()
164 find_mounted_volume_by_device(const char *device) in find_mounted_volume_by_device() argument
172 if (v->device != NULL) { in find_mounted_volume_by_device()
173 if (strcmp(v->device, device) == 0) { in find_mounted_volume_by_device()
219 return mount(volume->device, volume->mount_point, volume->filesystem, in remount_read_only()
Dmounts.h28 const MountedVolume *find_mounted_volume_by_device(const char *device);
/bootable/recovery/etc/META-INF/com/google/android/
Dupdate-script2 assert file_contains("SYSTEM:build.prop", "ro.product.device=dream") == "true" || file_contains("SY…
3 assert file_contains("RECOVERY:default.prop", "ro.product.device=dream") == "true" || file_contains…
4 assert getprop("ro.product.device") == "dream"
/bootable/diskinstaller/
Dinstaller_img_layout.conf1 device {
Dandroid_img_system_layout.conf1 device {
Dandroid_img_data_layout.conf1 device {
Dinstaller.c340 if (write_raw_image(dinfo->device, filename, offset, test)) in process_image_node()
/bootable/recovery/minadbd/
DREADME.txt6 version only runs as adbd on the device.
/bootable/recovery/applypatch/
Dimgdiff_test.sh33 $ADB wait-for-device
Dapplypatch.sh43 $ADB wait-for-device
/bootable/diskinstaller/editdisklbl/
Deditdisklbl.c192 const char *dest_fn = dinfo->device; in main()