Searched refs:writeFd (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/cmds/incidentd/tests/ |
D | FdBuffer_test.cpp | 123 write(c2pPipe.writeFd(), "poo", 3); in TEST_F() 128 c2pPipe.writeFd().reset(); in TEST_F() 147 p2cPipe.writeFd().reset(); in TEST_F() 149 ASSERT_TRUE(WriteStringToFd(HEAD, c2pPipe.writeFd())); in TEST_F() 150 ASSERT_TRUE(DoDataStream(p2cPipe.readFd(), c2pPipe.writeFd())); in TEST_F() 152 c2pPipe.writeFd().reset(); in TEST_F() 157 c2pPipe.writeFd().reset(); in TEST_F() 160 buffer.readProcessedDataInStream(tf.fd, std::move(p2cPipe.writeFd()), in TEST_F() 177 p2cPipe.writeFd().reset(); in TEST_F() 183 ASSERT_TRUE(WriteStringToFd(data, c2pPipe.writeFd())); in TEST_F() [all …]
|
/frameworks/base/cmds/incidentd/src/ |
D | incidentd_util.cpp | 65 unique_fd& Fpipe::writeFd() { return mWrite; } in writeFd() function in android::os::incidentd::Fpipe 77 if (TEMP_FAILURE_RETRY(dup2(output->writeFd().get(), STDOUT_FILENO)) < 0 || in fork_execute_cmd() 89 output->writeFd().reset(); in fork_execute_cmd()
|
D | incidentd_util.h | 51 unique_fd& writeFd();
|
D | Section.cpp | 277 status_t readStatus = buffer.readProcessedDataInStream(fd.get(), std::move(p2cPipe.writeFd()), in Execute() 371 fd.get(), std::move(p2cPipe.writeFd()), std::move(c2pPipe.readFd()), this->timeoutMs, in Execute() 430 status_t err = data->section->BlockingCall(data->pipe.writeFd().get()); in worker_thread_func() 438 data->pipe.writeFd().reset(); in worker_thread_func() 588 cmdPipe.writeFd().reset(); in Execute() 894 is_java_process ? 5 : 20, dumpPipe.writeFd().get()); in BlockingCall() 902 dumpPipe.writeFd().reset(); in BlockingCall() 905 dumpPipe.writeFd().reset(); in BlockingCall()
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_CameraMetadata.cpp | 378 int writeFd; member 388 p->metadata->dump(p->writeFd, /*verbosity*/2); in CameraMetadata_writeMetadataThread() 390 if (close(p->writeFd) < 0) { in CameraMetadata_writeMetadataThread() 412 int writeFd, readFd; in CameraMetadata_dump() local 422 writeFd = sv[0]; in CameraMetadata_dump() 435 writeFd, in CameraMetadata_dump() 444 close(writeFd); in CameraMetadata_dump()
|
/frameworks/native/libs/binder/tests/ |
D | binderThroughputTest.cpp | 55 Pipe(int readFd, int writeFd) : m_readFd{readFd}, m_writeFd{writeFd} {} in Pipe() argument
|
D | schd-dbg.cpp | 154 Pipe(int readFd, int writeFd) : m_readFd{readFd}, m_writeFd{writeFd} { in Pipe() argument
|