Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/aidl/utils/src/
DConversions.cpp111 GeneralResult<Handle> unvalidatedConvertHelper(const NativeHandle& aidlNativeHandle) { in unvalidatedConvertHelper() argument
113 fds.reserve(aidlNativeHandle.fds.size()); in unvalidatedConvertHelper()
114 for (const auto& fd : aidlNativeHandle.fds) { in unvalidatedConvertHelper()
119 return Handle{.fds = std::move(fds), .ints = aidlNativeHandle.ints}; in unvalidatedConvertHelper()
501 GeneralResult<SharedHandle> unvalidatedConvert(const NativeHandle& aidlNativeHandle) { in unvalidatedConvert() argument
502 return std::make_shared<const Handle>(NN_TRY(unvalidatedConvertHelper(aidlNativeHandle))); in unvalidatedConvert()
623 common::NativeHandle aidlNativeHandle; in unvalidatedConvert() local
624 aidlNativeHandle.fds.reserve(handle.fds.size()); in unvalidatedConvert()
627 aidlNativeHandle.fds.emplace_back(duplicatedFd.release()); in unvalidatedConvert()
629 aidlNativeHandle.ints = handle.ints; in unvalidatedConvert()
[all …]