Searched refs:doDup (Results 1 – 1 of 1) sorted by relevance
25 static native_handle_t* fromAidl(const NativeHandle& handle, bool doDup) { in fromAidl() argument31 to->data[i] = doDup ? fcntl(fd, F_DUPFD_CLOEXEC, 0) : fd; in fromAidl()44 static NativeHandle toAidl(const native_handle_t* handle, bool doDup) { in toAidl() argument50 to.fds.at(i).set(doDup ? fcntl(fd, F_DUPFD_CLOEXEC, 0) : fd); in toAidl()