Home
last modified time | relevance | path

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

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