Home
last modified time | relevance | path

Searched refs:Consume (Results 1 – 25 of 59) sorted by relevance

123

/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.cpp57 ASSERT_TRUE(ResourceExcluder(args).Consume(context.get(), table.get())); in TEST()
75 ASSERT_TRUE(ResourceExcluder(args).Consume(context.get(), table.get())); in TEST()
93 ASSERT_TRUE(ResourceExcluder(args).Consume(context.get(), table.get())); in TEST()
117 ASSERT_TRUE(ResourceExcluder(args).Consume(context.get(), table.get())); in TEST()
146 ASSERT_TRUE(ResourceExcluder(args).Consume(context.get(), table.get())); in TEST()
169 ASSERT_TRUE(ResourceExcluder(args).Consume(context.get(), table.get())); in TEST()
191 ASSERT_TRUE(ResourceExcluder(args).Consume(context.get(), table.get())); in TEST()
214 ASSERT_TRUE(ResourceExcluder(args).Consume(context.get(), table.get())); in TEST()
DNoDefaultResourceRemover_test.cpp41 ASSERT_TRUE(remover.Consume(context.get(), table.get())); in TEST()
66 ASSERT_TRUE(remover.Consume(context.get(), table.get())); in TEST()
84 ASSERT_TRUE(remover.Consume(context.get(), table.get())); in TEST()
103 ASSERT_TRUE(remover.Consume(context.get(), table.get())); in TEST()
DProductFilter_test.cpp51 ASSERT_TRUE(filter.Consume(context.get(), &table)); in TEST()
79 ASSERT_TRUE(filter.Consume(context.get(), &table)); in TEST()
110 ASSERT_FALSE(filter.Consume(context.get(), &table)); in TEST()
129 ASSERT_FALSE(filter.Consume(context.get(), &table)); in TEST()
DPrivateAttributeMover_test.cpp39 ASSERT_TRUE(mover.Consume(context.get(), table.get())); in TEST()
66 ASSERT_TRUE(mover.Consume(context.get(), table.get())); in TEST()
93 ASSERT_TRUE(mover.Consume(context.get(), table.get())); in TEST()
DReferenceLinker_test.cpp57 ASSERT_TRUE(linker.Consume(context.get(), table.get())); in TEST()
120 ASSERT_TRUE(linker.Consume(context.get(), table.get())); in TEST()
167 ASSERT_TRUE(linker.Consume(context.get(), table.get())); in TEST()
198 ASSERT_FALSE(linker.Consume(context.get(), table.get())); in TEST()
226 ASSERT_FALSE(linker.Consume(context.get(), table.get())); in TEST()
257 ASSERT_FALSE(linker.Consume(context.get(), table.get())); in TEST()
DNoDefaultResourceRemover.h37 bool Consume(IAaptContext* context, ResourceTable* table) override;
/frameworks/base/tools/aapt2/process/
DIResourceTableConsumer.h58 virtual bool Consume(IAaptContext* context, ResourceTable* table) = 0;
68 virtual bool Consume(IAaptContext* context, xml::XmlResource* resource) = 0;
/frameworks/base/tools/aapt2/compile/
DXmlIdCollector_test.cpp62 ASSERT_TRUE(collector.Consume(context.get(), doc.get())); in TEST()
74 ASSERT_FALSE(collector.Consume(context.get(), doc.get())); in TEST()
DIdAssigner_test.cpp36 ASSERT_TRUE(assigner.Consume(context.get(), table.get())); in TEST()
59 ASSERT_TRUE(assigner.Consume(context.get(), table.get())); in TEST()
106 ASSERT_FALSE(assigner.Consume(context.get(), table.get())); in TEST()
120 ASSERT_TRUE(assigner.Consume(context.get(), table.get())); in TEST()
DXmlIdCollector.h26 bool Consume(IAaptContext* context, xml::XmlResource* xml_res) override;
DPseudolocaleGenerator.h30 bool Consume(IAaptContext* context, ResourceTable* table) override;
DIdAssigner.h37 bool Consume(IAaptContext* context, ResourceTable* table) override;
DInlineXmlFormatParser.h50 bool Consume(IAaptContext* context, xml::XmlResource* doc) override;
/frameworks/base/tools/aapt2/optimize/
DResourceDeduper_test.cpp54 ASSERT_TRUE(ResourceDeduper().Consume(context.get(), table.get())); in TEST()
82 ASSERT_TRUE(ResourceDeduper().Consume(context.get(), table.get())); in TEST()
101 ASSERT_TRUE(ResourceDeduper().Consume(context.get(), table.get())); in TEST()
DResourceFilter_test.cpp45 ASSERT_TRUE(ResourceFilter(blacklist).Consume(context.get(), table.get())); in TEST()
68 ASSERT_TRUE(ResourceFilter(blacklist).Consume(context.get(), table.get())); in TEST()
DVersionCollapser_test.cpp45 ASSERT_TRUE(collapser.Consume(context.get(), table.get())); in TEST()
87 ASSERT_TRUE(collapser.Consume(context.get(), table.get())); in TEST()
DResourceDeduper.h33 bool Consume(IAaptContext* context, ResourceTable* table) override;
DVersionCollapser.h32 bool Consume(IAaptContext* context, ResourceTable* table) override;
DResourceFilter.h33 bool Consume(IAaptContext* context, ResourceTable* table) override;
DResourcePathShortener.h35 bool Consume(IAaptContext* context, ResourceTable* table) override;
DResourceFilter.cpp27 bool ResourceFilter::Consume(IAaptContext* context, ResourceTable* table) { in Consume() function in aapt::ResourceFilter
/frameworks/base/tools/aapt2/cmd/
DOptimize.cpp131 if (!filter.Consume(context_, apk->GetResourceTable())) { in Run()
138 if (!collapser.Consume(context_, apk->GetResourceTable())) { in Run()
143 if (!deduper.Consume(context_, apk->GetResourceTable())) { in Run()
150 if (!shortener.Consume(context_, apk->GetResourceTable())) { in Run()
227 if (!xml_flattener.Consume(context_, manifest)) { in WriteSplitApk()
275 if (!table_flattener.Consume(context_, table)) { in WriteSplitApk()
DLink.cpp231 if (!flattener.Consume(context, &xml_res)) { in FlattenXml()
441 if (!xml_linker.Consume(context_, doc)) { in LinkAndVersionXmlFile()
451 if (!namespace_remover.Consume(context_, doc)) { in LinkAndVersionXmlFile()
1056 if (!flattener.Consume(context_, table)) { in FlattenTable()
1688 if (!manifest_fixer.Consume(context_, manifest_xml.get())) { in Run()
1731 if (!collector.Consume(context_, manifest_xml.get())) { in Run()
1760 if (!mover.Consume(context_, &final_table_)) { in Run()
1767 if (!id_assigner.Consume(context_, &final_table_)) { in Run()
1823 if (!NoDefaultResourceRemover{}.Consume(context_, &final_table_)) { in Run()
1831 if (!linker.Consume(context_, &final_table_)) { in Run()
[all …]
/frameworks/base/tools/aapt2/format/binary/
DXmlFlattener.h43 bool Consume(IAaptContext* context, const xml::XmlResource* resource);

123