/frameworks/base/tools/aapt2/process/ |
D | IResourceTableConsumer.h | 42 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/ |
D | Linkers.h | 59 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;
|
D | XmlReferenceLinker.cpp | 45 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()
|
D | ProductFilter_test.cpp | 24 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()
|
D | ReferenceLinker_test.cpp | 41 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()
|
D | PrivateAttributeMover_test.cpp | 24 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()
|
D | ReferenceLinker.h | 103 static bool LinkReference(const CallSite& callsite, Reference* reference, IAaptContext* context, 109 bool Consume(IAaptContext* context, ResourceTable* table) override;
|
D | TableMerger.h | 70 TableMerger(IAaptContext* context, ResourceTable* out_table, 120 IAaptContext* context_;
|
/frameworks/base/tools/aapt2/io/ |
D | Util.h | 32 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,
|
D | Util.cpp | 24 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/ |
D | ResourceDeduper.cpp | 43 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()
|
D | ResourceDeduper_test.cpp | 28 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/ |
D | TableFlattener_test.cpp | 43 ::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 …]
|
D | XmlFlattener.h | 44 bool Consume(IAaptContext* context, xml::XmlResource* resource) override; 49 bool Flatten(IAaptContext* context, xml::Node* node);
|
/frameworks/base/tools/aapt2/ |
D | LoadedApk.h | 50 bool WriteToArchive(IAaptContext* context, const TableFlattenerOptions& options, 58 bool WriteToArchive(IAaptContext* context, const TableFlattenerOptions& options, 61 static std::unique_ptr<LoadedApk> LoadApkFromPath(IAaptContext* context,
|
D | LoadedApk.cpp | 28 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/ |
D | ManifestClassGenerator_test.cpp | 26 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,
|
D | JavaClassGenerator_test.cpp | 38 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 …]
|
D | JavaClassGenerator.h | 65 JavaClassGenerator(IAaptContext* context, ResourceTable* table, 111 IAaptContext* context_;
|
/frameworks/base/tools/aapt2/compile/ |
D | IdAssigner_test.cpp | 33 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()
|
D | Png.h | 93 std::unique_ptr<Image> ReadPng(IAaptContext* context, const Source& source, io::InputStream* in); 99 bool WritePng(IAaptContext* context, const Image* image,
|
D | InlineXmlFormatParser.cpp | 41 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/ |
D | Diff.cpp | 29 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()
|
D | Dump.cpp | 35 const Source& source, IAaptContext* context) { in DumpCompiledFile() 49 bool TryDumpFile(IAaptContext* context, const std::string& file_path) { in TryDumpFile() 150 class DumpContext : public IAaptContext {
|
D | Compile.cpp | 138 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 {
|