Searched refs:pipe_read (Results 1 – 6 of 6) sorted by relevance
/system/core/debuggerd/client/ |
D | debuggerd_client_test.cpp | 73 unique_fd pipe_read, pipe_write; in TEST() local 74 ASSERT_TRUE(Pipe(&pipe_read, &pipe_write)); in TEST() 78 ASSERT_EQ(PIPE_SIZE, fcntl(pipe_read.get(), F_SETPIPE_SZ, PIPE_SIZE)); in TEST() 90 ASSERT_TRUE(android::base::ReadFdToString(pipe_read.get(), &result)); in TEST() 108 unique_fd pipe_read, pipe_write; in TEST() local 109 ASSERT_TRUE(Pipe(&pipe_read, &pipe_write)); in TEST() 116 TEMP_FAILURE_RETRY(read(pipe_read.get(), &dummy, sizeof(dummy))); in TEST() 120 pipe_read.reset(); in TEST()
|
D | debuggerd_client.cpp | 180 unique_fd pipe_read, pipe_write; in debuggerd_trigger_dump() local 181 if (!Pipe(&pipe_read, &pipe_write)) { in debuggerd_trigger_dump() 196 if (fcntl(pipe_read.get(), F_SETPIPE_SZ, pipe_buffer_size) != pipe_buffer_size) { in debuggerd_trigger_dump() 266 .fd = pipe_read.get(), .events = POLLIN, .revents = 0, in debuggerd_trigger_dump() 283 rc = TEMP_FAILURE_RETRY(read(pipe_read.get(), buf, sizeof(buf))); in debuggerd_trigger_dump()
|
/system/core/debuggerd/handler/ |
D | debuggerd_fallback.cpp | 253 unique_fd pipe_read, pipe_write; in trace_handler() local 254 if (!Pipe(&pipe_read, &pipe_write)) { in trace_handler() 282 bool success = forward_output(pipe_read.get(), output_fd, tid); in trace_handler()
|
/system/core/adb/daemon/ |
D | services.cpp | 129 unique_fd pipe_read, pipe_write; in spin_service() local 130 if (!Pipe(&pipe_read, &pipe_write)) { in spin_service() 135 fdevent_run_on_main_thread([fd = pipe_read.release()]() { in spin_service()
|
/system/core/adb/ |
D | adb.cpp | 542 unique_handle pipe_read(pipe_read_raw); in _create_anonymous_pipe() local 547 if (!_make_handle_noninheritable(pipe_read.get())) { in _create_anonymous_pipe() 551 *pipe_read_out = std::move(pipe_read); in _create_anonymous_pipe() 904 unique_fd pipe_read, pipe_write; in launch_server() 905 if (!Pipe(&pipe_read, &pipe_write)) { in launch_server() 917 pipe_read.reset(); in launch_server() 935 int ret = adb_read(pipe_read.get(), temp, 3); in launch_server() 937 pipe_read.reset(); in launch_server()
|
/system/vold/ |
D | Utils.cpp | 348 android::base::unique_fd pipe_read, pipe_write; in ForkExecvp() local 349 if (!android::base::Pipe(&pipe_read, &pipe_write)) { in ForkExecvp() 362 pipe_read.reset(); in ForkExecvp() 378 auto st = ReadLinesFromFdAndLog(output, std::move(pipe_read)); in ForkExecvp()
|