Searched refs:pipe (Results 1 - 8 of 8) sorted by relevance

/system/core/libutils/tests/
H A DLooper_test.cpp44 DelayedWriteSignal(int delayMillis, Pipe* pipe) : argument
45 DelayedTask(delayMillis), mPipe(pipe) {
165 Pipe pipe; local
168 handler.setCallback(mLooper, pipe.receiveFd, Looper::EVENT_INPUT);
183 Pipe pipe; local
186 ASSERT_EQ(OK, pipe.writeSignal());
187 handler.setCallback(mLooper, pipe.receiveFd, Looper::EVENT_INPUT);
199 EXPECT_EQ(pipe.receiveFd, handler.fd)
200 << "callback should have received pipe fd as parameter";
206 Pipe pipe; local
224 Pipe pipe; local
249 Pipe pipe; local
275 Pipe pipe; local
297 Pipe pipe; local
339 Pipe pipe; local
366 Pipe pipe; local
374 Pipe pipe; local
382 Pipe pipe; local
398 Pipe pipe; local
416 Pipe pipe; local
[all...]
H A DTestHelpers.h31 ::pipe(fds);
/system/extras/tests/sdcard/
H A Dtestcase.cpp57 if (pipe(mIpc) < 0)
59 fprintf(stderr, "pipe failed\n");
62 if (pipe(mIpc + 2) < 0)
64 fprintf(stderr, "pipe failed\n");
/system/bt/osi/test/
H A Deager_reader_test.cpp75 pipe(pipefd);
/system/core/debuggerd/
H A Dcrasher.c162 pipe(pipe_fds);
/system/netd/server/
H A DTetherController.cpp136 if (pipe(pipefd) < 0) {
137 ALOGE("pipe failed (%s)", strerror(errno));
170 // TODO: pipe through metered status from ConnService
/system/core/libsysutils/src/
H A DSocketListener.cpp98 if (pipe(mCtrlPipe)) {
99 SLOGE("pipe failed (%s)", strerror(errno));
117 SLOGE("Error writing to control pipe (%s)", strerror(errno));
/system/core/adb/
H A Dadb.cpp543 /* message since the pipe handles must be inheritable, we use a */
557 /* create pipe, and ensure its read handle isn't inheritable */
644 // set up a pipe so the child can tell us when it is ready.
646 if (pipe(fd)) {
647 fprintf(stderr, "pipe failed in launch_server, errno: %d\n", errno);
657 // redirect stderr to the pipe

Completed in 293 milliseconds