Home
last modified time | relevance | path

Searched refs:Pipe (Results 1 – 16 of 16) sorted by relevance

/system/extras/alloc-stress/
Dalloc-stress.cpp27 class Pipe { class
30 Pipe(const Pipe &) = delete;
31 Pipe& operator=(const Pipe &) = delete;
32 Pipe& operator=(const Pipe &&) = delete;
34 Pipe(int readFd, int writeFd) : m_readFd{readFd}, m_writeFd{writeFd} { in Pipe() function in Pipe
38 Pipe(Pipe&& rval) noexcept { in Pipe() function in Pipe
44 ~Pipe() { in ~Pipe()
88 static Pipe makePipeFromFds(int readFd, int writeFd) { in makePipeFromFds()
89 return Pipe(readFd, writeFd); in makePipeFromFds()
91 static tuple<Pipe, Pipe> createPipePair() { in createPipePair()
[all …]
/system/libhwbinder/vts/performance/
DPerfTest.h34 class Pipe {
36 static tuple<Pipe, Pipe> createPipePair();
37 Pipe(Pipe&& rval);
38 ~Pipe();
62 Pipe(int read_fd, int write_fd) : fd_read_{read_fd}, fd_write_{write_fd} {} in Pipe() function
63 Pipe(const Pipe&) = delete;
64 Pipe& operator=(const Pipe&) = delete;
65 Pipe& operator=(const Pipe&&) = delete;
DBenchmark_throughput.cpp47 class Pipe { class
50 Pipe(int readFd, int writeFd) in Pipe() function in Pipe
53 Pipe(const Pipe &) = delete;
54 Pipe& operator=(const Pipe &) = delete;
55 Pipe& operator=(const Pipe &&) = delete;
57 Pipe(Pipe&& rval) noexcept { in Pipe() function in Pipe
63 ~Pipe() { in ~Pipe()
87 static tuple<Pipe, Pipe> createPipePair() { in createPipePair()
96 return make_tuple(Pipe(a[0], b[1]), Pipe(b[0], a[1])); in createPipePair()
178 void service_fx(const string &serviceName, Pipe p) { in service_fx()
[all …]
DPerfTest.cpp54 tuple<Pipe, Pipe> Pipe::createPipePair() { in createPipePair()
63 return make_tuple(Pipe(a[0], b[1]), Pipe(b[0], a[1])); in createPipePair()
66 Pipe::Pipe(Pipe&& rval) noexcept { in Pipe() function in Pipe
73 Pipe::~Pipe() { in ~Pipe()
DLatency.cpp147 static void serviceFx(const string& serviceName, Pipe p) { in serviceFx()
160 static Pipe makeServiceProces(string service_name) { in makeServiceProces()
161 auto pipe_pair = Pipe::createPipePair(); in makeServiceProces()
176 static void clientFx(int num, int server_count, int iterations, Pipe p) { in clientFx()
239 static Pipe makeClientProcess(int num, int iterations, int no_pair) { in makeClientProcess()
240 auto pipe_pair = Pipe::createPipePair(); in makeClientProcess()
255 static void waitAll(vector<Pipe>& v) { in waitAll()
261 static void signalAll(vector<Pipe>& v) { in signalAll()
287 vector<Pipe> client_pipes; in main()
288 vector<Pipe> service_pipes; in main()
/system/core/libutils/tests/
DTestHelpers.h24 class Pipe {
29 Pipe() { in Pipe() function
37 ~Pipe() { in ~Pipe()
DLooper_test.cpp41 Pipe* mPipe;
44 DelayedWriteSignal(int delayMillis, Pipe* pipe) : in DelayedWriteSignal()
165 Pipe pipe; in TEST_F()
183 Pipe pipe; in TEST_F()
206 Pipe pipe; in TEST_F()
224 Pipe pipe; in TEST_F()
249 Pipe pipe; in TEST_F()
275 Pipe pipe; in TEST_F()
297 Pipe pipe; in TEST_F()
339 Pipe pipe; in TEST_F()
[all …]
/system/connectivity/wificond/tests/
Dlooper_backed_event_loop_unittest.cpp34 class Pipe { class
39 Pipe() { in Pipe() function in __anon7ca5aad80111::Pipe
108 Pipe pipe; in TEST_F()
125 Pipe pipe; in TEST_F()
140 Pipe pipe; in TEST_F()
/system/core/debuggerd/client/
Ddebuggerd_client_test.cpp74 ASSERT_TRUE(Pipe(&pipe_read, &pipe_write)); in TEST()
109 ASSERT_TRUE(Pipe(&pipe_read, &pipe_write)); in TEST()
123 ASSERT_TRUE(Pipe(&output_read, &output_write)); in TEST()
Ddebuggerd_client.cpp117 if (!Pipe(&pipe_read, &pipe_write)) { in debuggerd_trigger_dump()
/system/core/debuggerd/
Dutil.h46 bool Pipe(android::base::unique_fd* read, android::base::unique_fd* write);
Ddebuggerd.cpp88 if (!Pipe(&piperead, &pipewrite)) { in main()
Dutil.cpp90 bool Pipe(unique_fd* read, unique_fd* write) { in Pipe() function
Ddebuggerd_test.cpp106 if (!Pipe(output_fd, &output_pipe_write)) { in tombstoned_intercept()
212 if (!Pipe(&crasher_read_pipe, &crasher_pipe)) { in StartProcess()
/system/extras/tests/sdcard/
Dtestcase.h45 enum Pipe {READ_FROM_CHILD = 0, WRITE_TO_PARENT, READ_FROM_PARENT, WRITE_TO_CHILD}; enum
/system/core/debuggerd/handler/
Ddebuggerd_fallback.cpp169 if (!Pipe(&pipe_read, &pipe_write)) { in trace_handler()