Searched refs:write (Results 1 – 13 of 13) sorted by relevance
/bootable/recovery/tools/ota/ |
D | convert-to-bmp.py | 68 f.write(header) 69 f.write(info) 73 f.write(data[i+2]) # B 74 f.write(data[i+1]) # G 75 f.write(data[i+0]) # R 76 f.write(data[i+3]) # A
|
D | check-lost+found.c | 81 TEMP_FAILURE_RETRY(write(fd, fn, sizeof(fn))); // write, you know, some data in main()
|
/bootable/recovery/etc/ |
D | init.rc | 25 write /proc/sys/kernel/panic_on_oops 1 26 write /proc/sys/vm/max_map_count 1000000 33 write /sys/class/android_usb/android0/enable 0 34 write /sys/class/android_usb/android0/idVendor 18D1 35 write /sys/class/android_usb/android0/idProduct D001 36 write /sys/class/android_usb/android0/f_ffs/aliases adb 37 write /sys/class/android_usb/android0/functions adb 38 write /sys/class/android_usb/android0/iManufacturer ${ro.product.manufacturer} 39 write /sys/class/android_usb/android0/iProduct ${ro.product.model} 40 write /sys/class/android_usb/android0/iSerial ${ro.serialno} [all …]
|
/bootable/recovery/ |
D | bootloader.cpp | 122 MtdWriteContext *write = mtd_write_partition(part); in set_bootloader_message_mtd() local 123 if (write == NULL) { in set_bootloader_message_mtd() 127 if (mtd_write_data(write, data, size) != size) { in set_bootloader_message_mtd() 129 mtd_write_close(write); in set_bootloader_message_mtd() 132 if (mtd_write_close(write)) { in set_bootloader_message_mtd()
|
D | roots.cpp | 199 MtdWriteContext *write = mtd_write_partition(partition); in format_volume() local 200 if (write == NULL) { in format_volume() 203 } else if (mtd_erase_blocks(write, -1) == (off_t) -1) { in format_volume() 205 mtd_write_close(write); in format_volume() 207 } else if (mtd_write_close(write)) { in format_volume()
|
D | adb_install.cpp | 45 if (TEMP_FAILURE_RETRY(write(fd, enabled ? "1" : "0", 1)) == -1) { in set_usb_driver()
|
D | fuse_sideload.c | 509 TEMP_FAILURE_RETRY(write(fd.ffd, &outhdr, sizeof(outhdr))); in run_fuse_sideload()
|
/bootable/recovery/mtdutils/ |
D | flash_image.c | 56 MtdWriteContext *write; in main() local
|
D | mtdutils.c | 441 TEMP_FAILURE_RETRY(write(fd, data, size)) != size) { in write_block()
|
/bootable/recovery/uncrypt/ |
D | uncrypt.cpp | 76 ssize_t wrote = TEMP_FAILURE_RETRY(write(wfd, buffer + written, size - written)); in write_at_offset() 340 ssize_t w = TEMP_FAILURE_RETRY(write(fd, zeroes, size-written)); in wipe_misc()
|
/bootable/recovery/applypatch/ |
D | applypatch.c | 434 ssize_t written = TEMP_FAILURE_RETRY(write(fd, data+start, to_write)); in WriteToPartition() 462 if (TEMP_FAILURE_RETRY(write(dc, "3\n", 2)) == -1) { in WriteToPartition() 631 wrote = TEMP_FAILURE_RETRY(write(fd, data+done, len-done)); in FileSink()
|
/bootable/recovery/minzip/ |
D | Zip.c | 678 ssize_t n = TEMP_FAILURE_RETRY(write(fd, data+soFar, dataLen-soFar)); in writeProcessFunction()
|
/bootable/recovery/updater/ |
D | blockimg.c | 130 ssize_t w = TEMP_FAILURE_RETRY(write(fd, data+written, size-written)); in write_all()
|