Home
last modified time | relevance | path

Searched refs:duplicatedFd (Results 1 – 3 of 3) 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.cpp534 auto duplicatedFd = NN_TRY(dupFd(handle.get())); in unvalidatedConvert() local
535 return std::make_shared<const Handle>(std::move(duplicatedFd)); in unvalidatedConvert()
1116 auto duplicatedFd = NN_TRY(nn::dupFd(syncFence.getFd())); in unvalidatedConvert() local
1117 return ndk::ScopedFileDescriptor(duplicatedFd.release()); in unvalidatedConvert()
1121 auto duplicatedFd = NN_TRY(nn::dupFd(handle->get())); in unvalidatedConvert() local
1122 return ndk::ScopedFileDescriptor(duplicatedFd.release()); in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DConversions.cpp284 auto duplicatedFd = NN_TRY(nn::dupFd(handle->data[0])); in unvalidatedConvert() local
285 return std::make_shared<const Handle>(std::move(duplicatedFd)); in unvalidatedConvert()