Searched refs:dupFd (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_view_InputChannel.cpp206 int dupFd = dup(rawFd); local
207 if (dupFd < 0) {
214 InputChannel* inputChannel = new InputChannel(name, dupFd);
/frameworks/base/media/jni/
H A Dandroid_media_ExifInterface.cpp372 int dupFd = dup(fd); local
374 FILE* file = fdopen(dupFd, "r");
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp1019 int dupFd = dup(blob.fd()); local
1020 if (dupFd < 0) {
1030 ctable, dupFd, const_cast<void*>(blob.data()), size, !isMutable);
1033 close(dupFd);
/frameworks/native/libs/binder/
H A DParcel.cpp1179 int dupFd = dup(fd); local
1180 if (dupFd < 0) {
1183 status_t err = writeFileDescriptor(dupFd, true /*takeOwnership*/);
1185 close(dupFd);

Completed in 241 milliseconds