Home
last modified time | relevance | path

Searched refs:IAaptContext (Results 1 – 25 of 72) sorted by relevance

123

/frameworks/base/tools/aapt2/process/
DIResourceTableConsumer.h42 struct IAaptContext { struct
43 virtual ~IAaptContext() = default;
58 virtual bool Consume(IAaptContext* context, ResourceTable* table) = 0;
68 virtual bool Consume(IAaptContext* context, xml::XmlResource* resource) = 0;
/frameworks/base/tools/aapt2/link/
DLinkers.h59 bool Consume(IAaptContext* context, ResourceTable* table) override;
102 bool Consume(IAaptContext* context, ResourceTable* table) override;
121 bool Consume(IAaptContext* context, ResourceTable* table) override;
141 bool Consume(IAaptContext* context, xml::XmlResource* resource) override;
158 bool Consume(IAaptContext* context, xml::XmlResource* resource) override;
DXmlReferenceLinker.cpp45 ReferenceVisitor(const CallSite& callsite, IAaptContext* context, SymbolTable* symbols, in ReferenceVisitor()
61 IAaptContext* context_;
74 XmlVisitor(const Source& source, const CallSite& callsite, IAaptContext* context, in XmlVisitor()
156 IAaptContext* context_;
165 bool XmlReferenceLinker::Consume(IAaptContext* context, xml::XmlResource* resource) { in Consume()
DProductFilter_test.cpp24 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
62 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
88 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
112 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
DReferenceLinker_test.cpp41 std::unique_ptr<IAaptContext> context = in TEST()
95 std::unique_ptr<IAaptContext> context = in TEST()
138 std::unique_ptr<IAaptContext> context = in TEST()
182 std::unique_ptr<IAaptContext> context = in TEST()
207 std::unique_ptr<IAaptContext> context = in TEST()
238 std::unique_ptr<IAaptContext> context = in TEST()
DPrivateAttributeMover_test.cpp24 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
58 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
80 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
DReferenceLinker.h103 static bool LinkReference(const CallSite& callsite, Reference* reference, IAaptContext* context,
109 bool Consume(IAaptContext* context, ResourceTable* table) override;
DTableMerger.h70 TableMerger(IAaptContext* context, ResourceTable* out_table,
120 IAaptContext* context_;
/frameworks/base/tools/aapt2/io/
DUtil.h32 bool CopyInputStreamToArchive(IAaptContext* context, InputStream* in, const std::string& out_path,
35 bool CopyFileToArchive(IAaptContext* context, IFile* file, const std::string& out_path,
38 bool CopyProtoToArchive(IAaptContext* context, ::google::protobuf::MessageLite* proto_msg,
DUtil.cpp24 bool CopyInputStreamToArchive(IAaptContext* context, InputStream* in, const std::string& out_path, in CopyInputStreamToArchive()
38 bool CopyFileToArchive(IAaptContext* context, io::IFile* file, const std::string& out_path, in CopyFileToArchive()
48 bool CopyProtoToArchive(IAaptContext* context, ::google::protobuf::MessageLite* proto_msg, in CopyProtoToArchive()
/frameworks/base/tools/aapt2/optimize/
DResourceDeduper.cpp43 explicit DominatedKeyValueRemover(IAaptContext* context, ResourceEntry* entry) in DominatedKeyValueRemover()
89 IAaptContext* context_;
93 static void DedupeEntry(IAaptContext* context, ResourceEntry* entry) { in DedupeEntry()
110 bool ResourceDeduper::Consume(IAaptContext* context, ResourceTable* table) { in Consume()
DResourceDeduper_test.cpp28 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
66 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
88 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
/frameworks/base/tools/aapt2/flatten/
DTableFlattener_test.cpp43 ::testing::AssertionResult Flatten(IAaptContext* context, const TableFlattenerOptions& options, in Flatten()
54 ::testing::AssertionResult Flatten(IAaptContext* context, const TableFlattenerOptions& options, in Flatten()
68 ::testing::AssertionResult Flatten(IAaptContext* context, const TableFlattenerOptions& options, in Flatten()
145 std::unique_ptr<IAaptContext> context_;
250 IAaptContext* context, const ConfigDescription& sparse_config, float load) { in BuildTableWithSparseEntries()
279 std::unique_ptr<IAaptContext> context = test::ContextBuilder() in TEST_F()
319 std::unique_ptr<IAaptContext> context = test::ContextBuilder() in TEST_F()
341 std::unique_ptr<IAaptContext> context = test::ContextBuilder() in TEST_F()
363 std::unique_ptr<IAaptContext> context = in TEST_F()
384 std::unique_ptr<IAaptContext> context = in TEST_F()
[all …]
DXmlFlattener.h44 bool Consume(IAaptContext* context, xml::XmlResource* resource) override;
49 bool Flatten(IAaptContext* context, xml::Node* node);
/frameworks/base/tools/aapt2/
DLoadedApk.h50 bool WriteToArchive(IAaptContext* context, const TableFlattenerOptions& options,
58 bool WriteToArchive(IAaptContext* context, const TableFlattenerOptions& options,
61 static std::unique_ptr<LoadedApk> LoadApkFromPath(IAaptContext* context,
DLoadedApk.cpp28 std::unique_ptr<LoadedApk> LoadedApk::LoadApkFromPath(IAaptContext* context, in LoadApkFromPath()
58 bool LoadedApk::WriteToArchive(IAaptContext* context, const TableFlattenerOptions& options, in WriteToArchive()
64 bool LoadedApk::WriteToArchive(IAaptContext* context, const TableFlattenerOptions& options, in WriteToArchive()
/frameworks/base/tools/aapt2/java/
DManifestClassGenerator_test.cpp26 static ::testing::AssertionResult GetManifestClassText(IAaptContext* context, xml::XmlResource* res,
30 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build();
75 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build();
130 static ::testing::AssertionResult GetManifestClassText(IAaptContext* context, xml::XmlResource* res,
DJavaClassGenerator_test.cpp38 std::unique_ptr<IAaptContext> context = in TEST()
64 std::unique_ptr<IAaptContext> context = in TEST()
95 std::unique_ptr<IAaptContext> context = in TEST()
121 std::unique_ptr<IAaptContext> context = in TEST()
151 std::unique_ptr<IAaptContext> context = in TEST()
249 std::unique_ptr<IAaptContext> context = in TEST()
274 std::unique_ptr<IAaptContext> context = in TEST()
315 std::unique_ptr<IAaptContext> context = in TEST()
350 std::unique_ptr<IAaptContext> context = in TEST()
391 std::unique_ptr<IAaptContext> context = in TEST()
[all …]
DJavaClassGenerator.h65 JavaClassGenerator(IAaptContext* context, ResourceTable* table,
111 IAaptContext* context_;
/frameworks/base/tools/aapt2/compile/
DIdAssigner_test.cpp33 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
56 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
103 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
116 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
DPng.h93 std::unique_ptr<Image> ReadPng(IAaptContext* context, const Source& source, io::InputStream* in);
99 bool WritePng(IAaptContext* context, const Image* image,
DInlineXmlFormatParser.cpp41 explicit Visitor(IAaptContext* context, xml::XmlResource* xml_resource) in Visitor()
104 IAaptContext* context_;
112 bool InlineXmlFormatParser::Consume(IAaptContext* context, xml::XmlResource* doc) { in Consume()
/frameworks/base/tools/aapt2/cmd/
DDiff.cpp29 class DiffContext : public IAaptContext {
91 static bool EmitResourceConfigValueDiff(IAaptContext* context, LoadedApk* apk_a, in EmitResourceConfigValueDiff()
112 static bool EmitResourceEntryDiff(IAaptContext* context, LoadedApk* apk_a, in EmitResourceEntryDiff()
147 static bool EmitResourceTypeDiff(IAaptContext* context, LoadedApk* apk_a, in EmitResourceTypeDiff()
216 static bool EmitResourcePackageDiff(IAaptContext* context, LoadedApk* apk_a, in EmitResourcePackageDiff()
280 static bool EmitResourceTableDiff(IAaptContext* context, LoadedApk* apk_a, LoadedApk* apk_b) { in EmitResourceTableDiff()
DDump.cpp35 const Source& source, IAaptContext* context) { in DumpCompiledFile()
49 bool TryDumpFile(IAaptContext* context, const std::string& file_path) { in TryDumpFile()
150 class DumpContext : public IAaptContext {
DCompile.cpp138 static bool LoadInputFilesFromDir(IAaptContext* context, const CompileOptions& options, in LoadInputFilesFromDir()
188 static bool CompileTable(IAaptContext* context, const CompileOptions& options, in CompileTable()
339 static bool FlattenXmlToOutStream(IAaptContext* context, const StringPiece& output_path, in FlattenXmlToOutStream()
361 static bool IsValidFile(IAaptContext* context, const std::string& input_path) { in IsValidFile()
378 static bool CompileXml(IAaptContext* context, const CompileOptions& options, in CompileXml()
453 static bool CompilePng(IAaptContext* context, const CompileOptions& options, in CompilePng()
563 static bool CompileFile(IAaptContext* context, const CompileOptions& options, in CompileFile()
591 class CompileContext : public IAaptContext {

123