Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/utils/common/src/
DCommonUtils.cpp110 auto fd = NN_TRY(nn::dupFd(memory.fd)); in createHidlMemoryFrom()
116 auto fd = NN_TRY(nn::dupFd(memory.fd)); in createHidlMemoryFrom()
325 .fd = NN_TRY(nn::dupFd(memory.handle()->data[0])), in createSharedMemoryFromHidlMemory()
401 const int dupFd = dup(fd); in hidlHandleFromSharedHandle() local
402 if (dupFd == -1) { in hidlHandleFromSharedHandle()
405 fds.emplace_back(dupFd); in hidlHandleFromSharedHandle()
434 const int dupFd = dup(handle->data[i]); in sharedHandleFromNativeHandle() local
435 if (dupFd == -1) { in sharedHandleFromNativeHandle()
438 fds.emplace_back(dupFd); in sharedHandleFromNativeHandle()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DConversions.cpp115 auto duplicatedFd = NN_TRY(dupFd(fd.get())); in unvalidatedConvertHelper()
361 .fd = NN_TRY(dupFd(ashmem.fd.get())), in unvalidatedConvert()
511 auto duplicatedFd = NN_TRY(dupFd(syncFence.get())); in unvalidatedConvert()
626 auto duplicatedFd = NN_TRY(nn::dupFd(fd.get())); in unvalidatedConvert()
662 auto fd = NN_TRY(nn::dupFd(memory.fd)); in unvalidatedConvert()
686 auto fd = NN_TRY(nn::dupFd(memory.fd)); in unvalidatedConvert()
996 auto duplicatedFd = NN_TRY(nn::dupFd(syncFence.getFd())); in unvalidatedConvert()
1009 auto duplicatedFd = NN_TRY(nn::dupFd(handle->fds.front().get())); in unvalidatedConvertCache()
DUtils.cpp49 auto duplicatedFd = NN_TRY(nn::dupFd(fd.get())); in clone()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DGeneratedTestHarness.cpp647 auto dupFd = dup(executionResult.syncFence.get()); in EvaluatePreparedModel() local
648 ASSERT_NE(dupFd, -1); in EvaluatePreparedModel()
649 waitFor.emplace_back(dupFd); in EvaluatePreparedModel()