Home
last modified time | relevance | path

Searched refs:res_table (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp172 ResTable res_table; in TEST_F() local
173 ASSERT_TRUE(Flatten(context_.get(), {}, table.get(), &res_table)); in TEST_F()
175 EXPECT_TRUE(Exists(&res_table, "com.app.test:id/one", ResourceId(0x7f020000), {}, in TEST_F()
178 EXPECT_TRUE(Exists(&res_table, "com.app.test:id/two", ResourceId(0x7f020001), {}, in TEST_F()
181 EXPECT_TRUE(Exists(&res_table, "com.app.test:id/three", ResourceId(0x7f020002), {}, in TEST_F()
184 EXPECT_TRUE(Exists(&res_table, "com.app.test:integer/one", ResourceId(0x7f030000), {}, in TEST_F()
187 EXPECT_TRUE(Exists(&res_table, "com.app.test:integer/one", ResourceId(0x7f030000), in TEST_F()
192 ssize_t idx = res_table.getTableStringBlock(0)->indexOfString(foo_str.data(), foo_str.size()); in TEST_F()
194 EXPECT_TRUE(Exists(&res_table, "com.app.test:string/test", ResourceId(0x7f040000), {}, in TEST_F()
198 idx = res_table.getTableStringBlock(0)->indexOfString(bar_path.data(), bar_path.size()); in TEST_F()
[all …]
/frameworks/base/libs/androidfw/tests/
DTheme_bench.cpp55 const ResTable& res_table = assets.getResources(true); in BM_ThemeApplyStyleFrameworkOld() local
58 std::unique_ptr<ResTable::Theme> theme{new ResTable::Theme(res_table)}; in BM_ThemeApplyStyleFrameworkOld()
86 const ResTable& res_table = assets.getResources(true); in BM_ThemeGetAttributeOld() local
87 std::unique_ptr<ResTable::Theme> theme{new ResTable::Theme(res_table)}; in BM_ThemeGetAttributeOld()