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()
173 ASSERT_TRUE(Flatten(context_.get(), {}, table.get(), &res_table)); in TEST_F()
213 ASSERT_TRUE(Flatten(context_.get(), {}, table.get(), &res_table)); in TEST_F()
233 ASSERT_TRUE(Flatten(context_.get(), {}, table.get(), &result)); in TEST_F()
256 ASSERT_TRUE(Flatten(context_.get(), {}, table.get(), &result)); in TEST_F()
342 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.cpp217 CHECK(value->Flatten(&out_entry->value)) << "flatten failed"; in FlattenValue()
333 CHECK(item->Flatten(outValue)) << "flatten failed"; in FlattenValue()
/frameworks/base/tools/aapt2/
DResourceValues.h137 virtual bool Flatten(android::Res_value* out_value) const = 0;
168 bool Flatten(android::Res_value* out_value) const override;
187 bool Flatten(android::Res_value* out) const override;
200 bool Flatten(android::Res_value* out_value) const override;
234 bool Flatten(android::Res_value* out_value) const override;
251 bool Flatten(android::Res_value* out_value) const override;
271 bool Flatten(android::Res_value* out_value) const override;
285 bool Flatten(android::Res_value* out_value) const override;
DResourceValues.cpp87 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
258 bool String::Flatten(android::Res_value* out_value) const { in Flatten() function in aapt::String
314 bool StyledString::Flatten(android::Res_value* out_value) const { in Flatten() function in aapt::StyledString
350 bool FileReference::Flatten(android::Res_value* out_value) const { in Flatten() function in aapt::FileReference
403 bool BinaryPrimitive::Flatten(::android::Res_value* out_value) const { in Flatten() function in aapt::BinaryPrimitive
766 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.h211 static bool Flatten(BigBuffer* out, const StringPool& pool, bool utf8, IDiagnostics* diag);
DResourceValues_test.cpp219 ASSERT_TRUE(Reference().Flatten(&value)); in TEST()
DStringPool_test.cpp240 TEST(StringPoolTest, Flatten) { in TEST() argument
/frameworks/base/tools/aapt2/cmd/
DLink.cpp334 bool Flatten(ResourceTable* table, IArchiveWriter* archive_writer);
502 bool ResourceFileFlattener::Flatten(ResourceTable* table, IArchiveWriter* archive_writer) { in Flatten() function in aapt::ResourceFileFlattener
1703 if (!file_flattener.Flatten(table, writer)) { in WriteApk()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize.cpp515 prim->Flatten(&val); in Visit()