Home
last modified time | relevance | path

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

/hardware/nxp/keymint/KM300/
DCborConverter.cpp207 auto optValue = getUint64(pair.first); in getKeyParameter() local
208 if (!optValue) { in getKeyParameter()
211 key = static_cast<keymaster_tag_t>(optValue.value()); in getKeyParameter()
230 if (!(optValue = getUint64(pair.second))) { in getKeyParameter()
233 keyParam.enumerated = static_cast<uint32_t>(optValue.value()); in getKeyParameter()
240 if (!(optValue = getUint64(pair.second))) { in getKeyParameter()
243 keyParam.integer = static_cast<uint32_t>(optValue.value()); in getKeyParameter()
250 if (!(optValue = getUint64(pair.second))) { in getKeyParameter()
253 keyParam.long_integer = optValue.value(); in getKeyParameter()
265 if (!(optValue = getUint64(item))) { in getKeyParameter()
[all …]
/hardware/interfaces/graphics/mapper/stable-c/implutils/include/android/hardware/graphics/mapper/utils/
DIMapperMetadataTypes.h418 [[nodiscard]] static int32_t encode(const std::optional<Smpte2086>& optValue,
420 if (optValue.has_value()) {
421 const auto& value = *optValue;
439 std::optional<Smpte2086> optValue{std::nullopt};
451 optValue = std::move(value);
456 return DecodeResult{std::move(optValue)};
462 [[nodiscard]] static int32_t encode(const std::optional<Cta861_3>& optValue,
464 if (optValue.has_value()) {
465 const auto& value = *optValue;
479 std::optional<Cta861_3> optValue{std::nullopt};
[all …]