Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/tests/
DLoadedArsc_test.cpp58 loaded_arsc->GetPackageById(get_package_id(app::R::string::string_one)); in TEST()
84 loaded_arsc->GetPackageById(get_package_id(sparse::R::integer::foo_9)); in TEST()
108 loaded_arsc->GetPackageById(get_package_id(sparse::R::string::only_v26)); in TEST()
203 loaded_arsc->GetPackageById(get_package_id(basic::R::string::test3)); in TEST()
269 get_package_id(overlayable::R::string::not_overlayable)); in TEST()
386 loaded_arsc->GetPackageById(get_package_id(overlayable::R::string::overlayable11)); in TEST()
DAssetManager2_test.cpp293 EXPECT_EQ(0x03, get_package_id((*bag)->entries[0].key)); in TEST_F()
295 EXPECT_EQ(0x03, get_package_id((*bag)->entries[1].key)); in TEST_F()
312 EXPECT_EQ(0x02, get_package_id((*bag)->entries[0].key)); in TEST_F()
316 EXPECT_EQ(0x03, get_package_id((*bag)->entries[1].key)); in TEST_F()
333 EXPECT_EQ(0x03, get_package_id((*bag)->entries[0].key)); in TEST_F()
335 EXPECT_EQ(0x03, get_package_id((*bag)->entries[1].key)); in TEST_F()
DTheme_test.cpp212 EXPECT_EQ(3u, get_package_id(value->data)); in TEST_F()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceUtils.h44 inline uint8_t get_package_id(uint32_t resid) { in get_package_id() function
/frameworks/base/libs/androidfw/
DAssetManager2.cpp587 const uint32_t package_id = get_package_id(resid); in FindEntry()
861 const auto package = apk_assets_[cookie]->GetLoadedArsc()->GetPackageById(get_package_id(resid)); in GetLastResourceResolution()
1600 get_package_id(entry.value.data)); in SetTo()
1624 int attribute_dest_package_id = get_package_id(entry.attr_res_id); in SetTo()