Searched refs:dupFd (Results 1 – 2 of 2) sorted by relevance
204 int dupFd = dup(rawFd); in android_view_InputChannel_nativeReadFromParcel() local205 if (dupFd < 0) { in android_view_InputChannel_nativeReadFromParcel()212 InputChannel* inputChannel = new InputChannel(name, dupFd); in android_view_InputChannel_nativeReadFromParcel()
725 int dupFd = dup(fd); in writeDupFileDescriptor() local726 if (dupFd < 0) { in writeDupFileDescriptor()729 status_t err = writeFileDescriptor(dupFd, true /*takeOwnership*/); in writeDupFileDescriptor()731 close(dupFd); in writeDupFileDescriptor()