/frameworks/base/cmds/incidentd/tests/ |
D | FdBuffer_test.cpp | 131 write(c2pPipe.writeFd(), "poo", 3); in TEST_F() 136 c2pPipe.writeFd().reset(); in TEST_F() 155 p2cPipe.writeFd().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() 168 buffer.readProcessedDataInStream(tf.fd, std::move(p2cPipe.writeFd()), in TEST_F() 185 p2cPipe.writeFd().reset(); in TEST_F() 191 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 76 if (TEMP_FAILURE_RETRY(dup2(output->writeFd().get(), STDOUT_FILENO)) < 0 || in fork_execute_cmd() 88 output->writeFd().reset(); in fork_execute_cmd()
|
D | WorkDirectory.cpp | 393 status_t ReportFile::startFilteringData(int writeFd, const IncidentReportArgs& args) { in startFilteringData() argument 398 close(writeFd); in startFilteringData() 407 close(writeFd); in startFilteringData() 416 close(writeFd); in startFilteringData() 424 write_header_section(writeFd, in startFilteringData() 430 write_section(writeFd, FIELD_ID_INCIDENT_METADATA, mEnvelope.metadata()); in startFilteringData() 433 err = filter_and_write_report(writeFd, dataFd, mEnvelope.privacy_policy(), args); in startFilteringData() 439 close(writeFd); in startFilteringData()
|
D | Section.cpp | 124 status_t readStatus = buffer.readProcessedDataInStream(fd.get(), std::move(p2cPipe.writeFd()), in Execute() 207 fd.get(), std::move(p2cPipe.writeFd()), std::move(c2pPipe.readFd()), this->timeoutMs, in Execute() 270 status_t err = data->section->BlockingCall(data->pipe.writeFd().get()); in worker_thread_func() 278 data->pipe.writeFd().reset(); in worker_thread_func() 414 cmdPipe.writeFd().reset(); in Execute() 711 is_java_process ? 5 : 20, dumpPipe.writeFd().get()); in BlockingCall() 719 dumpPipe.writeFd().reset(); in BlockingCall() 722 dumpPipe.writeFd().reset(); in BlockingCall()
|
D | incidentd_util.h | 51 unique_fd& writeFd();
|
D | Broadcaster.cpp | 402 int writeFd = fds[1]; in send_to_dropbox() local 405 thread th([file, writeFd, args]() { file->startFilteringData(writeFd, args); }); in send_to_dropbox()
|
D | IncidentService.cpp | 377 int writeFd = fds[1]; in getIncidentReport() local 379 thread th([file, writeFd, args]() { file->startFilteringData(writeFd, args); }); in getIncidentReport()
|
D | WorkDirectory.h | 145 status_t startFilteringData(int writeFd, const IncidentReportArgs& args);
|
/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
|
/frameworks/base/services/core/java/com/android/server/stats/ |
D | StatsCompanionService.java | 485 final ParcelFileDescriptor writeFd = fds[1]; in informAllUidsLocked() local 487 FileOutputStream fout = new ParcelFileDescriptor.AutoCloseOutputStream(writeFd); in informAllUidsLocked()
|