Home
last modified time | relevance | path

Searched refs:fix_package_id (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/androidfw/include/androidfw/
DResourceUtils.h41 inline uint32_t fix_package_id(uint32_t resid, uint8_t package_id) { in fix_package_id() function
/frameworks/base/libs/androidfw/tests/
DTheme_test.cpp299 ASSERT_TRUE(theme_src->ApplyStyle(fix_package_id(lib_one::R::style::Theme, 0x03), in TEST_F()
301 ASSERT_TRUE(theme_src->ApplyStyle(fix_package_id(lib_two::R::style::Theme, 0x02), in TEST_F()
319 EXPECT_EQ(1, theme_dst->GetAttribute(fix_package_id(lib_one::R::attr::attr1, 0x02), &value, in TEST_F()
321 EXPECT_EQ(1, theme_dst->GetAttribute(fix_package_id(lib_one::R::attr::attr2, 0x02), &value, in TEST_F()
DAttributeResolution_test.cpp77 {fix_package_id(R::attr::attr_one, 0x02), fix_package_id(R::attr::attr_two, 0x02)}}; in TEST()
81 fix_package_id(R::style::StyleOne, 0x02), attrs.data(), attrs.size(), values.data(), in TEST()
DAssetManager2_test.cpp210 fix_package_id(appaslib::R::integer::number1, 0x02), false /*may_be_bag*/, in TEST_F()
214 EXPECT_EQ(fix_package_id(appaslib::R::array::integerArray1, 0x02), value.data); in TEST_F()
258 const ResolvedBag* bag = assetmanager.GetBag(fix_package_id(lib_one::R::style::Theme, 0x03)); in TEST_F()
/frameworks/base/libs/androidfw/
DAssetManager2.cpp1029 return fix_package_id(resid, package_group.dynamic_ref_table.mAssignedPackageId); in GetResourceId()
1409 attribute_data = fix_package_id(entry.value.data, value_dest_package->second); in SetTo()