/system/core/rootdir/ |
D | init.usb.rc | 15 write /sys/class/android_usb/android0/enable 0 16 write /sys/class/android_usb/android0/bDeviceClass 0 23 write /sys/class/android_usb/android0/enable 0 24 write /sys/class/android_usb/android0/idVendor 18d1 25 write /sys/class/android_usb/android0/idProduct D002 26 write /sys/class/android_usb/android0/functions ${sys.usb.config} 27 write /sys/class/android_usb/android0/enable 1 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 2d00 [all …]
|
D | init.rc | 13 write /proc/1/oom_adj -16 73 write /proc/sys/kernel/panic_on_oops 1 74 write /proc/sys/kernel/hung_task_timeout_secs 0 75 write /proc/cpu/alignment 4 76 write /proc/sys/kernel/sched_latency_ns 10000000 77 write /proc/sys/kernel/sched_wakeup_granularity_ns 2000000 78 write /proc/sys/kernel/sched_compat_yield 1 79 write /proc/sys/kernel/sched_child_runs_first 0 80 write /proc/sys/kernel/randomize_va_space 2 81 write /proc/sys/kernel/kptr_restrict 2 [all …]
|
/system/core/toolbox/ |
D | readtty.c | 123 write(STDERR_FILENO, ¤t_char, 1); in readtty_main() 124 write(STDOUT_FILENO, ¤t_char, 1); in readtty_main() 140 write(STDOUT_FILENO, rejectstring, strlen(rejectstring)); in readtty_main() 154 write(STDERR_FILENO, ¤t_char, 1); in readtty_main() 155 write(STDERR_FILENO, "\b", 1); in readtty_main() 160 write(STDERR_FILENO, ¤t_char, 1); in readtty_main() 161 write(STDOUT_FILENO, ¤t_char, 1); in readtty_main() 173 write(STDERR_FILENO, ¤t_char, 1); in readtty_main() 174 write(STDERR_FILENO, "\b", 1); in readtty_main() 177 write(STDOUT_FILENO, buf, 1); in readtty_main()
|
D | smd.c | 29 r = write(fd, argv[0], len); in smd_main() 37 write(fd, argc ? " " : "\r", 1); in smd_main()
|
D | dmesg.c | 31 while((ret = write(STDOUT_FILENO, p, n))) { in dmesg_main()
|
/system/extras/ext4_utils/ |
D | output_file.c | 49 int (*write)(struct output_file *, u8 *, int); member 80 ret = write(out->fd, data, len); in file_write() 102 .write = file_write, 140 .write = gz_file_write, 176 ret = out->ops->write(out, (u8 *)&chunk_header, sizeof(chunk_header)); in emit_skip_chunk() 232 ret = out->ops->write(out, (u8 *)&chunk_header, sizeof(chunk_header)); in write_chunk_fill() 236 ret = out->ops->write(out, (u8 *)&fill_val, sizeof(fill_val)); in write_chunk_fill() 304 ret = out->ops->write(out, (u8 *)&chunk_header, sizeof(chunk_header)); in write_chunk_raw() 308 ret = out->ops->write(out, data, len); in write_chunk_raw() 312 ret = out->ops->write(out, zero_buf, zero_len); in write_chunk_raw() [all …]
|
/system/core/libcutils/ |
D | debugger.c | 35 if (TEMP_FAILURE_RETRY(write(s, &msg, sizeof(msg))) != sizeof(msg)) { in dump_tombstone() 68 if (TEMP_FAILURE_RETRY(write(s, &msg, sizeof(msg))) != sizeof(msg)) { in dump_backtrace_to_file() 78 if (TEMP_FAILURE_RETRY(write(fd, buffer, n)) != n) { in dump_backtrace_to_file()
|
D | qtaguid.c | 70 res = TEMP_FAILURE_RETRY(write(fd, cmd, strlen(cmd))); in write_ctrl() 91 res = TEMP_FAILURE_RETRY(write(param_fd, value, strlen(value))); in write_param()
|
D | klog.c | 59 write(klog_fd, buf, strlen(buf)); in klog_write()
|
D | process_name.c | 83 write(fd, process_name, strlen(process_name) + 1); in set_process_name()
|
D | uio.c | 58 int ret = write( fd, buf, len ); in writev()
|
/system/core/libsuspend/ |
D | autosuspend_autosleep.c | 43 ret = write(autosleep_fd, sleep_state, strlen(sleep_state)); in autosuspend_autosleep_enable() 65 ret = write(autosleep_fd, on_state, strlen(on_state)); in autosuspend_autosleep_disable()
|
D | autosuspend_earlysuspend.c | 46 ret = write(sPowerStatefd, pwr_state_mem, strlen(pwr_state_mem)); in autosuspend_earlysuspend_enable() 68 ret = write(sPowerStatefd, pwr_state_on, strlen(pwr_state_on)); in autosuspend_earlysuspend_disable()
|
D | autosuspend_wakeup_count.c | 73 ret = write(wakeup_count_fd, wakeup_count, wakeup_count_len); in suspend_thread_func() 79 ret = write(state_fd, sleep_state, strlen(sleep_state)); in suspend_thread_func()
|
/system/core/mkbootimg/ |
D | mkbootimg.c | 88 if(write(fd, padding, count) != count) { in write_padding() 238 if(write(fd, &hdr, sizeof(hdr)) != sizeof(hdr)) goto fail; in main() 241 if(write(fd, kernel_data, hdr.kernel_size) != hdr.kernel_size) goto fail; in main() 244 if(write(fd, ramdisk_data, hdr.ramdisk_size) != hdr.ramdisk_size) goto fail; in main() 248 if(write(fd, second_data, hdr.second_size) != hdr.second_size) goto fail; in main()
|
/system/core/liblinenoise/ |
D | linenoise.c | 202 if (write(fd,seq,strlen(seq)) == -1) return; in refreshLine() 204 if (write(fd,prompt,strlen(prompt)) == -1) return; in refreshLine() 205 if (write(fd,buf,len) == -1) return; in refreshLine() 208 if (write(fd,seq,strlen(seq)) == -1) return; in refreshLine() 211 if (write(fd,seq,strlen(seq)) == -1) return; in refreshLine() 228 if (write(fd,prompt,plen) == -1) return -1; in linenoisePrompt() 327 if (write(fd,&c,1) == -1) return -1; in linenoisePrompt()
|
/system/extras/tests/sdcard/ |
D | README | 37 adb shell sdcard_perf_test --test=write --size=1000 --chunk-size=100 --procnb=1 --iterations=100 39 This test will write 1000kbyte (1M) files using writes of 100kbytes (so 10 writes per file) using 42 At the end of the test, some stats for the 'open' and 'write' system calls are written. 46 …adb shell sdcard_perf_test --test=write --size=1000 --chunk-size=100 --procnb=1 --iterations=100 -…
|
D | profile_sdcard.sh | 40 …adb shell sdcard_perf_test --test=write --procnb=${p} --size=1000 --chunk-size=100 --iterations=50…
|
/system/extras/sound/ |
D | playwav.c | 73 if (write(afd, buf, sz) != sz) in pcm_play() 87 if (write(afd, buf, sz) != sz) in pcm_play() 220 write(fd, &hdr, sizeof(hdr)); in wav_rec() 270 if (write(fd, buf, sz) != sz) { in wav_rec() 284 write(fd, &hdr, sizeof(hdr)); in wav_rec() 320 r = write(afd, buf, r); in mp3_play()
|
/system/core/adb/ |
D | sysdeps.h | 136 return write(fd, buf, len); in unix_write() 138 #undef write 139 #define write ___xxx_write macro 364 return write(fd, buf, len); in adb_write() 366 #undef write 367 #define write ___xxx_write macro
|
D | transport_local.c | 195 #undef write 197 #define write adb_write macro 200 #undef write 202 #define write ___xxx_write macro
|
/system/extras/libublock/include/ublock/ |
D | ublock.h | 29 int (*write)(const char *buf, uint64_t length, uint64_t offset); member
|
/system/media/audio_utils/include/audio_utils/ |
D | echo_reference.h | 51 int (*write)(struct echo_reference_itfe *echo_reference, struct echo_reference_buffer *buffer); member
|
/system/core/libsysutils/src/ |
D | FrameworkClient.cpp | 24 ret = TEMP_FAILURE_RETRY(write(mSocket, msg, strlen(msg) +1)); in sendMsg()
|
/system/vold/ |
D | Xwarp.cpp | 75 if (write(fd, tmp, strlen(tmp)+1) < 0) { in doEnableDisable()
|