Home
last modified time | relevance | path

Searched refs:Consume (Results 1 – 25 of 59) 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()
129 ASSERT_FALSE(assigner.Consume(context.get(), table.get())); in TEST_F()
140 ASSERT_TRUE(assigner.Consume(context.get(), table.get())); in TEST_F()
158 ASSERT_TRUE(assigner.Consume(context.get(), &table)); in TEST_F()
170 ASSERT_FALSE(assigner.Consume(context.get(), &table)); in TEST_F()
184 ASSERT_FALSE(assigner.Consume(context.get(), &table)); in TEST_F()
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;
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/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;
139 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()
DProductFilter_test.cpp59 ASSERT_TRUE(filter.Consume(context.get(), &table)); in TEST()
89 ASSERT_TRUE(filter.Consume(context.get(), &table)); in TEST()
123 ASSERT_FALSE(filter.Consume(context.get(), &table)); in TEST()
144 ASSERT_FALSE(filter.Consume(context.get(), &table)); 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;
/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()
DResourcePathShortener_test.cpp53 ASSERT_TRUE(ResourcePathShortener(path_map).Consume(context.get(), table.get())); in TEST()
92 ASSERT_TRUE(ResourcePathShortener(path_map).Consume(context.get(), table.get())); in TEST()
112 ASSERT_TRUE(ResourcePathShortener(path_map).Consume(context.get(), table.get())); in TEST()
138 ASSERT_TRUE(ResourcePathShortener(expected_mapping).Consume(context.get(), table1.get())); in TEST()
158 ASSERT_TRUE(ResourcePathShortener(actual_mapping).Consume(context.get(), table2.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()
DVersionCollapser.h32 bool Consume(IAaptContext* context, ResourceTable* table) override;
DResourceDeduper.h33 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/process/
DIResourceTableConsumer.h60 virtual bool Consume(IAaptContext* context, ResourceTable* table) = 0;
70 virtual bool Consume(IAaptContext* context, xml::XmlResource* resource) = 0;
/frameworks/base/tools/aapt2/cmd/
DOptimize.cpp137 if (!filter.Consume(context_, apk->GetResourceTable())) { in Run()
144 if (!collapser.Consume(context_, apk->GetResourceTable())) { in Run()
149 if (!deduper.Consume(context_, apk->GetResourceTable())) { in Run()
156 if (!shortener.Consume(context_, apk->GetResourceTable())) { in Run()
233 if (!xml_flattener.Consume(context_, manifest)) { in WriteSplitApk()
281 if (!table_flattener.Consume(context_, table)) { in WriteSplitApk()
/frameworks/base/tools/aapt2/format/binary/
DXmlFlattener.h43 bool Consume(IAaptContext* context, const xml::XmlResource* resource);

123