Searched defs: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.cpp1018 int dupFd = dup(blob.fd()); local
1019 if (dupFd < 0) {
1029 ctable, dupFd, const_cast<void*>(blob.data()), !isMutable);
1032 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 2136 milliseconds