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, 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()
Ddebuggerd_client.cpp131 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/
Ddebuggerd_fallback.cpp252 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/
Dservices.cpp131 unique_fd pipe_read, pipe_write; in spin_service() local
132 if (!Pipe(&pipe_read, &pipe_write)) { in spin_service()
/system/core/adb/
Dadb.cpp500 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/
DUtils.cpp346 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()