/frameworks/base/tools/aapt2/link/ |
H A D | ManifestFixer.cpp | 32 static bool RequiredNameIsNotEmpty(xml::Element* el, SourcePathDiagnostics* diag) { argument 33 xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name"); 35 diag->Error(DiagMessage(el->line_number) 36 << "<" << el->name << "> is missing attribute 'android:name'"); 41 diag->Error(DiagMessage(el->line_number) 42 << "attribute 'android:name' in <" << el->name << "> tag must not be empty"); 49 static bool NameIsJavaClassName(xml::Element* el, xml::Attribute* attr, argument 62 diag->Error(DiagMessage(el->line_number) 63 << "attribute 'android:name' in <" << el->name 70 static bool OptionalNameIsJavaClassName(xml::Element* el, SourcePathDiagnostic argument 77 RequiredNameIsJavaClassName(xml::Element* el, SourcePathDiagnostics* diag) argument 87 RequiredNameIsJavaPackage(xml::Element* el, SourcePathDiagnostics* diag) argument [all...] |
/frameworks/base/tools/aapt2/java/ |
H A D | ManifestClassGenerator.cpp | 59 static bool WriteSymbol(const Source& source, IDiagnostics* diag, xml::Element* el, argument 61 xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name"); 63 diag->Error(DiagMessage(source) << "<" << el->name << "> must define 'android:name'"); 68 ExtractJavaIdentifier(diag, source.WithLine(el->line_number), attr->value); 75 string_member->GetCommentBuilder()->AppendComment(el->comment); 78 diag->Warn(DiagMessage(source.WithLine(el->line_number)) 85 xml::Element* el = xml::FindRootElement(res->root.get()); local 86 if (!el) { 91 if (el->name != "manifest" && !el [all...] |
/frameworks/base/tools/aapt2/xml/ |
H A D | XmlActionExecutor.cpp | 24 static bool wrapper_one(XmlNodeAction::ActionFunc& f, Element* el, SourcePathDiagnostics*) { argument 25 return f(el); 28 static bool wrapper_two(XmlNodeAction::ActionFuncWithDiag& f, Element* el, argument 30 return f(el, diag); 43 static void PrintElementToDiagMessage(const Element* el, DiagMessage* msg) { argument 45 if (!el->namespace_uri.empty()) { 46 *msg << el->namespace_uri << ":"; 48 *msg << el->name << ">"; 52 SourcePathDiagnostics* diag, Element* el) const { 55 error |= !action(el, dia 95 Element* el = doc->root.get(); local [all...] |
H A D | XmlUtil.cpp | 83 void Visit(Element* el) override { 85 std::remove_if(el->namespace_decls.begin(), el->namespace_decls.end(), 87 el->namespace_decls.erase(new_end, el->namespace_decls.end()); 90 el->attributes.begin(), el->attributes.end(), 92 el->attributes.erase(new_attr_end, el->attributes.end()); 94 Visitor::Visit(el); 100 StripAndroidStudioAttributes(Element* el) argument [all...] |
H A D | XmlDom.h | 172 virtual void Visit(Element* el) { argument 173 VisitChildren(el); 182 void VisitChildren(Element* el) { argument 183 for (auto& child : el->children) { 188 virtual void BeforeVisitElement(Element* el) { argument 190 virtual void AfterVisitElement(Element* el) { argument 203 virtual void Visit(const Element* el) { argument 204 VisitChildren(el); 213 void VisitChildren(const Element* el) { argument 214 for (const auto& child : el 219 BeforeVisitElement(const Element* el) argument 222 AfterVisitElement(const Element* el) argument [all...] |
H A D | XmlDom.cpp | 110 std::unique_ptr<Element> el; local 112 el = std::move(stack->pending_element); 114 el = util::make_unique<Element>(); 117 el->line_number = XML_GetCurrentLineNumber(parser); 118 el->column_number = XML_GetCurrentColumnNumber(parser); 119 el->comment = std::move(stack->pending_comment); 121 SplitName(name, &el->namespace_uri, &el->name); 127 el->attributes.push_back(std::move(attribute)); 131 std::sort(el 222 CopyAttributes(Element* el, android::ResXMLParser* parser, StringPool* out_pool) argument 311 std::unique_ptr<Element> el; local 482 auto el = util::make_unique<Element>(); local 531 BeforeVisitElement(Element* el) argument 541 AfterVisitElement(Element* el) argument [all...] |
/frameworks/base/tools/aapt2/compile/ |
H A D | InlineXmlFormatParser.cpp | 31 xml::Element* el; member in struct:aapt::__anon1165::InlineDeclaration 44 void Visit(xml::Element* el) override { 45 if (el->namespace_uri != xml::kSchemaAapt || el->name != "attr") { 46 xml::PackageAwareVisitor::Visit(el); 50 const Source src = xml_resource_->file.source.WithLine(el->line_number); 52 xml::Attribute* attr = el->FindAttribute({}, "name"); 80 decl.el = el; 128 new_doc->file.source.line = decl.el [all...] |
/frameworks/base/tools/aapt2/format/proto/ |
H A D | ProtoSerialize.cpp | 602 void SerializeXmlToPb(const xml::Element& el, pb::XmlNode* out_node) { argument 603 SerializeXmlCommon(el, out_node); 606 pb_element->set_name(el.name); 607 pb_element->set_namespace_uri(el.namespace_uri); 609 for (const xml::NamespaceDecl& ns : el.namespace_decls) { 618 for (const xml::Attribute& attr : el.attributes) { 634 for (const std::unique_ptr<xml::Node>& child : el.children) {
|
/frameworks/base/tools/aapt2/cmd/ |
H A D | Link.cpp | 506 xml::Element* el = doc->root.get(); local 507 if (el && el->namespace_uri.empty()) { 508 if ((options_.no_version_vectors && IsVectorElement(el->name)) || 509 (options_.no_version_transitions && IsTransitionElement(el->name))) {
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |