Home
last modified time | relevance | path

Searched refs:XmlResource (Results 1 – 25 of 57) sorted by relevance

123

/frameworks/base/core/java/android/provider/
DSearchIndexablesContract.java103 XmlResource.COLUMN_RANK, // 0
104 XmlResource.COLUMN_XML_RESID, // 1
105 XmlResource.COLUMN_CLASS_NAME, // 2
106 XmlResource.COLUMN_ICON_RESID, // 3
107 XmlResource.COLUMN_INTENT_ACTION, // 4
108 XmlResource.COLUMN_INTENT_TARGET_PACKAGE, // 5
109 XmlResource.COLUMN_INTENT_TARGET_CLASS // 6
225 public static final class XmlResource extends BaseColumns { class in SearchIndexablesContract
226 private XmlResource() { in XmlResource() method in SearchIndexablesContract.XmlResource
/frameworks/base/tools/aapt2/
DLoadedApk.h60 std::unique_ptr<ResourceTable> table, std::unique_ptr<xml::XmlResource> manifest, in LoadedApk()
89 const xml::XmlResource* GetManifest() const { in GetManifest()
111 IArchiveWriter* writer, xml::XmlResource* manifest = nullptr);
114 std::unique_ptr<xml::XmlResource> LoadXml(const std::string& file_path, IDiagnostics* diag) const;
122 std::unique_ptr<xml::XmlResource> manifest_;
DLoadedApk.cpp32 using ::aapt::xml::XmlResource;
64 std::unique_ptr<xml::XmlResource> manifest = in DetermineApkFormat()
144 std::unique_ptr<xml::XmlResource> manifest = DeserializeXmlResourceFromPb(pb_node, &error); in LoadProtoApkFromFileCollection()
186 std::unique_ptr<xml::XmlResource> manifest = in LoadBinaryApkFromFileCollection()
205 IArchiveWriter* writer, XmlResource* manifest) { in WriteToArchive()
304 std::unique_ptr<xml::XmlResource> LoadedApk::LoadXml(const std::string& file_path, in LoadXml()
312 std::unique_ptr<xml::XmlResource> doc; in LoadXml()
DDebug.h40 static void DumpXml(const xml::XmlResource& doc, text::Printer* printer);
/frameworks/base/tools/aapt2/compile/
DInlineXmlFormatParser.h50 bool Consume(IAaptContext* context, xml::XmlResource* doc) override;
52 std::vector<std::unique_ptr<xml::XmlResource>>& GetExtractedInlineXmlDocuments() { in GetExtractedInlineXmlDocuments()
59 std::vector<std::unique_ptr<xml::XmlResource>> queue_;
DInlineXmlFormatParser.cpp41 explicit Visitor(IAaptContext* context, xml::XmlResource* xml_resource) in Visitor()
108 xml::XmlResource* xml_resource_;
115 bool InlineXmlFormatParser::Consume(IAaptContext* context, xml::XmlResource* doc) { in Consume()
125 auto new_doc = util::make_unique<xml::XmlResource>(doc->file); in Consume()
DXmlIdCollector_test.cpp28 std::unique_ptr<xml::XmlResource> doc = test::BuildXmlDom(R"EOF( in TEST()
70 std::unique_ptr<xml::XmlResource> doc = in TEST()
DXmlIdCollector.h26 bool Consume(IAaptContext* context, xml::XmlResource* xml_res) override;
/frameworks/base/tools/aapt2/link/
DXmlCompatVersioner.cpp102 std::unique_ptr<xml::XmlResource> XmlCompatVersioner::ProcessDoc( in ProcessDoc()
103 ApiVersion target_api, ApiVersion max_api, xml::XmlResource* doc, in ProcessDoc()
107 std::unique_ptr<xml::XmlResource> cloned_doc = util::make_unique<xml::XmlResource>(doc->file); in ProcessDoc()
130 std::vector<std::unique_ptr<xml::XmlResource>> XmlCompatVersioner::Process( in Process()
131 IAaptContext* context, xml::XmlResource* doc, util::Range<ApiVersion> api_range) { in Process()
136 std::vector<std::unique_ptr<xml::XmlResource>> versioned_docs; in Process()
DXmlCompatVersioner.h60 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,
DLinkers.h124 bool Consume(IAaptContext* context, xml::XmlResource* resource) override;
138 bool Consume(IAaptContext* context, xml::XmlResource* resource) override;
DManifestFixer_test.cpp64 std::unique_ptr<xml::XmlResource> Verify(const StringPiece& str) { in Verify()
68 std::unique_ptr<xml::XmlResource> VerifyWithOptions( in VerifyWithOptions()
70 std::unique_ptr<xml::XmlResource> doc = test::BuildXmlDom(str); in VerifyWithOptions()
576 std::unique_ptr<xml::XmlResource> doc = in TEST_F()
/frameworks/base/tools/aapt2/java/
DManifestClassGenerator_test.cpp28 static ::testing::AssertionResult GetManifestClassText(IAaptContext* context, xml::XmlResource* res,
34 std::unique_ptr<xml::XmlResource> manifest = test::BuildXmlDom(R"(
80 std::unique_ptr<xml::XmlResource> manifest = test::BuildXmlDom(R"(
199 std::unique_ptr<xml::XmlResource> manifest = test::BuildXmlDom(R"(
210 static ::testing::AssertionResult GetManifestClassText(IAaptContext* context, xml::XmlResource* res,
DProguardRules.h85 bool CollectProguardRulesForManifest(xml::XmlResource* res, KeepSet* keep_set,
88 bool CollectProguardRules(IAaptContext* context, xml::XmlResource* res, KeepSet* keep_set);
DManifestClassGenerator.h26 std::unique_ptr<ClassDefinition> GenerateManifestClass(IDiagnostics* diag, xml::XmlResource* res);
/frameworks/base/tools/aapt2/process/
DIResourceTableConsumer.h62 class XmlResource; variable
68 virtual bool Consume(IAaptContext* context, xml::XmlResource* resource) = 0;
/frameworks/base/tools/aapt2/cmd/
DUtil.h58 std::unique_ptr<xml::XmlResource> GenerateSplitManifest(const AppInfo& app_info,
62 Maybe<AppInfo> ExtractAppInfoFromBinaryManifest(const xml::XmlResource& xml_res,
DConvert.cpp49 virtual bool SerializeXml(const xml::XmlResource* xml, const std::string& path, bool utf16,
70 bool SerializeXml(const xml::XmlResource* xml, const std::string& path, bool utf16, in SerializeXml()
113 unique_ptr<xml::XmlResource> xml = DeserializeXmlResourceFromPb(pb_node, &error); in SerializeFile()
152 bool SerializeXml(const xml::XmlResource* xml, const std::string& path, bool utf16, in SerializeXml()
176 std::unique_ptr<xml::XmlResource> xml = xml::Inflate(data->data(), data->size(), &error); in SerializeFile()
/frameworks/base/tools/aapt2/xml/
DXmlActionExecutor_test.cpp43 std::unique_ptr<XmlResource> doc = in TEST()
59 std::unique_ptr<XmlResource> doc; in TEST()
DXmlDom.cpp186 std::unique_ptr<XmlResource> Inflate(InputStream* in, IDiagnostics* diag, const Source& source) { in Inflate()
219 return util::make_unique<XmlResource>(ResourceFile{{}, {}, ResourceFile::Type::kUnknown, source}, in Inflate()
267 std::unique_ptr<XmlResource> Inflate(const void* data, size_t len, std::string* out_error) { in Inflate()
273 std::unique_ptr<XmlResource> xml_resource = util::make_unique<XmlResource>(); in Inflate()
375 std::unique_ptr<XmlResource> XmlResource::Clone() const { in Clone()
376 std::unique_ptr<XmlResource> cloned = util::make_unique<XmlResource>(file); in Clone()
DXmlDom.h146 class XmlResource {
157 std::unique_ptr<XmlResource> Clone() const;
161 std::unique_ptr<XmlResource> Inflate(io::InputStream* in, IDiagnostics* diag, const Source& source);
164 std::unique_ptr<XmlResource> Inflate(const void* data, size_t len,
/frameworks/base/tools/aapt2/format/binary/
DXmlFlattener_test.cpp58 ::testing::AssertionResult Flatten(xml::XmlResource* doc, android::ResXMLTree* out_tree, in Flatten()
80 std::unique_ptr<xml::XmlResource> doc = test::BuildXmlDom(R"( in TEST_F()
139 std::unique_ptr<xml::XmlResource> doc = test::BuildXmlDom(R"( in TEST_F()
160 std::unique_ptr<xml::XmlResource> doc = test::BuildXmlDom(R"( in TEST_F()
290 std::unique_ptr<xml::XmlResource> doc = test::BuildXmlDom( in TEST_F()
342 std::unique_ptr<xml::XmlResource> doc = test::BuildXmlDom( in TEST_F()
456 std::unique_ptr<xml::XmlResource> doc = test::BuildXmlDom(R"(<element foo="bar" />)"); in TEST_F()
477 std::unique_ptr<xml::XmlResource> doc = test::BuildXmlDom(R"(<element foo="bar" />)"); in TEST_F()
500 std::unique_ptr<xml::XmlResource> doc = test::BuildXmlDom(R"(<element foo="true" />)"); in TEST_F()
520 std::unique_ptr<xml::XmlResource> doc = test::BuildXmlDom(R"(<element foo="true" />)"); in TEST_F()
DXmlFlattener.h43 bool Consume(IAaptContext* context, const xml::XmlResource* resource);
/frameworks/base/tools/aapt2/optimize/
DMultiApkGenerator.cpp47 using ::aapt::xml::XmlResource;
159 std::unique_ptr<XmlResource> manifest; in FromBaseApk()
259 std::unique_ptr<XmlResource>* updated_manifest, in UpdateManifest()
261 const xml::XmlResource* apk_manifest = apk_->GetManifest(); in UpdateManifest()
267 XmlResource* manifest = updated_manifest->get(); in UpdateManifest()
/frameworks/base/tools/aapt2/test/
DBuilders.cpp223 std::unique_ptr<xml::XmlResource> BuildXmlDom(const StringPiece& str) { in BuildXmlDom()
228 std::unique_ptr<xml::XmlResource> doc = xml::Inflate(&in, &diag, Source("test.xml")); in BuildXmlDom()
233 std::unique_ptr<xml::XmlResource> BuildXmlDomForPackageName(IAaptContext* context, in BuildXmlDomForPackageName()
235 std::unique_ptr<xml::XmlResource> doc = BuildXmlDom(str); in BuildXmlDomForPackageName()

123