Lines Matching refs:c2pPipe
42 ASSERT_NE(c2pPipe.init(), -1); in SetUp()
80 Fpipe c2pPipe; member in FdBufferTest
129 c2pPipe.readFd().reset(); in TEST_F()
131 write(c2pPipe.writeFd(), "poo", 3); in TEST_F()
136 c2pPipe.writeFd().reset(); in TEST_F()
138 status_t status = buffer.read(c2pPipe.readFd().get(), QUICK_TIMEOUT_MS); in TEST_F()
156 c2pPipe.readFd().reset(); in TEST_F()
157 ASSERT_TRUE(WriteStringToFd(HEAD, c2pPipe.writeFd())); in TEST_F()
158 ASSERT_TRUE(DoDataStream(p2cPipe.readFd(), c2pPipe.writeFd())); in TEST_F()
160 c2pPipe.writeFd().reset(); in TEST_F()
165 c2pPipe.writeFd().reset(); in TEST_F()
169 std::move(c2pPipe.readFd()), READ_TIMEOUT)); in TEST_F()
186 c2pPipe.readFd().reset(); in TEST_F()
191 ASSERT_TRUE(WriteStringToFd(data, c2pPipe.writeFd())); in TEST_F()
193 c2pPipe.writeFd().reset(); in TEST_F()
198 c2pPipe.writeFd().reset(); in TEST_F()
202 std::move(c2pPipe.readFd()), READ_TIMEOUT)); in TEST_F()
217 c2pPipe.readFd().reset(); in TEST_F()
218 ASSERT_TRUE(DoDataStream(p2cPipe.readFd(), c2pPipe.writeFd())); in TEST_F()
220 c2pPipe.writeFd().reset(); in TEST_F()
224 c2pPipe.writeFd().reset(); in TEST_F()
228 std::move(c2pPipe.readFd()), READ_TIMEOUT)); in TEST_F()
245 c2pPipe.readFd().reset(); in TEST_F()
246 ASSERT_TRUE(DoDataStream(p2cPipe.readFd(), c2pPipe.writeFd())); in TEST_F()
248 c2pPipe.writeFd().reset(); in TEST_F()
252 c2pPipe.writeFd().reset(); in TEST_F()
256 std::move(c2pPipe.readFd()), READ_TIMEOUT)); in TEST_F()
279 c2pPipe.readFd().reset(); in TEST_F()
280 ASSERT_TRUE(DoDataStream(p2cPipe.readFd(), c2pPipe.writeFd())); in TEST_F()
282 c2pPipe.writeFd().reset(); in TEST_F()
286 c2pPipe.writeFd().reset(); in TEST_F()
290 std::move(c2pPipe.readFd()), READ_TIMEOUT)); in TEST_F()
313 c2pPipe.readFd().reset(); in TEST_F()
320 c2pPipe.writeFd().reset(); in TEST_F()
324 std::move(c2pPipe.readFd()), QUICK_TIMEOUT_MS)); in TEST_F()