Home
last modified time | relevance | path

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

123456

/system/core/rootdir/
Dinit.usb.rc15 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 4EE7
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 …]
Dinit.rc15 write /proc/1/oom_score_adj -1000
41 write /sys/fs/cgroup/memory/memory.move_charge_at_immigrate 1
45 write /sys/fs/cgroup/memory/sw/memory.swappiness 100
46 write /sys/fs/cgroup/memory/sw/memory.move_charge_at_immigrate 1
77 mkdir /mnt/runtime/write 0755 root root
78 mkdir /mnt/runtime/write/self 0755 root root
88 write /proc/sys/kernel/panic_on_oops 1
89 write /proc/sys/kernel/hung_task_timeout_secs 0
90 write /proc/cpu/alignment 4
91 write /proc/sys/kernel/sched_latency_ns 10000000
[all …]
Dinit.zygote32.rc4 onrestart write /sys/android_power/request_state wake
5 onrestart write /sys/power/state on
Dinit.zygote64.rc4 onrestart write /sys/android_power/request_state wake
5 onrestart write /sys/power/state on
Dinit.zygote32_64.rc4 onrestart write /sys/android_power/request_state wake
5 onrestart write /sys/power/state on
Dinit.zygote64_32.rc4 onrestart write /sys/android_power/request_state wake
5 onrestart write /sys/power/state on
/system/core/adb/
Dqemu_tracing.cpp32 #undef write
34 #define write adb_write macro
37 #undef write
39 #define write ___xxx_write macro
Dsysdeps.h156 return write(fd, buf, len); in unix_write()
158 #undef write
159 #define write ___xxx_write macro
382 return TEMP_FAILURE_RETRY( write( fd, buf, len ) ); in adb_write()
384 #undef write
385 #define write ___xxx_write macro
Dtransport_local.cpp176 #undef write
178 #define write adb_write macro
181 #undef write
183 #define write ___xxx_write macro
/system/core/toolbox/upstream-netbsd/bin/dd/
Dmisc.c76 (void)write(STDERR_FILENO, "\n", 1); in summary()
102 (void)write(STDERR_FILENO, "\n", 1); in posix_summary()
114 (void)write(STDERR_FILENO, buf, strlen(buf)); in posix_summary()
119 (void)write(STDERR_FILENO, buf, strlen(buf)); in posix_summary()
125 (void)write(STDERR_FILENO, buf, strlen(buf)); in posix_summary()
131 (void)write(STDERR_FILENO, buf, strlen(buf)); in posix_summary()
139 (void)write(STDERR_FILENO, buf, strlen(buf)); in posix_summary()
177 (void)write(STDERR_FILENO, wbuf, cnt); in buffer_write()
183 (void)write(STDERR_FILENO, wbuf, cnt); in buffer_write()
/system/core/libsparse/
Doutput_file.c66 int (*write)(struct output_file *, void *, int); member
112 int (*write)(void *priv, const void *buf, int len); member
157 ret = write(outn->fd, data, len); in file_write()
180 .write = file_write,
264 .write = gz_file_write,
281 ret = outc->write(outc->priv, NULL, to_write); in callback_file_skip()
300 return outc->write(outc->priv, data, len); in callback_file_write()
314 .write = callback_file_write,
356 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_skip_chunk()
381 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_fill_chunk()
[all …]
/system/core/libcutils/
Dtrace-dev.c200 write(atrace_marker_fd, buf, len); in atrace_begin_body()
211 write(atrace_marker_fd, buf, len); in atrace_async_begin_body()
221 write(atrace_marker_fd, buf, len); in atrace_async_end_body()
231 write(atrace_marker_fd, buf, len); in atrace_int_body()
241 write(atrace_marker_fd, buf, len); in atrace_int64_body()
Ddebugger.c34 if (TEMP_FAILURE_RETRY(write(sock_fd, msg_ptr, msg_len)) != (ssize_t) msg_len) { in send_request()
93 if (TEMP_FAILURE_RETRY(write(fd, buffer, n)) != n) { in dump_backtrace_to_file_timeout()
/system/bt/hci/test/
Dhci_hal_h4_test.cpp190 write(fd, &first_byte, 1);
191 write(fd, data, strlen(data));
195 write(fd, &first_byte, 1);
199 write(fd, &data[i], 1);
248 write(sockfd[1], &byte, 1);
/system/extras/tests/sdcard/
DREADME37 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 -…
/system/core/libsuspend/
Dautosuspend_autosleep.c43 ret = TEMP_FAILURE_RETRY(write(autosleep_fd, sleep_state, strlen(sleep_state))); in autosuspend_autosleep_enable()
65 ret = TEMP_FAILURE_RETRY(write(autosleep_fd, on_state, strlen(on_state))); in autosuspend_autosleep_disable()
Dautosuspend_earlysuspend.c103 ret = write(sPowerStatefd, pwr_state_mem, strlen(pwr_state_mem)); in autosuspend_earlysuspend_enable()
133 ret = TEMP_FAILURE_RETRY(write(sPowerStatefd, pwr_state_on, strlen(pwr_state_on))); in autosuspend_earlysuspend_disable()
202 ret = TEMP_FAILURE_RETRY(write(sPowerStatefd, "on", 2)); in autosuspend_earlysuspend_init()
/system/extras/sound/
Dplaywav.c75 if (write(afd, buf, sz) != sz) in pcm_play()
89 if (write(afd, buf, sz) != sz) in pcm_play()
222 write(fd, &hdr, sizeof(hdr)); in wav_rec()
272 if (write(fd, buf, sz) != sz) { in wav_rec()
286 write(fd, &hdr, sizeof(hdr)); in wav_rec()
322 r = write(afd, buf, r); in mp3_play()
/system/core/mkbootimg/
Dmkbootimg.c98 if(write(fd, padding, count) != count) { in write_padding()
266 if(write(fd, &hdr, sizeof(hdr)) != sizeof(hdr)) goto fail; in main()
269 if(write(fd, kernel_data, hdr.kernel_size) != (ssize_t) hdr.kernel_size) goto fail; in main()
272 if(write(fd, ramdisk_data, hdr.ramdisk_size) != (ssize_t) hdr.ramdisk_size) goto fail; in main()
276 if(write(fd, second_data, hdr.second_size) != (ssize_t) hdr.second_size) goto fail; in main()
/system/core/logwrapper/
Dlogwrap.c80 int write; member
148 cnt = MIN(line_len, e_buf->buf_size - e_buf->write); in add_line_to_circular_buf()
149 memcpy(e_buf->buf + e_buf->write, line, cnt); in add_line_to_circular_buf()
154 e_buf->write = (e_buf->write + line_len) % e_buf->buf_size; in add_line_to_circular_buf()
271 if (a_buf->e_buf.read < a_buf->e_buf.write) { in print_abbr_buf()
287 memcpy(nbuf + first_chunk_len, a_buf->e_buf.buf, a_buf->e_buf.write); in print_abbr_buf()
288 print_buf_lines(log_info, nbuf, first_chunk_len + a_buf->e_buf.write); in print_abbr_buf()
/system/bt/osi/test/
Deager_reader_test.cpp129 write(pipefd[1], small_data, strlen(small_data)); in TEST_F()
142 write(pipefd[1], large_data, strlen(large_data)); in TEST_F()
/system/extras/verity/
Dbuild_verity_metadata.py33 table_file.write(table)
62 f.write(metadata_block)
/system/extras/tests/mmc_tracepoints/
DREADME16 read or write ops, and the ones with erase in the name are the various erase
25 It includes read, write and discard entries. The discard entries came from
/system/extras/tests/fstest/
Drecovery_test.cpp58 ASSERT_EQ(write(write_fd, "TEST", 4), 4); in verify_write()
121 if (write(blk_fd, &sb, sizeof(sb)) != sizeof(sb)) { in setSbErrorBit()
176 if (write(blk_fd, &gd, sizeof(gd)) != sizeof(gd)) { in corruptGdtFreeBlock()
/system/core/healthd/
DBatteryMonitor.cpp347 write(fd, vs, strlen(vs)); in dumpState()
350 write(fd, vs, strlen(vs)); in dumpState()
354 write(fd, vs, strlen(vs)); in dumpState()
359 write(fd, vs, strlen(vs)); in dumpState()
365 write(fd, vs, strlen(vs)); in dumpState()
371 write(fd, vs, strlen(vs)); in dumpState()

123456