Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_view_InputChannel.cpp204 int dupFd = dup(rawFd); in android_view_InputChannel_nativeReadFromParcel() local
205 if (dupFd < 0) { in android_view_InputChannel_nativeReadFromParcel()
212 InputChannel* inputChannel = new InputChannel(name, dupFd); in android_view_InputChannel_nativeReadFromParcel()
/frameworks/native/libs/binder/
DParcel.cpp725 int dupFd = dup(fd); in writeDupFileDescriptor() local
726 if (dupFd < 0) { in writeDupFileDescriptor()
729 status_t err = writeFileDescriptor(dupFd, true /*takeOwnership*/); in writeDupFileDescriptor()
731 close(dupFd); in writeDupFileDescriptor()