Searched refs:pipe_write (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() 84 debuggerd_trigger_dump(forkpid, kDebuggerdNativeBacktrace, 10000, std::move(pipe_write))); in TEST() 108 unique_fd pipe_read, pipe_write; in TEST() local 109 ASSERT_TRUE(Pipe(&pipe_read, &pipe_write)); in TEST() 114 pipe_write.reset(); in TEST()
|
D | debuggerd_client.cpp | 131 unique_fd pipe_read, pipe_write; in debuggerd_trigger_dump() local 132 if (!Pipe(&pipe_read, &pipe_write)) { in debuggerd_trigger_dump() 151 ssize_t rc = SendFileDescriptors(set_timeout(sockfd), &req, sizeof(req), pipe_write.get()); in debuggerd_trigger_dump() 152 pipe_write.reset(); in debuggerd_trigger_dump()
|
/system/core/debuggerd/handler/ |
D | debuggerd_fallback.cpp | 252 unique_fd pipe_read, pipe_write; in trace_handler() local 253 if (!Pipe(&pipe_read, &pipe_write)) { in trace_handler() 260 int sent_fd = pipe_write.release(); in trace_handler()
|
/system/core/adb/daemon/ |
D | services.cpp | 131 unique_fd pipe_read, pipe_write; in spin_service() local 132 if (!Pipe(&pipe_read, &pipe_write)) { in spin_service()
|
/system/core/adb/ |
D | adb.cpp | 500 unique_handle pipe_write(pipe_write_raw); in _create_anonymous_pipe() local 508 *pipe_write_out = std::move(pipe_write); in _create_anonymous_pipe() 860 unique_fd pipe_read, pipe_write; in launch_server() 861 if (!Pipe(&pipe_read, &pipe_write)) { in launch_server() 877 fcntl(pipe_write.get(), F_SETFD, 0); in launch_server() 880 snprintf(reply_fd, sizeof(reply_fd), "%d", pipe_write.get()); in launch_server() 890 pipe_write.reset(); in launch_server()
|
/system/vold/ |
D | Utils.cpp | 346 android::base::unique_fd pipe_read, pipe_write; in ForkExecvp() local 347 if (!android::base::Pipe(&pipe_read, &pipe_write)) { in ForkExecvp() 361 if (dup2(pipe_write.get(), STDOUT_FILENO) == -1) { in ForkExecvp() 365 pipe_write.reset(); in ForkExecvp() 375 pipe_write.reset(); in ForkExecvp()
|