Home
last modified time | relevance | path

Searched refs:pipe_write (Results 1 – 6 of 6) sorted by relevance

/system/core/debuggerd/client/
Ddebuggerd_client_test.cpp73 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, 60000, 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()
Ddebuggerd_client.cpp209 unique_fd pipe_read, pipe_write; in debuggerd_trigger_dump() local
210 if (!Pipe(&pipe_read, &pipe_write)) { in debuggerd_trigger_dump()
229 ssize_t rc = SendFileDescriptors(set_timeout(sockfd), &req, sizeof(req), pipe_write.get()); in debuggerd_trigger_dump()
230 pipe_write.reset(); in debuggerd_trigger_dump()
/system/core/debuggerd/handler/
Ddebuggerd_fallback.cpp253 unique_fd pipe_read, pipe_write; in trace_handler() local
254 if (!Pipe(&pipe_read, &pipe_write)) { in trace_handler()
261 int sent_fd = pipe_write.release(); in trace_handler()
/system/core/adb/
Dadb.cpp542 unique_handle pipe_write(pipe_write_raw); in _create_anonymous_pipe() local
550 *pipe_write_out = std::move(pipe_write); in _create_anonymous_pipe()
902 unique_fd pipe_read, pipe_write; in launch_server()
903 if (!Pipe(&pipe_read, &pipe_write)) { in launch_server()
919 fcntl(pipe_write.get(), F_SETFD, 0); in launch_server()
922 snprintf(reply_fd, sizeof(reply_fd), "%d", pipe_write.get()); in launch_server()
932 pipe_write.reset(); in launch_server()
/system/core/adb/daemon/
Dservices.cpp129 unique_fd pipe_read, pipe_write; in spin_service() local
130 if (!Pipe(&pipe_read, &pipe_write)) { in spin_service()
/system/vold/
DUtils.cpp702 android::base::unique_fd pipe_read, pipe_write; in ForkExecvp() local
703 if (!android::base::Pipe(&pipe_read, &pipe_write)) { in ForkExecvp()
717 if (dup2(pipe_write.get(), STDOUT_FILENO) == -1) { in ForkExecvp()
721 pipe_write.reset(); in ForkExecvp()
731 pipe_write.reset(); in ForkExecvp()