Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/provider/
DSearchIndexablesContract.java87 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 { class in SearchIndexablesContract
185 private XmlResource() { in XmlResource() method in SearchIndexablesContract.XmlResource
/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.h26 bool Consume(IAaptContext* context, xml::XmlResource* xml_res) override;
/frameworks/base/tools/aapt2/link/
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,
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()
DLinkers.h122 bool Consume(IAaptContext* context, xml::XmlResource* resource) override;
136 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()
356 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,
33 std::unique_ptr<xml::XmlResource> manifest = test::BuildXmlDom(R"(
78 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,
DProguardRules.h79 bool CollectProguardRulesForManifest(xml::XmlResource* res, KeepSet* keep_set,
82 bool CollectProguardRules(xml::XmlResource* res, KeepSet* keep_set);
DManifestClassGenerator.h26 std::unique_ptr<ClassDefinition> GenerateManifestClass(IDiagnostics* diag, xml::XmlResource* res);
/frameworks/base/tools/aapt2/
DLoadedApk.h60 std::unique_ptr<ResourceTable> table, std::unique_ptr<xml::XmlResource> manifest, in LoadedApk()
85 const xml::XmlResource* GetManifest() const { in GetManifest()
107 IArchiveWriter* writer, xml::XmlResource* manifest = nullptr);
116 std::unique_ptr<xml::XmlResource> manifest_;
DLoadedApk.cpp32 using ::aapt::xml::XmlResource;
107 std::unique_ptr<xml::XmlResource> manifest = DeserializeXmlResourceFromPb(pb_node, &error); in LoadProtoApkFromFileCollection()
149 std::unique_ptr<xml::XmlResource> manifest = in LoadBinaryApkFromFileCollection()
168 IArchiveWriter* writer, XmlResource* manifest) { in WriteToArchive()
286 std::unique_ptr<xml::XmlResource> manifest = in DetermineApkFormat()
DDebug.h40 static void DumpXml(const xml::XmlResource& doc, text::Printer* printer);
/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.h56 std::unique_ptr<xml::XmlResource> GenerateSplitManifest(const AppInfo& app_info,
60 Maybe<AppInfo> ExtractAppInfoFromBinaryManifest(const xml::XmlResource& xml_res,
DConvert.cpp47 virtual bool SerializeXml(const xml::XmlResource* xml, const std::string& path, bool utf16,
137 bool SerializeXml(const xml::XmlResource* xml, const std::string& path, bool utf16, in SerializeXml()
183 unique_ptr<xml::XmlResource> xml = DeserializeXmlResourceFromPb(pb_node, &error); in SerializeFile()
220 bool SerializeXml(const xml::XmlResource* xml, const std::string& path, bool utf16, in SerializeXml()
244 std::unique_ptr<xml::XmlResource> xml = xml::Inflate(data->data(), data->size(), &error); in SerializeFile()
DUtil.cpp168 std::unique_ptr<xml::XmlResource> GenerateSplitManifest(const AppInfo& app_info, in GenerateSplitManifest()
227 std::unique_ptr<xml::XmlResource> doc = util::make_unique<xml::XmlResource>(); in GenerateSplitManifest()
317 Maybe<AppInfo> ExtractAppInfoFromBinaryManifest(const xml::XmlResource& xml_res, in ExtractAppInfoFromBinaryManifest()
/frameworks/base/tools/aapt2/xml/
DXmlActionExecutor_test.cpp43 std::unique_ptr<XmlResource> doc = in TEST()
59 std::unique_ptr<XmlResource> doc; in TEST()
DXmlDom.cpp185 std::unique_ptr<XmlResource> Inflate(InputStream* in, IDiagnostics* diag, const Source& source) { in Inflate()
218 return util::make_unique<XmlResource>(ResourceFile{{}, {}, ResourceFile::Type::kUnknown, source}, in Inflate()
266 std::unique_ptr<XmlResource> Inflate(const void* data, size_t len, std::string* out_error) { in Inflate()
271 std::unique_ptr<XmlResource> xml_resource = util::make_unique<XmlResource>(); in Inflate()
371 std::unique_ptr<XmlResource> XmlResource::Clone() const { in Clone()
372 std::unique_ptr<XmlResource> cloned = util::make_unique<XmlResource>(file); in Clone()
DXmlDom.h144 class XmlResource {
155 std::unique_ptr<XmlResource> Clone() const;
159 std::unique_ptr<XmlResource> Inflate(io::InputStream* in, IDiagnostics* diag, const Source& source);
162 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()
449 std::unique_ptr<xml::XmlResource> doc = test::BuildXmlDom(R"(<element foo="bar" />)"); in TEST_F()
470 std::unique_ptr<xml::XmlResource> doc = test::BuildXmlDom(R"(<element foo="bar" />)"); in TEST_F()
493 std::unique_ptr<xml::XmlResource> doc = test::BuildXmlDom(R"(<element foo="true" />)"); in TEST_F()
513 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.cpp45 using ::aapt::xml::XmlResource;
156 std::unique_ptr<XmlResource> manifest; in FromBaseApk()
256 std::unique_ptr<XmlResource>* updated_manifest, in UpdateManifest()
258 const xml::XmlResource* apk_manifest = apk_->GetManifest(); in UpdateManifest()
264 XmlResource* manifest = updated_manifest->get(); in UpdateManifest()
/frameworks/base/tools/aapt2/test/
DBuilders.cpp214 std::unique_ptr<xml::XmlResource> BuildXmlDom(const StringPiece& str) { in BuildXmlDom()
219 std::unique_ptr<xml::XmlResource> doc = xml::Inflate(&in, &diag, Source("test.xml")); in BuildXmlDom()
224 std::unique_ptr<xml::XmlResource> BuildXmlDomForPackageName(IAaptContext* context, in BuildXmlDomForPackageName()
226 std::unique_ptr<xml::XmlResource> doc = BuildXmlDom(str); in BuildXmlDomForPackageName()

123