Home
last modified time | relevance | path

Searched refs:writeFileDescriptor (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/native/libs/vr/libpdx_uds/
Dchannel_parcelable.cpp52 res = parcel->writeFileDescriptor(data_fd_.Get()); in writeToParcel()
59 res = parcel->writeFileDescriptor(pollin_event_fd_.Get()); in writeToParcel()
68 res = parcel->writeFileDescriptor(pollhup_event_fd_.Get()); in writeToParcel()
/frameworks/native/libs/binder/tests/
DbinderParcelUnitTest.cpp105 p.writeFileDescriptor(STDOUT_FILENO, false /*takeOwnership*/); in TEST()
107 p.writeFileDescriptor(STDIN_FILENO, false /*takeOwnership*/); in TEST()
264 p1.writeFileDescriptor(fd1.get()); // without ownership in TEST()
268 p2.writeFileDescriptor(fd2.get()); // without ownership in TEST()
294 p1.writeFileDescriptor(fd1.get()); // without ownership in TEST()
298 p2.writeFileDescriptor(fd2.get()); // without ownership in TEST()
413 ASSERT_EQ(OK, p.writeFileDescriptor(fd, true /* take ownership */)); in TEST()
DbinderLibTest.cpp855 EXPECT_THAT(data.writeFileDescriptor(pipefd[1], true), StatusEq(NO_ERROR)); in TEST_F()
1271 data.writeFileDescriptor(0); in TEST_F()
1302 data.writeFileDescriptor(0); in TEST_F()
DbinderRpcTest.cpp1057 EXPECT_EQ(OK, p1.writeFileDescriptor(badFd, false)); in TEST_P()
/frameworks/native/libs/binder/tests/parcel_fuzzer/
Drandom_parcel.cpp81 CHECK(OK == p->writeFileDescriptor(fd.get(), false /*takeOwnership*/)); in fillRandomParcel()
90 p->writeFileDescriptor(fds.begin()->release(), in fillRandomParcel()
/frameworks/native/cmds/service/
Dservice.cpp193 data.writeFileDescriptor(fd, true /* take ownership */); in main()
217 data.writeFileDescriptor(afd, true /* take ownership */); in main()
227 data.writeFileDescriptor( in main()
/frameworks/base/core/java/android/os/
DBinderProxy.java658 data.writeFileDescriptor(fd); in dump()
679 data.writeFileDescriptor(fd); in dumpAsync()
706 data.writeFileDescriptor(in); in shellCommand()
707 data.writeFileDescriptor(out); in shellCommand()
708 data.writeFileDescriptor(err); in shellCommand()
DSharedMemory.java294 dest.writeFileDescriptor(mFileDescriptor); in writeToParcel()
DParcelFileDescriptor.java1158 out.writeFileDescriptor(mFd); in writeToParcel()
1159 out.writeFileDescriptor(mCommFd); in writeToParcel()
1162 out.writeFileDescriptor(mFd); in writeToParcel()
/frameworks/av/camera/tests/fuzzer/
Dcamera2common.h74 CHECK(OK == parcel->writeFileDescriptor(fd.get(), false /*takeOwnership*/)); in randomizeParcel()
82 CHECK(OK == parcel->writeFileDescriptor(fds.begin()->release(), in randomizeParcel()
/frameworks/av/media/libmedia/include/media/
DOMXFenceParcelable.h91 err = parcel->writeFileDescriptor(mFenceFd, true /* takeOwnership */); in writeToParcel()
/frameworks/native/libs/binder/
DBinder.cpp115 send.writeFileDescriptor(in); in shellCommand()
116 send.writeFileDescriptor(out); in shellCommand()
117 send.writeFileDescriptor(err); in shellCommand()
196 status = data.writeFileDescriptor(socketFd.release(), true /* own */); in setRpcClientDebug()
DIMemory.cpp407 reply->writeFileDescriptor(getHeapID()); in onTransact()
DBpBinder.cpp351 send.writeFileDescriptor(fd); in dump()
DParcel.cpp1579 status_t Parcel::writeFileDescriptor(int fd, bool takeOwnership) { in writeFileDescriptor() function in android::Parcel
1638 status_t err = writeFileDescriptor(dupFd, true /*takeOwnership*/); in writeDupFileDescriptor()
1648 return writeFileDescriptor(fd, takeOwnership); in writeParcelFileDescriptor()
1715 status = writeFileDescriptor(fd, true /*takeOwnership*/); in writeBlob()
/frameworks/base/core/java/android/hardware/
DSyncFence.java307 out.writeFileDescriptor(temp); in writeToParcel()
/frameworks/av/media/libmedia/
DIOMX.cpp304 data.writeFileDescriptor(fenceFd, true /* takeOwnership */); in fillBuffer()
325 data.writeFileDescriptor(fenceFd, true /* takeOwnership */); in emptyBuffer()
356 data.writeFileDescriptor(msg.fenceFd, true /* takeOwnership */); in dispatchMessage()
845 data.writeFileDescriptor(msg.fenceFd, true /* takeOwnership */); in onMessages()
DIMediaRecorder.cpp221 data.writeFileDescriptor(fd); in setOutputFile()
230 data.writeFileDescriptor(fd); in setNextOutputFile()
DIMediaMetadataRetriever.cpp93 data.writeFileDescriptor(fd); in setDataSource()
DIMediaPlayer.cpp120 data.writeFileDescriptor(fd); in setDataSource()
/frameworks/base/media/java/android/media/tv/
DDsmccResponse.java254 dest.writeFileDescriptor(mFileDescriptor.getFileDescriptor()); in writeToParcel()
/frameworks/base/core/tests/coretests/src/android/os/
DParcelNullabilityTest.java100 p.writeFileDescriptor(null); in nullFileDescriptor()
/frameworks/av/drm/common/
DIDrmManagerService.cpp309 data.writeFileDescriptor(fd); in acquireDrmInfo()
380 data.writeFileDescriptor(fd); in getOriginalMimeType()
613 data.writeFileDescriptor(fd); in openDecryptSession()
/frameworks/native/include/binder/
DParcel.h361 LIBBINDER_EXPORTED status_t writeFileDescriptor(int fd, bool takeOwnership = false);
/frameworks/native/libs/binder/include/binder/
DParcel.h361 LIBBINDER_EXPORTED status_t writeFileDescriptor(int fd, bool takeOwnership = false);

12