Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp46 ::testing::AssertionResult Flatten(IAaptContext* context, const TableFlattenerOptions& options, in Flatten() function in aapt::TableFlattenerTest
57 ::testing::AssertionResult Flatten(IAaptContext* context, const TableFlattenerOptions& options, in Flatten() function in aapt::TableFlattenerTest
60 auto result = Flatten(context, options, table, &content); in Flatten()
71 ::testing::AssertionResult Flatten(IAaptContext* context, const TableFlattenerOptions& options, in Flatten() function in aapt::TableFlattenerTest
74 auto result = Flatten(context, options, table, &content); in Flatten()
172 ASSERT_TRUE(Flatten(context_.get(), {}, table.get(), &res_table)); in TEST_F()
211 ASSERT_TRUE(Flatten(context_.get(), {}, table.get(), &res_table)); in TEST_F()
230 ASSERT_TRUE(Flatten(context_.get(), {}, table.get(), &result)); in TEST_F()
252 ASSERT_TRUE(Flatten(context_.get(), {}, table.get(), &result)); in TEST_F()
343 ASSERT_TRUE(Flatten(context.get(), {}, table_in.get(), &no_sparse_contents)); in TEST_F()
[all …]
DXmlFlattener_test.cpp58 ::testing::AssertionResult Flatten(xml::XmlResource* doc, android::ResXMLTree* out_tree, in Flatten() function in aapt::XmlFlattenerTest
303 ASSERT_TRUE(Flatten(doc.get(), &tree, options)); in TEST_F()
372 ASSERT_TRUE(Flatten(doc.get(), &tree, options)); in TEST_F()
463 ASSERT_TRUE(Flatten(doc.get(), &tree, options)); in TEST_F()
486 ASSERT_TRUE(Flatten(doc.get(), &tree, options)); in TEST_F()
507 ASSERT_TRUE(Flatten(doc.get(), &tree, options)); in TEST_F()
527 ASSERT_TRUE(Flatten(doc.get(), &tree, options)); in TEST_F()
DXmlFlattener.h48 bool Flatten(IAaptContext* context, const xml::Node* node);
DXmlFlattener.cpp277 CHECK(xml_attr->compiled_value->Flatten(&flat_attr->typedValue)); in WriteAttributes()
315 bool XmlFlattener::Flatten(IAaptContext* context, const xml::Node* node) { in Flatten() function in aapt::XmlFlattener
373 return Flatten(context, resource->root.get()); in Consume()
DTableFlattener.cpp210 CHECK(value->Flatten(&out_entry->value)) << "flatten failed"; in FlattenValue()
330 CHECK(item->Flatten(outValue)) << "flatten failed"; in FlattenValue()
/frameworks/base/tools/aapt2/
DResourceValues.h137 virtual bool Flatten(android::Res_value* out_value) const = 0;
176 bool Flatten(android::Res_value* out_value) const override;
194 bool Flatten(android::Res_value* out) const override;
206 bool Flatten(android::Res_value* out_value) const override;
239 bool Flatten(android::Res_value* out_value) const override;
255 bool Flatten(android::Res_value* out_value) const override;
274 bool Flatten(android::Res_value* out_value) const override;
287 bool Flatten(android::Res_value* out_value) const override;
DResourceValues.cpp88 bool RawString::Flatten(android::Res_value* out_value) const { in Flatten() function in aapt::RawString
118 bool Reference::Flatten(android::Res_value* out_value) const { in Flatten() function in aapt::Reference
217 bool Id::Flatten(android::Res_value* out) const { in Flatten() function in aapt::Id
254 bool String::Flatten(android::Res_value* out_value) const { in Flatten() function in aapt::String
302 bool StyledString::Flatten(android::Res_value* out_value) const { in Flatten() function in aapt::StyledString
330 bool FileReference::Flatten(android::Res_value* out_value) const { in Flatten() function in aapt::FileReference
374 bool BinaryPrimitive::Flatten(::android::Res_value* out_value) const { in Flatten() function in aapt::BinaryPrimitive
733 item.Flatten(&val); in Matches()
DStringPool.cpp434 bool StringPool::Flatten(BigBuffer* out, const StringPool& pool, bool utf8, in Flatten() function in aapt::StringPool
504 return Flatten(out, pool, true, diag); in FlattenUtf8()
508 return Flatten(out, pool, false, diag); in FlattenUtf16()
DStringPool.h215 static bool Flatten(BigBuffer* out, const StringPool& pool, bool utf8, IDiagnostics* diag);
DResourceValues_test.cpp223 ASSERT_TRUE(Reference().Flatten(&value)); in TEST()
DStringPool_test.cpp240 TEST(StringPoolTest, Flatten) { in TEST() argument
/frameworks/base/tools/aapt2/cmd/
DLink.cpp352 bool Flatten(ResourceTable* table, IArchiveWriter* archive_writer);
520 bool ResourceFileFlattener::Flatten(ResourceTable* table, IArchiveWriter* archive_writer) { in Flatten() function in aapt::ResourceFileFlattener
1758 if (!file_flattener.Flatten(table, writer)) { in WriteApk()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize.cpp568 prim->Flatten(&val); in Visit()