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

/frameworks/base/core/jni/
H A Dandroid_view_InputChannel.cpp207 int dupFd = dup(rawFd); local
208 if (dupFd < 0) {
215 InputChannel* inputChannel = new InputChannel(name, dupFd);
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp1117 int dupFd = dup(blob.fd()); local
1118 if (dupFd < 0) {
1128 ctable, dupFd, const_cast<void*>(blob.data()), size, !isMutable));
1131 close(dupFd);
/frameworks/native/libs/binder/
H A DParcel.cpp1165 int dupFd = fcntl(fd, F_DUPFD_CLOEXEC, 0); local
1166 if (dupFd < 0) {
1169 status_t err = writeFileDescriptor(dupFd, true /*takeOwnership*/);
1171 close(dupFd);

Completed in 237 milliseconds