/frameworks/base/tools/aapt2/xml/ |
H A D | XmlActionExecutor.cpp | 22 static bool wrapper_one(XmlNodeAction::ActionFunc& f, Element* el, SourcePathDiagnostics*) { argument 23 return f(el); 26 static bool wrapper_two(XmlNodeAction::ActionFuncWithDiag& f, Element* el, argument 28 return f(el, diag); 41 static void PrintElementToDiagMessage(const Element* el, DiagMessage* msg) { argument 43 if (!el->namespace_uri.empty()) { 44 *msg << el->namespace_uri << ":"; 46 *msg << el->name << ">"; 50 Element* el) const { 53 error |= !action(el, dia 81 Element* el = FindRootElement(doc); local [all...] |
H A D | XmlDom.cpp | 132 std::unique_ptr<Element> el = util::make_unique<Element>(); local 133 SplitName(name, &el->namespace_uri, &el->name); 141 auto iter = std::lower_bound(el->attributes.begin(), el->attributes.end(), attribute, 143 el->attributes.insert(iter, std::move(attribute)); 146 el->comment = std::move(stack->pending_comment); 147 AddToStack(stack, parser, std::move(el)); 228 static void CopyAttributes(Element* el, android::ResXMLParser* parser, StringPool* out_pool) { argument 231 el 382 Element* el = nullptr; local 476 auto el = util::make_unique<Element>(); local [all...] |
H A D | XmlActionExecutor.h | 68 bool Execute(XmlActionExecutorPolicy policy, SourcePathDiagnostics* diag, Element* el) const;
|
/frameworks/base/tools/aapt2/link/ |
H A D | XmlNamespaceRemover.cpp | 34 void Visit(xml::Element* el) override { 36 for (auto& child : el->children) { 42 child->parent = el; 46 el->children.erase( 47 std::remove_if(el->children.begin(), el->children.end(), 51 el->children.end()); 54 for (xml::Attribute& attr : el->attributes) { 57 el->namespace_uri = std::string(); 59 xml::Visitor::Visit(el); [all...] |
H A D | ManifestFixer.cpp | 33 static bool NameIsJavaClassName(xml::Element* el, xml::Attribute* attr, argument 46 diag->Error(DiagMessage(el->line_number) 47 << "attribute 'android:name' in <" << el->name 54 static bool OptionalNameIsJavaClassName(xml::Element* el, SourcePathDiagnostics* diag) { argument 55 if (xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name")) { 56 return NameIsJavaClassName(el, attr, diag); 61 static bool RequiredNameIsJavaClassName(xml::Element* el, SourcePathDiagnostics* diag) { argument 62 if (xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name")) { 63 return NameIsJavaClassName(el, attr, diag); 65 diag->Error(DiagMessage(el 70 RequiredNameIsJavaPackage(xml::Element* el, SourcePathDiagnostics* diag) argument [all...] |
H A D | XmlNamespaceRemover_test.cpp | 27 void Visit(xml::Element* el) override { 28 for (const auto& attr : el->attributes) { 31 EXPECT_EQ(std::string(), el->namespace_uri); 32 xml::Visitor::Visit(el);
|
H A D | XmlReferenceLinker.cpp | 83 void Visit(xml::Element* el) override { 89 const Source source = source_.WithLine(el->line_number); 90 for (xml::Attribute& attr : el->attributes) { 144 xml::PackageAwareVisitor::Visit(el);
|
H A D | ManifestFixer_test.cpp | 121 xml::Element* el; 124 el = xml::FindRootElement(doc.get()); 125 ASSERT_NE(nullptr, el); 126 el = el->FindChild({}, "uses-sdk"); 127 ASSERT_NE(nullptr, el); 128 attr = el->FindAttribute(xml::kSchemaAndroid, "minSdkVersion"); 131 attr = el->FindAttribute(xml::kSchemaAndroid, "targetSdkVersion"); 143 el = xml::FindRootElement(doc.get()); 144 ASSERT_NE(nullptr, el); [all...] |
H A D | XmlCompatVersioner.cpp | 110 cloned_doc->root = doc->root->Clone([&](const xml::Element& el, xml::Element* out_el) { 111 for (const auto& attr : el.attributes) { 122 ProcessRule(el, attr, attr_version, rule != rules_->end() ? rule->second.get() : nullptr,
|
/frameworks/base/tools/aapt2/java/ |
H A D | ManifestClassGenerator.cpp | 66 xml::Element* el, ClassDefinition* class_def) { 67 xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name"); 69 diag->Error(DiagMessage(source) << "<" << el->name 75 diag, source.WithLine(el->line_number), attr->value); 82 string_member->GetCommentBuilder()->AppendComment(el->comment); 90 xml::Element* el = xml::FindRootElement(res->root.get()); local 91 if (!el) { 96 if (el->name != "manifest" && !el->namespace_uri.empty()) { 108 std::vector<xml::Element*> children = el 65 WriteSymbol(const Source& source, IDiagnostics* diag, xml::Element* el, ClassDefinition* class_def) argument [all...] |
/frameworks/base/tools/aapt2/compile/ |
H A D | InlineXmlFormatParser.cpp | 42 xml::Element* el; member in struct:aapt::__anon1345::Visitor::InlineDeclaration 50 void Visit(xml::Element* el) override { 51 if (el->namespace_uri != xml::kSchemaAapt || el->name != "attr") { 52 xml::PackageAwareVisitor::Visit(el); 56 const Source& src = xml_resource_->file.source.WithLine(el->line_number); 58 xml::Attribute* attr = el->FindAttribute({}, "name"); 96 decl.el = el; 136 new_doc->file.source = doc->file.source.WithLine(decl.el [all...] |
/frameworks/base/tools/aapt2/ |
H A D | Debug.cpp | 264 void Visit(xml::Element* el) override { 267 if (!el->namespace_uri.empty()) { 268 std::cerr << el->namespace_uri << ":"; 270 std::cerr << el->name << " (line=" << el->line_number << ")\n"; 272 for (const xml::Attribute& attr : el->attributes) { 288 xml::Visitor::Visit(el);
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | StreamConfigurationMap.java | 1408 for (T el : array) { 1409 if (Objects.equals(el, element)) {
|
/frameworks/base/tools/aapt2/cmd/ |
H A D | Link.cpp | 485 xml::Element* el = xml::FindRootElement(doc); local 486 if (el && el->namespace_uri.empty()) { 487 if ((options_.no_version_vectors && IsVectorElement(el->name)) || 488 (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. ... |