/bootable/recovery/tools/ota/ |
H A D | convert-to-bmp.py | 16 im = Image.open(infile) 67 f = open(outfile, "wb")
|
H A D | check-lost+found.c | 66 int fd = open(kMarkerFile, O_WRONLY|O_CREAT, 0444); 78 fd = open(fn, O_WRONLY|O_CREAT, 0444); 102 fprintf(out, "Can't open %s: %s\n", fn, strerror(errno));
|
/bootable/recovery/ |
H A D | interlace-frames.py | 28 frames = [Image.open(fn).convert("RGB") for fn in sys.argv[1:-1]]
|
H A D | adb_install.cpp | 42 int fd = open("/sys/class/android_usb/android0/enable", O_WRONLY); 44 ui->Print("failed to open driver control: %s\n", strerror(errno));
|
H A D | fuse_sdcard_provider.c | 83 fd.fd = open(t->path, O_RDONLY); 85 fprintf(stderr, "failed to open %s: %s\n", t->path, strerror(errno)); 123 // Unmount it with MNT_DETACH so that our open file continues to
|
H A D | roots.cpp | 202 LOGW("format_volume: can't open MTD \"%s\"\n", v->blk_device); 220 int fd = open(v->key_loc, O_WRONLY | O_CREAT, 0644); 222 LOGE("format_volume: failed to open %s\n", v->key_loc); 276 int fd = open(v->blk_device, O_RDWR);
|
H A D | ui.cpp | 247 int fd = open("/sys/class/android_usb/android0/state", O_RDONLY); 249 printf("failed to open /sys/class/android_usb/android0/state: %s\n",
|
H A D | fuse_sideload.c | 398 fd.ffd = open("/dev/fuse", O_RDWR); 400 perror("open /dev/fuse");
|
/bootable/recovery/minadbd/ |
H A D | sysdeps.h | 150 return open(path, options); 159 return open(path, options, mode); 162 #define open ___xxx_unix_open macro 309 return open(path, options); 318 return open(path, options, mode); 324 return open( pathname, options, mode ); 329 int fd = open(path, O_CREAT|O_WRONLY|O_TRUNC|O_NOFOLLOW, mode); 342 int fd = open( pathname, options ); 348 #undef open macro 349 #define open ___xxx_ope macro [all...] |
/bootable/recovery/uncrypt/ |
H A D | uncrypt.c | 36 // Each block range represents a half-open interval; the line "30 33" 226 int fd = open(path, O_RDONLY); 228 ALOGE("failed to open fd for reading: %s\n", strerror(errno)); 235 wfd = open(blk_dev, O_WRONLY); 237 ALOGE("failed to open fd for writing: %s\n", strerror(errno)); 321 int fd = open(v->blk_device, O_WRONLY);
|
/bootable/recovery/minzip/ |
H A D | SysUtil.c | 128 int fd = open(block_dev, O_RDONLY); 130 LOGW("failed to open block device %s: %s\n", block_dev, strerror(errno)); 169 LOGV("Unable to open '%s': %s\n", fn+1, strerror(errno)); 181 int fd = open(fn, O_RDONLY, 0); 183 LOGE("Unable to open '%s': %s\n", fn, strerror(errno));
|
H A D | Zip.c | 1070 int fd = open(targetFile, O_CREAT|O_WRONLY|O_TRUNC|O_SYNC
|
/bootable/recovery/minui/ |
H A D | graphics_fbdev.c | 87 fd = open("/dev/graphics/fb0", O_RDWR); 89 perror("cannot open fb0");
|
H A D | graphics.c | 361 gr_vt_fd = open("/dev/tty0", O_RDWR | O_SYNC); 364 perror("can't open /dev/tty0"); 366 // However, if we do open tty0, we expect the ioctl to work.
|
/bootable/recovery/mtdutils/ |
H A D | flash_image.c | 71 int fd = open(argv[2], O_RDONLY);
|
H A D | mounts.c | 89 fd = open(PROC_MOUNTS_FILENAME, O_RDONLY);
|
H A D | mtdutils.c | 107 fd = open(MTD_PROC_FILENAME, O_RDONLY); 243 int fd = open(mtddevname, O_RDONLY); 270 ctx->fd = open(mtddevname, O_RDONLY); 386 ctx->fd = open(mtddevname, O_RDWR);
|
/bootable/recovery/applypatch/ |
H A D | applypatch.c | 72 printf("failed to open \"%s\": %s\n", filename, strerror(errno)); 202 printf("failed to open emmc partition \"%s\": %s\n", 312 int fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_SYNC, S_IRUSR | S_IWUSR); 314 printf("failed to open \"%s\" for write: %s\n", 417 int fd = open(partition, O_RDWR | O_SYNC); 419 printf("failed to open %s: %s\n", partition, strerror(errno)); 452 fd = open(partition, O_RDONLY); 462 int dc = open("/proc/sys/vm/drop_caches", O_WRONLY); 943 output = open(outname, O_WRONLY | O_CREAT | O_TRUNC | O_SYNC, 946 printf("failed to open outpu [all...] |
/bootable/recovery/updater/ |
H A D | blockimg.c | 359 int fd = open(blockdev_filename->data, O_RDWR); 361 ErrorAbort(state, "failed to open %s: %s", blockdev_filename->data, strerror(errno)); 609 int fd = open(blockdev_filename->data, O_RDWR); 611 ErrorAbort(state, "failed to open %s: %s", blockdev_filename->data, strerror(errno));
|
H A D | install.c | 538 printf("%s: can't open %s for write: %s\n", 971 ErrorAbort(state, "%s: failed to open %s: %s", 1087 printf("%s: can't open %s: %s\n", 1522 int fd = open(filename, O_WRONLY, 0644);
|