Searched refs:aidlNativeHandle (Results 1 – 1 of 1) sorted by relevance
111 GeneralResult<Handle> unvalidatedConvertHelper(const NativeHandle& aidlNativeHandle) { in unvalidatedConvertHelper() argument113 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() argument502 return std::make_shared<const Handle>(NN_TRY(unvalidatedConvertHelper(aidlNativeHandle))); in unvalidatedConvert()623 common::NativeHandle aidlNativeHandle; in unvalidatedConvert() local624 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 …]