Home
last modified time | relevance | path

Searched refs:readFd (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/cmds/incidentd/tests/
DFdBuffer_test.cpp129 c2pPipe.readFd().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()
158 ASSERT_TRUE(DoDataStream(p2cPipe.readFd(), c2pPipe.writeFd())); in TEST_F()
159 p2cPipe.readFd().reset(); in TEST_F()
164 p2cPipe.readFd().reset(); in TEST_F()
169 std::move(c2pPipe.readFd()), READ_TIMEOUT)); in TEST_F()
186 c2pPipe.readFd().reset(); in TEST_F()
189 ASSERT_TRUE(ReadFdToString(p2cPipe.readFd(), &data)); in TEST_F()
192 p2cPipe.readFd().reset(); in TEST_F()
[all …]
/frameworks/base/cmds/incidentd/src/
Dincidentd_util.cpp87 unique_fd& Fpipe::readFd() { return mRead; } in readFd() function in android::os::incidentd::Fpipe
94 in = input->readFd().release(); in fork_execute_cmd()
100 fcntl(output->readFd().get(), F_SETFD, FD_CLOEXEC); in fork_execute_cmd()
DSection.cpp126 std::move(c2pPipe.readFd()), in Execute()
208 fd.get(), std::move(p2cPipe.writeFd()), std::move(c2pPipe.readFd()), this->timeoutMs, in Execute()
291 err = buffer.read(data->pipe.readFd().get(), this->timeoutMs); in Execute()
380 status_t readStatus = buffer.read(ihPipe.readFd().get(), this->timeoutMs); in Execute()
503 status_t readStatus = buffer.read(dumpPipe.readFd(), this->timeoutMs); in Execute()
504 dumpPipe.readFd().reset(); in Execute()
803 dumpPipe.readFd().reset(); in BlockingCall()
821 err = buffer.readFully(dumpPipe.readFd().get()); in BlockingCall()
826 dumpPipe.readFd().reset(); in BlockingCall()
852 dumpPipe.readFd().reset(); in BlockingCall()
Dincidentd_util.h72 unique_fd& readFd();
DBroadcaster.cpp401 int readFd = fds[0]; in send_to_dropbox() local
410 Status status = dropbox->addFile(String16("incident"), readFd, 0); in send_to_dropbox()
DReporter.cpp207 pid_t pid = fork_execute_cmd((char* const*)GZIP, mZipPipe.readFd().release(), mFd, &status); in initGzipIfNecessary()
DWorkDirectory.cpp437 zipPid = fork_execute_cmd((char* const*)GZIP, zipPipe.readFd().release(), writeFd, &status); in startFilteringData()
/frameworks/base/core/java/com/android/internal/os/
DTransferPipe.java253 ParcelFileDescriptor readFd = getReadFd(); in run() local
254 if (readFd == null) { in run()
258 fis = new FileInputStream(readFd.getFileDescriptor()); in run()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_CameraMetadata.cpp463 int writeFd, readFd; in CameraMetadata_dump() local
474 readFd = sv[1]; in CameraMetadata_dump()
496 close(readFd); in CameraMetadata_dump()
515 while ((res = TEMP_FAILURE_RETRY(read(readFd, &out[0], /*count*/1))) > 0) { in CameraMetadata_dump()
533 close(readFd); in CameraMetadata_dump()
/frameworks/native/libs/binder/tests/
DbinderThroughputTest.cpp55 Pipe(int readFd, int writeFd) : m_readFd{readFd}, m_writeFd{writeFd} {} in Pipe() argument
Dschd-dbg.cpp154 Pipe(int readFd, int writeFd) : m_readFd{readFd}, m_writeFd{writeFd} { in Pipe() argument
/frameworks/native/libs/binder/ndk/include_cpp/android/
Dbinder_parcel_utils.h350 int readFd;
351 binder_status_t status = AParcel_readParcelFileDescriptor(parcel, &readFd);
353 fd->set(readFd);
375 int readFd;
376 binder_status_t status = AParcel_readParcelFileDescriptor(parcel, &readFd);
378 if (readFd < 0) {
381 fd->set(readFd);
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java4846 ParcelFileDescriptor readFd; in uploadCallComposerPicture() local
4850 readFd = pipe[0]; in uploadCallComposerPicture()
4861 contentType, readFd, new ResultReceiver(null) { in uploadCallComposerPicture() local