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.cpp180 unique_fd pipe_read, pipe_write; in debuggerd_trigger_dump() local
181 if (!Pipe(&pipe_read, &pipe_write)) { in debuggerd_trigger_dump()
200 ssize_t rc = SendFileDescriptors(set_timeout(sockfd), &req, sizeof(req), pipe_write.get()); in debuggerd_trigger_dump()
201 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.cpp544 unique_handle pipe_write(pipe_write_raw); in _create_anonymous_pipe() local
552 *pipe_write_out = std::move(pipe_write); in _create_anonymous_pipe()
904 unique_fd pipe_read, pipe_write; in launch_server()
905 if (!Pipe(&pipe_read, &pipe_write)) { in launch_server()
921 fcntl(pipe_write.get(), F_SETFD, 0); in launch_server()
924 snprintf(reply_fd, sizeof(reply_fd), "%d", pipe_write.get()); in launch_server()
934 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.cpp348 android::base::unique_fd pipe_read, pipe_write; in ForkExecvp() local
349 if (!android::base::Pipe(&pipe_read, &pipe_write)) { in ForkExecvp()
363 if (dup2(pipe_write.get(), STDOUT_FILENO) == -1) { in ForkExecvp()
367 pipe_write.reset(); in ForkExecvp()
377 pipe_write.reset(); in ForkExecvp()