Searched refs:new_table (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/tools/aapt2/optimize/ |
H A D | MultiApkGenerator_test.cpp | 117 ResourceTable* new_table = split.get(); local 118 EXPECT_THAT(ValueForConfig(new_table, mdpi_), IsNull()); 119 EXPECT_THAT(ValueForConfig(new_table, hdpi_), IsNull()); 120 EXPECT_THAT(ValueForConfig(new_table, xxhdpi_), IsNull()); 121 EXPECT_THAT(ValueForConfig(new_table, xxxhdpi_), IsNull()); 122 EXPECT_THAT(ValueForConfig(new_table, v19_), IsNull()); 125 EXPECT_THAT(ValueForConfig(new_table, xhdpi_), NotNull()); 127 EXPECT_THAT(ValueForConfig(new_table, default_), NotNull()); 128 EXPECT_THAT(GetValue<Id>(new_table, "android:string/one"), NotNull()); 144 ResourceTable* new_table local 169 ResourceTable* new_table = split.get(); local [all...] |
/frameworks/base/tools/aapt2/format/proto/ |
H A D | ProtoSerialize_test.cpp | 105 ResourceTable new_table; local 107 ASSERT_TRUE(DeserializeTableFromPb(pb_table, &files, &new_table, &error)); 110 Id* new_id = test::GetValue<Id>(&new_table, "com.app.a:id/foo"); 115 new_table.FindResource(test::ParseNameOrDie("com.app.a:layout/main")); 121 result = new_table.FindResource(test::ParseNameOrDie("com.app.a:bool/foo")); 128 &new_table, "com.app.a:integer/one", test::ParseConfigOrDie("land"), ""); 133 &new_table, "com.app.a:integer/one", test::ParseConfigOrDie("land"), "tablet"); 137 Reference* actual_ref = test::GetValue<Reference>(&new_table, "com.app.a:layout/abc"); 144 test::GetValue<FileReference>(&new_table, "com.app.a:layout/main"); 149 test::GetValue<StyledString>(&new_table, "co 286 ResourceTable new_table; local [all...] |
/frameworks/base/tools/aapt2/ |
H A D | ResourceTable.cpp | 614 std::unique_ptr<ResourceTable> new_table = util::make_unique<ResourceTable>(); local 616 ResourceTablePackage* new_pkg = new_table->CreatePackage(pkg->name, pkg->id); 632 new_value->value.reset(config_value->value->Clone(&new_table->string_pool)); 637 return new_table;
|
Completed in 898 milliseconds