Home
last modified time | relevance | path

Searched refs:pipe_read (Results 1 – 4 of 4) 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()
78 ASSERT_EQ(PIPE_SIZE, fcntl(pipe_read.get(), F_SETPIPE_SZ, PIPE_SIZE)); in TEST()
90 ASSERT_TRUE(android::base::ReadFdToString(pipe_read.get(), &result)); in TEST()
108 unique_fd pipe_read, pipe_write; in TEST() local
109 ASSERT_TRUE(Pipe(&pipe_read, &pipe_write)); in TEST()
116 TEMP_FAILURE_RETRY(read(pipe_read.get(), &dummy, sizeof(dummy))); in TEST()
120 pipe_read.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()
196 if (fcntl(pipe_read.get(), F_SETPIPE_SZ, pipe_buffer_size) != pipe_buffer_size) { in debuggerd_trigger_dump()
266 .fd = pipe_read.get(), .events = POLLIN, .revents = 0, in debuggerd_trigger_dump()
283 rc = TEMP_FAILURE_RETRY(read(pipe_read.get(), buf, sizeof(buf))); in debuggerd_trigger_dump()
/system/core/debuggerd/handler/
Ddebuggerd_fallback.cpp258 unique_fd pipe_read, pipe_write; in trace_handler() local
259 if (!Pipe(&pipe_read, &pipe_write)) { in trace_handler()
287 bool success = forward_output(pipe_read.get(), output_fd, tid); 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()
722 pipe_read.reset(); in ForkExecvp()
738 auto st = ReadLinesFromFdAndLog(output, std::move(pipe_read)); in ForkExecvp()