/system/extras/alloc-stress/ |
D | alloc-stress.cpp | 27 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/ |
D | PerfTest.h | 34 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;
|
D | Benchmark_throughput.cpp | 47 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 …]
|
D | PerfTest.cpp | 54 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()
|
D | Latency.cpp | 147 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/ |
D | TestHelpers.h | 24 class Pipe { 29 Pipe() { in Pipe() function 37 ~Pipe() { in ~Pipe()
|
D | Looper_test.cpp | 41 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/ |
D | looper_backed_event_loop_unittest.cpp | 34 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/ |
D | debuggerd_client_test.cpp | 74 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()
|
D | debuggerd_client.cpp | 117 if (!Pipe(&pipe_read, &pipe_write)) { in debuggerd_trigger_dump()
|
/system/core/debuggerd/ |
D | util.h | 46 bool Pipe(android::base::unique_fd* read, android::base::unique_fd* write);
|
D | debuggerd.cpp | 88 if (!Pipe(&piperead, &pipewrite)) { in main()
|
D | util.cpp | 90 bool Pipe(unique_fd* read, unique_fd* write) { in Pipe() function
|
D | debuggerd_test.cpp | 106 if (!Pipe(output_fd, &output_pipe_write)) { in tombstoned_intercept() 212 if (!Pipe(&crasher_read_pipe, &crasher_pipe)) { in StartProcess()
|
/system/extras/tests/sdcard/ |
D | testcase.h | 45 enum Pipe {READ_FROM_CHILD = 0, WRITE_TO_PARENT, READ_FROM_PARENT, WRITE_TO_CHILD}; enum
|
/system/core/debuggerd/handler/ |
D | debuggerd_fallback.cpp | 169 if (!Pipe(&pipe_read, &pipe_write)) { in trace_handler()
|