Searched refs:duplicatedFd (Results 1 – 3 of 3) sorted by relevance
49 auto duplicatedFd = NN_TRY(nn::dupFd(fd.get())); in clone() local50 return ndk::ScopedFileDescriptor(duplicatedFd.release()); in clone()
534 auto duplicatedFd = NN_TRY(dupFd(handle.get())); in unvalidatedConvert() local535 return std::make_shared<const Handle>(std::move(duplicatedFd)); in unvalidatedConvert()1116 auto duplicatedFd = NN_TRY(nn::dupFd(syncFence.getFd())); in unvalidatedConvert() local1117 return ndk::ScopedFileDescriptor(duplicatedFd.release()); in unvalidatedConvert()1121 auto duplicatedFd = NN_TRY(nn::dupFd(handle->get())); in unvalidatedConvert() local1122 return ndk::ScopedFileDescriptor(duplicatedFd.release()); in unvalidatedConvert()
284 auto duplicatedFd = NN_TRY(nn::dupFd(handle->data[0])); in unvalidatedConvert() local285 return std::make_shared<const Handle>(std::move(duplicatedFd)); in unvalidatedConvert()