Home
last modified time | relevance | path

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

/system/core/debuggerd/client/
Ddebuggerd_client_test.cpp86 unique_fd pipe_read, pipe_write; in TEST() local
87 ASSERT_TRUE(Pipe(&pipe_read, &pipe_write)); in TEST()
94 debuggerd_trigger_dump(forkpid, kDebuggerdNativeBacktrace, 60000, std::move(pipe_write))); in TEST()
118 unique_fd pipe_read, pipe_write; in TEST() local
119 ASSERT_TRUE(Pipe(&pipe_read, &pipe_write)); in TEST()
124 pipe_write.reset(); in TEST()
Ddebuggerd_client.cpp178 unique_fd pipe_read, pipe_write; in debuggerd_trigger_dump() local
179 if (!Pipe(&pipe_read, &pipe_write)) { in debuggerd_trigger_dump()
199 ssize_t rc = SendFileDescriptors(sockfd, &req, sizeof(req), pipe_write.get()); in debuggerd_trigger_dump()
200 pipe_write.reset(); in debuggerd_trigger_dump()
/system/core/debuggerd/handler/
Ddebuggerd_fallback.cpp219 unique_fd pipe_read, pipe_write; in trace_handler() local
220 if (!Pipe(&pipe_read, &pipe_write)) { in trace_handler()
227 int sent_fd = pipe_write.release(); in trace_handler()
/system/vold/
DUtils.cpp708 android::base::unique_fd pipe_read, pipe_write; in ForkExecvp() local
709 if (!android::base::Pipe(&pipe_read, &pipe_write)) { in ForkExecvp()
723 if (dup2(pipe_write.get(), STDOUT_FILENO) == -1) { in ForkExecvp()
727 pipe_write.reset(); in ForkExecvp()
737 pipe_write.reset(); in ForkExecvp()