Home
last modified time | relevance | path

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

/system/libvintf/
Dparse_xml.cpp248 inline bool parseOptionalAttr(NodeType* root, const std::string& attrName, T&& defaultValue, in parseOptionalAttr() function
463 if (!parseOptionalAttr(root, "arch", Arch::ARCH_EMPTY, &object->arch, error) || in buildObject()
559 if (!parseOptionalAttr(root, "format", HalFormat::HIDL, &object->format, error) || in buildObject()
560 !parseOptionalAttr(root, "optional", false /* defaultValue */, &object->optional, in buildObject()
670 !parseOptionalAttr(root, "level", Level::UNSPECIFIED, &sourceMatrixLevel, error) || in buildObject()
717 if (!parseOptionalAttr(root, "format", HalFormat::HIDL, &object->format, error) || in buildObject()
718 !parseOptionalAttr(root, "override", false, &object->mIsOverride, error) || in buildObject()
964 return parseOptionalAttr(root, "version", {}, &o->mVersion, error) && in buildObject()
965 parseOptionalAttr(root, "target-level", Level::UNSPECIFIED, &o->mLevel, error) && in buildObject()
1054 if (!parseOptionalAttr(root, "target-level", Level::UNSPECIFIED, &object->mLevel, in buildObject()
[all …]