Home
last modified time | relevance | path

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

1234

/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;
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;
DResourceExcluder_test.cpp45 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()
DXmlReferenceLinker.cpp43 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()
DNoDefaultResourceRemover_test.cpp24 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()
DProductFilter_test.cpp26 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()
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_test.cpp43 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()
DTableMerger.h60 TableMerger(IAaptContext* context, ResourceTable* out_table, const TableMergerOptions& options);
80 IAaptContext* context_;
DReferenceLinker.h79 static bool LinkReference(const CallSite& callsite, Reference* reference, IAaptContext* context,
83 bool Consume(IAaptContext* context, ResourceTable* table) override;
DResourceExcluder.cpp32 IAaptContext* context, in RemoveIfExcluded()
68 bool ResourceExcluder::Consume(IAaptContext* context, ResourceTable* table) { in Consume()
/frameworks/base/tools/aapt2/optimize/
DResourceDeduper.cpp46 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()
DMultiApkGenerator.h46 MultiApkGenerator(LoadedApk* apk, IAaptContext* context);
55 virtual std::unique_ptr<ResourceTable> FilterTable(IAaptContext* context,
74 IAaptContext* context_;
DMultiApkGenerator_test.cpp59 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()
DResourceDeduper_test.cpp29 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/
DJavaClassGenerator_test.cpp41 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 …]
DManifestClassGenerator_test.cpp28 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/
DUtil.h33 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,
DUtil.cpp29 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/
DXmlFlattener.h43 bool Consume(IAaptContext* context, const xml::XmlResource* resource);
48 bool Flatten(IAaptContext* context, const xml::Node* node);
/frameworks/base/tools/aapt2/compile/
DXmlIdCollector_test.cpp26 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
68 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
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,
/frameworks/base/tools/aapt2/cmd/
DConvert.cpp46 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()
DDiff.cpp30 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()

1234