Home
last modified time | relevance | path

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

123

/frameworks/base/tools/aapt2/compile/
DIdAssigner_test.cpp40 ASSERT_TRUE(assigner.Consume(context.get(), table.get())); in TEST_F()
57 ASSERT_TRUE(assigner.Consume(context.get(), table.get())); in TEST_F()
98 ASSERT_FALSE(assigner.Consume(context.get(), table.get())); in TEST_F()
107 ASSERT_FALSE(assigner.Consume(context.get(), table.get())); in TEST_F()
116 ASSERT_FALSE(assigner.Consume(context.get(), table.get())); in TEST_F()
130 ASSERT_FALSE(assigner.Consume(context.get(), table.get())); in TEST_F()
143 ASSERT_FALSE(assigner.Consume(context.get(), table.get())); in TEST_F()
154 ASSERT_TRUE(assigner.Consume(context.get(), table.get())); in TEST_F()
172 ASSERT_TRUE(assigner.Consume(context.get(), &table)); in TEST_F()
184 ASSERT_FALSE(assigner.Consume(context.get(), &table)); in TEST_F()
[all …]
DXmlIdCollector_test.cpp62 ASSERT_TRUE(collector.Consume(context.get(), doc.get())); in TEST()
74 ASSERT_FALSE(collector.Consume(context.get(), doc.get())); in TEST()
DXmlIdCollector.h26 bool Consume(IAaptContext* context, xml::XmlResource* xml_res) override;
DIdAssigner.h37 bool Consume(IAaptContext* context, ResourceTable* table) override;
DInlineXmlFormatParser.h50 bool Consume(IAaptContext* context, xml::XmlResource* doc) override;
DPseudolocaleGenerator_test.cpp201 ASSERT_TRUE(generator.Consume(context.get(), table.get())); in TEST()
253 ASSERT_TRUE(generator.Consume(context.get(), table.get())); in TEST()
291 ASSERT_TRUE(generator.Consume(context.get(), table.get())); in TEST()
314 ASSERT_TRUE(generator.Consume(context.get(), table.get())); in TEST()
354 ASSERT_TRUE(generator.Consume(context.get(), table.get())); in TEST()
413 ASSERT_TRUE(generator.Consume(context.get(), table.get())); in TEST()
457 ASSERT_TRUE(generator_0.Consume(context_0.get(), table_0.get())); in TEST()
488 ASSERT_TRUE(generator_1.Consume(context_1.get(), table_1.get())); in TEST()
514 ASSERT_FALSE(generator_2.Consume(context_2.get(), table_2.get())); in TEST()
/frameworks/base/tools/aapt2/link/
DLinkers.h59 bool Consume(IAaptContext* context, ResourceTable* table) override;
89 bool Consume(IAaptContext* context, ResourceTable* table) override;
103 bool Consume(IAaptContext* context, xml::XmlResource* resource) override;
118 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.cpp40 ASSERT_TRUE(remover.Consume(context.get(), table.get())); in TEST()
65 ASSERT_TRUE(remover.Consume(context.get(), table.get())); in TEST()
83 ASSERT_TRUE(remover.Consume(context.get(), table.get())); in TEST()
102 ASSERT_TRUE(remover.Consume(context.get(), table.get())); 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.cpp56 ASSERT_TRUE(linker.Consume(context.get(), table.get())); in TEST()
118 ASSERT_TRUE(linker.Consume(context.get(), table.get())); in TEST()
164 ASSERT_TRUE(linker.Consume(context.get(), table.get())); in TEST()
194 ASSERT_FALSE(linker.Consume(context.get(), table.get())); in TEST()
221 ASSERT_FALSE(linker.Consume(context.get(), table.get())); in TEST()
251 ASSERT_FALSE(linker.Consume(context.get(), table.get())); in TEST()
383 ASSERT_FALSE(linker.Consume(context.get(), table.get())); in TEST()
DNoDefaultResourceRemover.h37 bool Consume(IAaptContext* context, ResourceTable* table) override;
DFeatureFlagsFilter.h70 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()
84 ASSERT_TRUE(ResourceDeduper().Consume(context.get(), table.get())); in TEST()
107 ASSERT_TRUE(ResourceDeduper().Consume(context.get(), table.get())); in TEST()
130 ASSERT_TRUE(ResourceDeduper().Consume(context.get(), table.get())); in TEST()
150 ASSERT_TRUE(ResourceDeduper().Consume(context.get(), table.get())); in TEST()
169 ASSERT_TRUE(ResourceDeduper().Consume(context.get(), table.get())); in TEST()
DObfuscator_test.cpp83 ASSERT_TRUE(Obfuscator(options).Consume(context.get(), table.get())); in TEST()
120 ASSERT_TRUE(Obfuscator(options).Consume(context.get(), table.get())); in TEST()
142 ASSERT_TRUE(Obfuscator(options).Consume(context.get(), table.get())); in TEST()
179 ASSERT_TRUE(Obfuscator(options).Consume(context.get(), table.get())); in TEST()
230 ASSERT_TRUE(obfuscator.Consume(context.get(), table.get())); in TEST()
272 ASSERT_TRUE(Obfuscator(options).Consume(context.get(), table1.get())); in TEST()
294 ASSERT_TRUE(Obfuscator(actualOptimizerOptions).Consume(context.get(), table2.get())); in TEST()
333 ASSERT_TRUE(Obfuscator(options).Consume(context.get(), table.get())); in TEST()
388 ASSERT_TRUE(obfuscator.Consume(test::ContextBuilder().Build().get(), in TEST()
417 ASSERT_TRUE(obfuscator.Consume(test::ContextBuilder().Build().get(), in TEST()
DResourceFilter_test.cpp45 ASSERT_TRUE(ResourceFilter(exclude_list).Consume(context.get(), table.get())); in TEST()
68 ASSERT_TRUE(ResourceFilter(exclude_list).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;
DResourceFilter.cpp27 bool ResourceFilter::Consume(IAaptContext* context, ResourceTable* table) { in Consume() function in aapt::ResourceFilter
/frameworks/base/tools/aapt2/process/
DIResourceTableConsumer.h60 virtual bool Consume(IAaptContext* context, ResourceTable* table) = 0;
70 virtual bool Consume(IAaptContext* context, xml::XmlResource* resource) = 0;
DProductFilter_test.cpp61 ASSERT_TRUE(filter.Consume(context.get(), &table)); in TEST()
91 ASSERT_TRUE(filter.Consume(context.get(), &table)); in TEST()
125 ASSERT_FALSE(filter.Consume(context.get(), &table)); in TEST()
147 ASSERT_FALSE(filter.Consume(context.get(), &table)); in TEST()
200 ASSERT_TRUE(filter.Consume(context.get(), &table)); in TEST()
/frameworks/base/tools/aapt2/cmd/
DOptimize.cpp141 if (!filter.Consume(context_, apk->GetResourceTable())) { in Run()
148 if (!collapser.Consume(context_, apk->GetResourceTable())) { in Run()
153 if (!deduper.Consume(context_, apk->GetResourceTable())) { in Run()
160 if (!obfuscator.Consume(context_, apk->GetResourceTable())) { in Run()
248 if (!xml_flattener.Consume(context_, manifest)) { in WriteSplitApk()
296 if (!table_flattener.Consume(context_, table)) { in WriteSplitApk()
/frameworks/base/tools/aapt2/format/binary/
DXmlFlattener.h42 bool Consume(IAaptContext* context, const xml::XmlResource* resource);

123