Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/aidl/utils/src/
DUtils.cpp49 auto duplicatedFd = NN_TRY(nn::dupFd(fd.get())); in clone() local
50 return ndk::ScopedFileDescriptor(duplicatedFd.release()); in clone()
DConversions.cpp115 auto duplicatedFd = NN_TRY(dupFd(fd.get())); in unvalidatedConvertHelper() local
116 fds.emplace_back(duplicatedFd.release()); in unvalidatedConvertHelper()
511 auto duplicatedFd = NN_TRY(dupFd(syncFence.get())); in unvalidatedConvert() local
512 return SyncFence::create(std::move(duplicatedFd)); in unvalidatedConvert()
626 auto duplicatedFd = NN_TRY(nn::dupFd(fd.get())); in unvalidatedConvert() local
627 aidlNativeHandle.fds.emplace_back(duplicatedFd.release()); in unvalidatedConvert()
996 auto duplicatedFd = NN_TRY(nn::dupFd(syncFence.getFd())); in unvalidatedConvert() local
997 return ndk::ScopedFileDescriptor(duplicatedFd.release()); in unvalidatedConvert()
1009 auto duplicatedFd = NN_TRY(nn::dupFd(handle->fds.front().get())); in unvalidatedConvertCache() local
1010 return ndk::ScopedFileDescriptor(duplicatedFd.release()); in unvalidatedConvertCache()