Home
last modified time | relevance | path

Searched refs:write (Results 1 – 13 of 13) sorted by relevance

/bootable/recovery/tools/ota/
Dconvert-to-bmp.py68 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
Dcheck-lost+found.c81 TEMP_FAILURE_RETRY(write(fd, fn, sizeof(fn))); // write, you know, some data in main()
/bootable/recovery/etc/
Dinit.rc25 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/
Dbootloader.cpp122 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()
Droots.cpp199 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()
Dadb_install.cpp45 if (TEMP_FAILURE_RETRY(write(fd, enabled ? "1" : "0", 1)) == -1) { in set_usb_driver()
Dfuse_sideload.c509 TEMP_FAILURE_RETRY(write(fd.ffd, &outhdr, sizeof(outhdr))); in run_fuse_sideload()
/bootable/recovery/mtdutils/
Dflash_image.c56 MtdWriteContext *write; in main() local
Dmtdutils.c441 TEMP_FAILURE_RETRY(write(fd, data, size)) != size) { in write_block()
/bootable/recovery/uncrypt/
Duncrypt.cpp76 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/
Dapplypatch.c434 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/
DZip.c678 ssize_t n = TEMP_FAILURE_RETRY(write(fd, data+soFar, dataLen-soFar)); in writeProcessFunction()
/bootable/recovery/updater/
Dblockimg.c130 ssize_t w = TEMP_FAILURE_RETRY(write(fd, data+written, size-written)); in write_all()