/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 | WorkDirectory.cpp | 397 status_t ReportFile::startFilteringData(int writeFd, const IncidentReportArgs& args) { in startFilteringData() argument 402 close(writeFd); in startFilteringData() 411 close(writeFd); in startFilteringData() 420 close(writeFd); in startFilteringData() 429 close(writeFd); in startFilteringData() 433 zipPid = fork_execute_cmd((char* const*)GZIP, zipPipe.readFd().release(), writeFd, &status); in startFilteringData() 434 close(writeFd); in startFilteringData() 439 writeFd = zipPipe.writeFd().release(); in startFilteringData() 446 write_header_section(writeFd, in startFilteringData() 452 write_section(writeFd, FIELD_ID_INCIDENT_METADATA, mEnvelope.metadata()); in startFilteringData() [all …]
|
D | incidentd_util.cpp | 89 unique_fd& Fpipe::writeFd() { return mWrite; } in writeFd() function in android::os::incidentd::Fpipe 96 fcntl(input->writeFd().get(), F_SETFD, FD_CLOEXEC); in fork_execute_cmd() 98 int out = output->writeFd().release(); in fork_execute_cmd()
|
D | Section.cpp | 126 status_t readStatus = buffer.readProcessedDataInStream(fd.get(), std::move(p2cPipe.writeFd()), in Execute() 209 fd.get(), std::move(p2cPipe.writeFd()), std::move(c2pPipe.readFd()), this->timeoutMs, in Execute() 276 status_t err = data->section->BlockingCall(data->pipe.writeFd()); in Execute() 283 data->pipe.writeFd().reset(); in Execute() 379 cmdPipe.writeFd().reset(); in Execute() 480 std::thread worker([write_fd = std::move(dumpPipe.writeFd()), service = std::move(service), in Execute() 807 is_java_process ? 5 : 20, dumpPipe.writeFd().get()); in BlockingCall() 815 dumpPipe.writeFd().reset(); in BlockingCall() 818 dumpPipe.writeFd().reset(); in BlockingCall()
|
D | incidentd_util.h | 73 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 | WorkDirectory.h | 145 status_t startFilteringData(int writeFd, const IncidentReportArgs& args);
|
D | IncidentService.cpp | 459 int writeFd = fds[1]; in getIncidentReport() local 461 thread th([file, writeFd, args]() { file->startFilteringData(writeFd, args); }); in getIncidentReport()
|
D | Reporter.cpp | 194 return mZipPid > 0 ? mZipPipe.writeFd().get() : mFd; in getFd()
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_CameraMetadata.cpp | 369 int writeFd; member 379 p->metadata->dump(p->writeFd, /*verbosity*/2); in CameraMetadata_writeMetadataThread() 381 if (close(p->writeFd) < 0) { in CameraMetadata_writeMetadataThread() 403 int writeFd, readFd; in CameraMetadata_dump() local 413 writeFd = sv[0]; in CameraMetadata_dump() 426 writeFd, in CameraMetadata_dump() 435 close(writeFd); in CameraMetadata_dump()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_pm_PackageManagerShellCommandDataLoader.cpp | 723 auto& writeFd = writeFds[fileIdx]; in receiver() local 724 if (writeFd < 0) { in receiver() 725 writeFd.reset(this->mIfs->openForSpecialOps(fileId).release()); in receiver() 726 if (writeFd < 0) { in receiver() 728 -writeFd); in receiver() 734 .fileFd = writeFd, in receiver()
|
/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/native/libs/binder/ndk/include_ndk/android/ |
D | binder_parcel_utils.h | 515 int writeFd = vector->at(index).get(); variable 516 if (writeFd < 0) { 519 return AParcel_writeParcelFileDescriptor(parcel, writeFd);
|
/frameworks/base/apex/statsd/service/java/com/android/server/stats/ |
D | StatsCompanionService.java | 192 final ParcelFileDescriptor writeFd = fds[1]; in informAllUids() local 193 FileOutputStream fout = new ParcelFileDescriptor.AutoCloseOutputStream(writeFd); in informAllUids()
|
/frameworks/base/services/incremental/ |
D | IncrementalService.cpp | 1603 const auto writeFd = mIncFs->openForSpecialOps(ifs->control, libFileId); in extractZipFile() local 1604 if (!writeFd.ok()) { in extractZipFile() 1605 LOG(ERROR) << "Failed to open write fd for: " << targetLibPath << " errno: " << writeFd; in extractZipFile() 1617 .fileFd = writeFd.get(), in extractZipFile()
|