Searched refs:dupFd (Results 1 – 4 of 4) sorted by relevance
206 int dupFd = dup(rawFd); in android_view_InputChannel_nativeReadFromParcel() local207 if (dupFd < 0) { in android_view_InputChannel_nativeReadFromParcel()214 InputChannel* inputChannel = new InputChannel(name, dupFd); in android_view_InputChannel_nativeReadFromParcel()
372 int dupFd = dup(fd); in ExifInterface_getRawAttributesFromFileDescriptor() local374 FILE* file = fdopen(dupFd, "r"); in ExifInterface_getRawAttributesFromFileDescriptor()
1018 int dupFd = dup(blob.fd()); in Bitmap_createFromParcel() local1019 if (dupFd < 0) { in Bitmap_createFromParcel()1029 ctable, dupFd, const_cast<void*>(blob.data()), !isMutable); in Bitmap_createFromParcel()1032 close(dupFd); in Bitmap_createFromParcel()
1179 int dupFd = dup(fd); in writeDupFileDescriptor() local1180 if (dupFd < 0) { in writeDupFileDescriptor()1183 status_t err = writeFileDescriptor(dupFd, true /*takeOwnership*/); in writeDupFileDescriptor()1185 close(dupFd); in writeDupFileDescriptor()