Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/link/
DFeatureFlagsFilter.cpp29 using ::aapt::xml::NodeCast;
53 if (const auto* el = NodeCast<Element>(node.get())) { in ShouldRemove()
/frameworks/base/tools/aapt2/xml/
DXmlDom.h294 const T* NodeCast(const Node* node) { in NodeCast() function
301 T* NodeCast(Node* node) { in NodeCast() function
302 return const_cast<T*>(NodeCast<T>(static_cast<const T*>(node))); in NodeCast()
DXmlDom.cpp407 return NodeCast<Element>(node); in FindRootElement()
469 if (const Element* el = NodeCast<Element>(child.get())) { in FindChildWithAttribute()
488 if (Element* child = NodeCast<Element>(child_node.get())) { in GetChildElements()
/frameworks/base/tools/aapt2/configuration/
DConfigurationParser.cpp73 using ::aapt::xml::NodeCast;
521 if ((t = NodeCast<xml::Text>(node.get())) != nullptr) { in ArtifactFormatTagHandler()
563 if ((t = NodeCast<xml::Text>(node.get())) != nullptr) { in AbiGroupTagHandler()
623 if ((t = NodeCast<xml::Text>(node.get())) != nullptr) { in ScreenDensityGroupTagHandler()
689 if ((t = NodeCast<xml::Text>(node.get())) != nullptr) { in LocaleGroupTagHandler()
808 if ((t = NodeCast<xml::Text>(node.get())) != nullptr) { in GlTextureGroupTagHandler()
845 if ((t = NodeCast<xml::Text>(node.get())) != nullptr) { in DeviceFeatureGroupTagHandler()
DConfigurationParser_test.cpp57 using ::aapt::xml::NodeCast;
/frameworks/base/tools/aapt2/compile/
DInlineXmlFormatParser.cpp140 if (xml::Text* t = xml::NodeCast<xml::Text>(child.get())) { in Consume()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp329 const xml::Text* child_text = xml::NodeCast<xml::Text>(actual_el.children[0].get()); in TEST()
331 const xml::Element* child_el = xml::NodeCast<xml::Element>(actual_el.children[1].get()); in TEST()
341 child_text = xml::NodeCast<xml::Text>(child_el->children[0].get()); in TEST()
377 const xml::Text* child_text_keep = xml::NodeCast<xml::Text>(actual_el.children[0].get()); in TEST()
DProtoSerialize.cpp784 if (const xml::Element* child_el = xml::NodeCast<xml::Element>(child.get())) { in SerializeXmlToPb()
786 } else if (const xml::Text* text_el = xml::NodeCast<xml::Text>(child.get())) { in SerializeXmlToPb()