HomeSort by relevance Sort by last modified time
    Searched refs:XmlResource (Results 1 - 25 of 56) sorted by null

1 2 3

  /frameworks/base/tools/aapt2/compile/
InlineXmlFormatParser.h 29 // Extracts Inline XML definitions into their own xml::XmlResource objects.
50 bool Consume(IAaptContext* context, xml::XmlResource* doc) override;
52 std::vector<std::unique_ptr<xml::XmlResource>>& GetExtractedInlineXmlDocuments() {
59 std::vector<std::unique_ptr<xml::XmlResource>> queue_;
XmlIdCollector.h 26 bool Consume(IAaptContext* context, xml::XmlResource* xml_res) override;
XmlIdCollector_test.cpp 28 std::unique_ptr<xml::XmlResource> doc = test::BuildXmlDom(R"EOF(
58 std::unique_ptr<xml::XmlResource> doc =
InlineXmlFormatParser.cpp 41 explicit Visitor(IAaptContext* context, xml::XmlResource* xml_resource)
108 xml::XmlResource* xml_resource_;
115 bool InlineXmlFormatParser::Consume(IAaptContext* context, xml::XmlResource* doc) {
124 // Create a new XmlResource with the same ResourceFile as the base XmlResource.
125 auto new_doc = util::make_unique<xml::XmlResource>(doc->file);
XmlIdCollector.cpp 67 bool XmlIdCollector::Consume(IAaptContext* context, xml::XmlResource* xmlRes) {
  /frameworks/base/tools/aapt2/java/
ManifestClassGenerator.h 26 std::unique_ptr<ClassDefinition> GenerateManifestClass(IDiagnostics* diag, xml::XmlResource* res);
ManifestClassGenerator_test.cpp 28 static ::testing::AssertionResult GetManifestClassText(IAaptContext* context, xml::XmlResource* res,
33 std::unique_ptr<xml::XmlResource> manifest = test::BuildXmlDom(R"(
78 std::unique_ptr<xml::XmlResource> manifest = test::BuildXmlDom(R"(
129 std::unique_ptr<xml::XmlResource> manifest = test::BuildXmlDom(R"(
146 std::unique_ptr<xml::XmlResource> manifest = test::BuildXmlDom(R"(
156 static ::testing::AssertionResult GetManifestClassText(IAaptContext* context, xml::XmlResource* res,
ProguardRules.h 79 bool CollectProguardRulesForManifest(xml::XmlResource* res, KeepSet* keep_set,
82 bool CollectProguardRules(xml::XmlResource* res, KeepSet* keep_set);
  /packages/apps/EmergencyInfo/src/com/android/emergency/
EmergencySearchIndexablesProvider.java 21 import android.provider.SearchIndexablesContract.XmlResource;
56 .add(XmlResource.COLUMN_RANK, INDEXABLE_RES[i].rank)
57 .add(XmlResource.COLUMN_XML_RESID, INDEXABLE_RES[i].xmlResId)
58 .add(XmlResource.COLUMN_CLASS_NAME, null)
59 .add(XmlResource.COLUMN_ICON_RESID, INDEXABLE_RES[i].iconResId)
60 .add(XmlResource.COLUMN_INTENT_ACTION, "android.intent.action.MAIN")
61 .add(XmlResource.COLUMN_INTENT_TARGET_PACKAGE, "com.android.emergency")
62 .add(XmlResource.COLUMN_INTENT_TARGET_CLASS, INDEXABLE_RES[i].className);
  /frameworks/base/core/java/android/provider/
SearchIndexablesContract.java 87 XmlResource.COLUMN_RANK, // 0
88 XmlResource.COLUMN_XML_RESID, // 1
89 XmlResource.COLUMN_CLASS_NAME, // 2
90 XmlResource.COLUMN_ICON_RESID, // 3
91 XmlResource.COLUMN_INTENT_ACTION, // 4
92 XmlResource.COLUMN_INTENT_TARGET_PACKAGE, // 5
93 XmlResource.COLUMN_INTENT_TARGET_CLASS // 6
184 public static final class XmlResource extends BaseColumns {
185 private XmlResource() {
  /frameworks/base/tools/aapt2/process/
IResourceTableConsumer.h 62 class XmlResource;
68 virtual bool Consume(IAaptContext* context, xml::XmlResource* resource) = 0;
  /frameworks/base/tools/aapt2/
Debug.h 40 static void DumpXml(const xml::XmlResource& doc, text::Printer* printer);
LoadedApk.h 60 std::unique_ptr<ResourceTable> table, std::unique_ptr<xml::XmlResource> manifest,
85 const xml::XmlResource* GetManifest() const {
107 IArchiveWriter* writer, xml::XmlResource* manifest = nullptr);
116 std::unique_ptr<xml::XmlResource> manifest_;
  /frameworks/base/tools/aapt2/cmd/
Util.h 54 // XmlResource does not need to be linked via XmlReferenceLinker.
56 std::unique_ptr<xml::XmlResource> GenerateSplitManifest(const AppInfo& app_info,
60 Maybe<AppInfo> ExtractAppInfoFromBinaryManifest(const xml::XmlResource& xml_res,
  /frameworks/base/tools/aapt2/format/binary/
XmlFlattener.h 43 bool Consume(IAaptContext* context, const xml::XmlResource* resource);
  /frameworks/base/tools/aapt2/link/
XmlCompatVersioner.h 60 std::vector<std::unique_ptr<xml::XmlResource>> Process(IAaptContext* context,
61 xml::XmlResource* doc,
67 std::unique_ptr<xml::XmlResource> ProcessDoc(ApiVersion target_api, ApiVersion max_api,
68 xml::XmlResource* doc,
XmlNamespaceRemover.cpp 52 bool XmlNamespaceRemover::Consume(IAaptContext* context, xml::XmlResource* resource) {
Linkers.h 114 // Removes namespace nodes and URI information from the XmlResource.
116 // Once an XmlResource is processed by this consumer, it is no longer able to have its attributes
117 // parsed. As such, this XmlResource must have already been processed by XmlReferenceLinker.
122 bool Consume(IAaptContext* context, xml::XmlResource* resource) override;
130 // Resolves attributes in the XmlResource and compiles string values to resource values.
131 // Once an XmlResource is processed by this linker, it is ready to be flattened.
136 bool Consume(IAaptContext* context, xml::XmlResource* resource) override;
XmlCompatVersioner.cpp 102 std::unique_ptr<xml::XmlResource> XmlCompatVersioner::ProcessDoc(
103 ApiVersion target_api, ApiVersion max_api, xml::XmlResource* doc,
107 std::unique_ptr<xml::XmlResource> cloned_doc = util::make_unique<xml::XmlResource>(doc->file);
130 std::vector<std::unique_ptr<xml::XmlResource>> XmlCompatVersioner::Process(
131 IAaptContext* context, xml::XmlResource* doc, util::Range<ApiVersion> api_range) {
136 std::vector<std::unique_ptr<xml::XmlResource>> versioned_docs;
ManifestFixer.h 77 bool Consume(IAaptContext* context, xml::XmlResource* doc) override;
  /packages/apps/Launcher3/quickstep/src/com/android/quickstep/
LauncherSearchIndexablesProvider.java 27 import android.provider.SearchIndexablesContract.XmlResource;
57 .add(XmlResource.COLUMN_XML_RESID, R.xml.indexable_launcher_prefs)
58 .add(XmlResource.COLUMN_INTENT_ACTION, Intent.ACTION_APPLICATION_PREFERENCES)
59 .add(XmlResource.COLUMN_INTENT_TARGET_PACKAGE, getContext().getPackageName())
60 .add(XmlResource.COLUMN_INTENT_TARGET_CLASS, settingsActivity.activityInfo.name);
  /frameworks/base/tools/aapt2/xml/
XmlActionExecutor_test.cpp 43 std::unique_ptr<XmlResource> doc =
59 std::unique_ptr<XmlResource> doc;
XmlActionExecutor.h 86 // Execute the defined actions for this XmlResource.
88 bool Execute(XmlActionExecutorPolicy policy, IDiagnostics* diag, XmlResource* doc) const;
  /frameworks/base/tools/aapt2/format/proto/
ProtoSerialize.h 44 // Serializes an XmlResource into its protobuf representation. The ResourceFile is NOT serialized.
45 void SerializeXmlResourceToPb(const xml::XmlResource& resource, pb::XmlNode* out_node);
  /frameworks/base/tools/aapt2/optimize/
MultiApkGenerator.h 64 std::unique_ptr<xml::XmlResource>* updated_manifest, IDiagnostics* diag);

Completed in 403 milliseconds

1 2 3