Home
last modified time | relevance | path

Searched refs:Flatten (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/tools/aapt2/flatten/
DTableFlattener_test.cpp40 ::testing::AssertionResult Flatten(IAaptContext* context, const TableFlattenerOptions& options, in Flatten() function in aapt::TableFlattenerTest
51 ::testing::AssertionResult Flatten(IAaptContext* context, const TableFlattenerOptions& options, in Flatten() function in aapt::TableFlattenerTest
54 auto result = Flatten(context, options, table, &content); in Flatten()
65 ::testing::AssertionResult Flatten(IAaptContext* context, const TableFlattenerOptions& options, in Flatten() function in aapt::TableFlattenerTest
68 auto result = Flatten(context, options, table, &content); in Flatten()
167 ASSERT_TRUE(Flatten(context_.get(), {}, table.get(), &res_table)); in TEST_F()
214 ASSERT_TRUE(Flatten(context_.get(), {}, table.get(), &res_table)); in TEST_F()
236 ASSERT_TRUE(Flatten(context_.get(), {}, table.get(), &result)); in TEST_F()
290 ASSERT_TRUE(Flatten(context.get(), {}, table_in.get(), &no_sparse_contents)); in TEST_F()
293 ASSERT_TRUE(Flatten(context.get(), options, table_in.get(), &sparse_contents)); in TEST_F()
[all …]
DXmlFlattener.h45 bool Flatten(IAaptContext* context, xml::Node* node);
DXmlFlattener_test.cpp52 ::testing::AssertionResult Flatten(xml::XmlResource* doc, in Flatten() function in aapt::XmlFlattenerTest
204 ASSERT_TRUE(Flatten(doc.get(), &tree)); in TEST_F()
219 ASSERT_TRUE(Flatten(doc.get(), &tree)); in TEST_F()
DXmlFlattener.cpp273 CHECK(xml_attr->compiled_value->Flatten(&flat_attr->typedValue)); in WriteAttributes()
297 bool XmlFlattener::Flatten(IAaptContext* context, xml::Node* node) { in Flatten() function in aapt::XmlFlattener
354 return Flatten(context, resource->root.get()); in Consume()
DTableFlattener.cpp202 CHECK(value->Flatten(&out_entry->value)) << "flatten failed"; in FlattenValue()
302 CHECK(item->Flatten(outValue)) << "flatten failed"; in FlattenValue()
/frameworks/base/tools/aapt2/
DResourceValues.h108 virtual bool Flatten(android::Res_value* out_value) const = 0;
137 bool Flatten(android::Res_value* out_value) const override;
149 bool Flatten(android::Res_value* out) const override;
162 bool Flatten(android::Res_value* out_value) const override;
196 bool Flatten(android::Res_value* out_value) const override;
212 bool Flatten(android::Res_value* out_value) const override;
228 bool Flatten(android::Res_value* out_value) const override;
242 bool Flatten(android::Res_value* out_value) const override;
DResourceValues.cpp64 bool RawString::Flatten(android::Res_value* out_value) const { in Flatten() function in aapt::RawString
95 bool Reference::Flatten(android::Res_value* out_value) const { in Flatten() function in aapt::Reference
152 bool Id::Flatten(android::Res_value* out) const { in Flatten() function in aapt::Id
188 bool String::Flatten(android::Res_value* out_value) const { in Flatten() function in aapt::String
237 bool StyledString::Flatten(android::Res_value* out_value) const { in Flatten() function in aapt::StyledString
273 bool FileReference::Flatten(android::Res_value* out_value) const { in Flatten() function in aapt::FileReference
311 bool BinaryPrimitive::Flatten(android::Res_value* out_value) const { in Flatten() function in aapt::BinaryPrimitive
585 item->Flatten(&val); in Matches()
DStringPool.cpp330 bool StringPool::Flatten(BigBuffer* out, const StringPool& pool, bool utf8) { in Flatten() function in aapt::StringPool
444 return Flatten(out, pool, true); in FlattenUtf8()
448 return Flatten(out, pool, false); in FlattenUtf16()
DStringPool.h218 static bool Flatten(BigBuffer* out, const StringPool& pool, bool utf8);
DResourceValues_test.cpp187 ASSERT_TRUE(Reference().Flatten(&value)); in TEST()
DStringPool_test.cpp208 TEST(StringPoolTest, Flatten) { in TEST() argument
/frameworks/base/tools/aapt2/proto/
DTableProtoSerializer.cpp83 prim->Flatten(&val); in Visit()
/frameworks/base/tools/aapt2/cmd/
DLink.cpp338 bool Flatten(ResourceTable* table, IArchiveWriter* archive_writer);
503 bool ResourceFileFlattener::Flatten(ResourceTable* table, IArchiveWriter* archive_writer) { in Flatten() function in aapt::ResourceFileFlattener
1398 if (!file_flattener.Flatten(table, writer)) { in WriteApk()