Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp168 ResTable res_table; in TEST_F() local
169 ASSERT_TRUE(Flatten(context_.get(), {}, table.get(), &res_table)); in TEST_F()
171 EXPECT_TRUE(Exists(&res_table, "com.app.test:id/one", ResourceId(0x7f020000), {}, in TEST_F()
174 EXPECT_TRUE(Exists(&res_table, "com.app.test:id/two", ResourceId(0x7f020001), {}, in TEST_F()
177 EXPECT_TRUE(Exists(&res_table, "com.app.test:id/three", ResourceId(0x7f020002), {}, in TEST_F()
180 EXPECT_TRUE(Exists(&res_table, "com.app.test:integer/one", ResourceId(0x7f030000), {}, in TEST_F()
183 EXPECT_TRUE(Exists(&res_table, "com.app.test:integer/one", ResourceId(0x7f030000), in TEST_F()
188 ssize_t idx = res_table.getTableStringBlock(0)->indexOfString(foo_str.data(), foo_str.size()); in TEST_F()
190 EXPECT_TRUE(Exists(&res_table, "com.app.test:string/test", ResourceId(0x7f040000), {}, in TEST_F()
194 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()
/frameworks/base/tools/aapt2/process/
DSymbolTable_test.cpp108 ResTable& res_table = const_cast<ResTable&>( in TEST() local
110 ASSERT_THAT(res_table.add(data.get(), buffer.size()), Eq(NO_ERROR)); in TEST()