Home
last modified time | relevance | path

Searched refs:new_table (Results 1 – 4 of 4) sorted by relevance

/aosp14/frameworks/base/tools/aapt2/optimize/
H A DMultiApkGenerator_test.cpp119 ResourceTable* new_table = split.get(); in TEST_F() local
120 EXPECT_THAT(ValueForConfig(new_table, mdpi_), IsNull()); in TEST_F()
121 EXPECT_THAT(ValueForConfig(new_table, hdpi_), IsNull()); in TEST_F()
124 EXPECT_THAT(ValueForConfig(new_table, v19_), IsNull()); in TEST_F()
146 ResourceTable* new_table = split.get(); in TEST_F() local
147 EXPECT_THAT(ValueForConfig(new_table, mdpi_), IsNull()); in TEST_F()
148 EXPECT_THAT(ValueForConfig(new_table, hdpi_), IsNull()); in TEST_F()
153 EXPECT_THAT(ValueForConfig(new_table, v19_), NotNull()); in TEST_F()
154 EXPECT_THAT(ValueForConfig(new_table, v21_), NotNull()); in TEST_F()
171 ResourceTable* new_table = split.get(); in TEST_F() local
[all …]
/aosp14/frameworks/base/tools/aapt2/format/proto/
H A DProtoSerialize_test.cpp71 ResourceTable new_table; in TEST() local
183 ResourceTable new_table; in TEST() local
410 ResourceTable new_table; in TEST() local
639 ResourceTable new_table; in TEST() local
776 ResourceTable new_table; in TEST() local
858 ResourceTable new_table; in TEST() local
919 ResourceTable new_table; in TEST() local
945 ResourceTable new_table; in TEST() local
988 ResourceTable new_table; in TEST() local
1038 ResourceTable new_table; in TEST() local
[all …]
/aosp14/system/core/fs_mgr/liblp/
H A Dio_test.cpp568 unique_ptr<LpMetadata> new_table = ReadMetadata(opener, "super", 0); in TEST_F() local
569 ASSERT_NE(new_table, nullptr); in TEST_F()
570 ASSERT_GE(new_table->partitions.size(), 1); in TEST_F()
571 new_table->partitions[0].name[0]++; in TEST_F()
575 ASSERT_FALSE(UpdatePartitionTable(opener, "super", *new_table.get(), 0, writer)); in TEST_F()
580 ASSERT_GE(new_table->partitions.size(), 1); in TEST_F()
581 … ASSERT_EQ(GetPartitionName(new_table->partitions[0]), GetPartitionName(imported->partitions[0])); in TEST_F()
587 ASSERT_TRUE(UpdatePartitionTable(opener, "super", *new_table.get(), 0, writer)); in TEST_F()
591 ASSERT_GE(new_table->partitions.size(), 1); in TEST_F()
592 … ASSERT_EQ(GetPartitionName(new_table->partitions[0]), GetPartitionName(imported->partitions[0])); in TEST_F()
/aosp14/frameworks/base/tools/aapt2/
H A DResourceTable.cpp664 std::unique_ptr<ResourceTable> new_table = util::make_unique<ResourceTable>(); in Clone() local
665 CloningValueTransformer cloner(&new_table->string_pool); in Clone()
667 ResourceTablePackage* new_pkg = new_table->FindOrCreatePackage(pkg->name); in Clone()
687 return new_table; in Clone()