Home
last modified time | relevance | path

Searched refs:dupFd (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/binder/
DParcel.cpp1218 int dupFd = fcntl(fd, F_DUPFD_CLOEXEC, 0); in writeDupFileDescriptor() local
1219 if (dupFd < 0) { in writeDupFileDescriptor()
1222 status_t err = writeFileDescriptor(dupFd, true /*takeOwnership*/); in writeDupFileDescriptor()
1224 close(dupFd); in writeDupFileDescriptor()
1237 int dupFd = fcntl(fd, F_DUPFD_CLOEXEC, 0); in writeDupParcelFileDescriptor() local
1238 if (dupFd < 0) { in writeDupParcelFileDescriptor()
1241 status_t err = writeParcelFileDescriptor(dupFd, true /*takeOwnership*/); in writeDupParcelFileDescriptor()
1243 close(dupFd); in writeDupParcelFileDescriptor()
/frameworks/base/core/jni/android/graphics/
DBitmap.cpp736 int dupFd = fcntl(blob.fd(), F_DUPFD_CLOEXEC, 0); in Bitmap_createFromParcel() local
737 if (dupFd < 0) { in Bitmap_createFromParcel()
746 nativeBitmap = Bitmap::createFrom(bitmap->info(), bitmap->rowBytes(), dupFd, in Bitmap_createFromParcel()
749 close(dupFd); in Bitmap_createFromParcel()