/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; 89 bool Consume(IAaptContext* context, ResourceTable* table) override; 108 bool Consume(IAaptContext* context, ResourceTable* table) override; 124 bool Consume(IAaptContext* context, xml::XmlResource* resource) override; 138 bool Consume(IAaptContext* context, xml::XmlResource* resource) override;
|
D | ResourceExcluder_test.cpp | 45 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST() 63 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST() 81 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST() 99 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST() 126 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST() 155 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST() 176 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST() 198 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
|
D | XmlReferenceLinker.cpp | 43 ReferenceVisitor(const CallSite& callsite, IAaptContext* context, SymbolTable* symbols, in ReferenceVisitor() 61 IAaptContext* context_; 72 XmlVisitor(const Source& source, const CallSite& callsite, IAaptContext* context, in XmlVisitor() 145 IAaptContext* context_; 154 bool XmlReferenceLinker::Consume(IAaptContext* context, xml::XmlResource* resource) { in Consume()
|
D | NoDefaultResourceRemover_test.cpp | 24 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST() 50 std::unique_ptr<IAaptContext> context = test::ContextBuilder().SetMinSdkVersion(26).Build(); in TEST() 74 std::unique_ptr<IAaptContext> context = test::ContextBuilder().SetMinSdkVersion(3).Build(); in TEST() 90 std::unique_ptr<IAaptContext> context = test::ContextBuilder().SetMinSdkVersion(8).Build(); in TEST()
|
D | ProductFilter_test.cpp | 26 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST() 64 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST() 90 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST() 114 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); 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_test.cpp | 43 std::unique_ptr<IAaptContext> context = in TEST() 97 std::unique_ptr<IAaptContext> context = in TEST() 140 std::unique_ptr<IAaptContext> context = in TEST() 184 std::unique_ptr<IAaptContext> context = in TEST() 209 std::unique_ptr<IAaptContext> context = in TEST() 240 std::unique_ptr<IAaptContext> context = in TEST()
|
D | TableMerger.h | 60 TableMerger(IAaptContext* context, ResourceTable* out_table, const TableMergerOptions& options); 80 IAaptContext* context_;
|
D | ReferenceLinker.h | 79 static bool LinkReference(const CallSite& callsite, Reference* reference, IAaptContext* context, 83 bool Consume(IAaptContext* context, ResourceTable* table) override;
|
D | ResourceExcluder.cpp | 32 IAaptContext* context, in RemoveIfExcluded() 68 bool ResourceExcluder::Consume(IAaptContext* context, ResourceTable* table) { in Consume()
|
/frameworks/base/tools/aapt2/optimize/ |
D | ResourceDeduper.cpp | 46 explicit DominatedKeyValueRemover(IAaptContext* context, ResourceEntry* entry) in DominatedKeyValueRemover() 92 IAaptContext* context_; 96 static void DedupeEntry(IAaptContext* context, ResourceEntry* entry) { in DedupeEntry() 113 bool ResourceDeduper::Consume(IAaptContext* context, ResourceTable* table) { in Consume()
|
D | MultiApkGenerator.h | 46 MultiApkGenerator(LoadedApk* apk, IAaptContext* context); 55 virtual std::unique_ptr<ResourceTable> FilterTable(IAaptContext* context, 74 IAaptContext* context_;
|
D | MultiApkGenerator_test.cpp | 59 MultiApkGeneratorWrapper(LoadedApk* apk, IAaptContext* context) in MultiApkGeneratorWrapper() 63 std::unique_ptr<ResourceTable> FilterTable(IAaptContext* context, in FilterTable() 110 std::unique_ptr<IAaptContext> ctx = test::ContextBuilder().SetMinSdkVersion(19).Build(); in TEST_F() 137 std::unique_ptr<IAaptContext> ctx = test::ContextBuilder().SetMinSdkVersion(1).Build(); in TEST_F() 162 std::unique_ptr<IAaptContext> ctx = test::ContextBuilder().SetMinSdkVersion(1).Build(); in TEST_F()
|
D | ResourceDeduper_test.cpp | 29 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST() 67 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST() 89 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
|
/frameworks/base/tools/aapt2/java/ |
D | JavaClassGenerator_test.cpp | 41 std::unique_ptr<IAaptContext> context = in TEST() 67 std::unique_ptr<IAaptContext> context = in TEST() 92 std::unique_ptr<IAaptContext> context = in TEST() 129 std::unique_ptr<IAaptContext> context = in TEST() 167 std::unique_ptr<IAaptContext> context = in TEST() 195 std::unique_ptr<IAaptContext> context = in TEST() 290 std::unique_ptr<IAaptContext> context = in TEST() 315 std::unique_ptr<IAaptContext> context = in TEST() 355 std::unique_ptr<IAaptContext> context = in TEST() 393 std::unique_ptr<IAaptContext> context = in TEST() [all …]
|
D | ManifestClassGenerator_test.cpp | 28 static ::testing::AssertionResult GetManifestClassText(IAaptContext* context, xml::XmlResource* res, 33 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); 79 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); 198 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); 210 static ::testing::AssertionResult GetManifestClassText(IAaptContext* context, xml::XmlResource* res,
|
/frameworks/base/tools/aapt2/io/ |
D | Util.h | 33 bool CopyInputStreamToArchive(IAaptContext* context, InputStream* in, const std::string& out_path, 36 bool CopyFileToArchive(IAaptContext* context, IFile* file, const std::string& out_path, 39 bool CopyFileToArchivePreserveCompression(IAaptContext* context, IFile* file, 42 bool CopyProtoToArchive(IAaptContext* context, ::google::protobuf::MessageLite* proto_msg,
|
D | Util.cpp | 29 bool CopyInputStreamToArchive(IAaptContext* context, InputStream* in, const std::string& out_path, in CopyInputStreamToArchive() 44 bool CopyFileToArchive(IAaptContext* context, io::IFile* file, const std::string& out_path, in CopyFileToArchive() 55 bool CopyFileToArchivePreserveCompression(IAaptContext* context, io::IFile* file, in CopyFileToArchivePreserveCompression() 61 bool CopyProtoToArchive(IAaptContext* context, ::google::protobuf::MessageLite* proto_msg, in CopyProtoToArchive()
|
/frameworks/base/tools/aapt2/format/binary/ |
D | XmlFlattener.h | 43 bool Consume(IAaptContext* context, const xml::XmlResource* resource); 48 bool Flatten(IAaptContext* context, const xml::Node* node);
|
/frameworks/base/tools/aapt2/compile/ |
D | XmlIdCollector_test.cpp | 26 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST() 68 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
|
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,
|
/frameworks/base/tools/aapt2/cmd/ |
D | Convert.cpp | 46 IApkSerializer(IAaptContext* context, const Source& source) : context_(context), in IApkSerializer() 57 IAaptContext* context_; 63 BinaryApkSerializer(IAaptContext* context, const Source& source, in BinaryApkSerializer() 149 ProtoApkSerializer(IAaptContext* context, const Source& source) in ProtoApkSerializer() 206 class Context : public IAaptContext { 257 int Convert(IAaptContext* context, LoadedApk* apk, IArchiveWriter* output_writer, in Convert()
|
D | Diff.cpp | 30 class DiffContext : public IAaptContext { 92 static bool EmitResourceConfigValueDiff(IAaptContext* context, LoadedApk* apk_a, in EmitResourceConfigValueDiff() 113 static bool EmitResourceEntryDiff(IAaptContext* context, LoadedApk* apk_a, in EmitResourceEntryDiff() 148 static bool EmitResourceTypeDiff(IAaptContext* context, LoadedApk* apk_a, in EmitResourceTypeDiff() 217 static bool EmitResourcePackageDiff(IAaptContext* context, LoadedApk* apk_a, in EmitResourcePackageDiff() 282 static bool EmitResourceTableDiff(IAaptContext* context, LoadedApk* apk_a, LoadedApk* apk_b) { in EmitResourceTableDiff()
|