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()
147 loaded_arsc->GetPackageById(get_package_id(basic::R::string::test3)); in TEST()
213 get_package_id(overlayable::R::string::not_overlayable)); in TEST()
330 loaded_arsc->GetPackageById(get_package_id(overlayable::R::string::overlayable11)); in TEST()
364 loaded_arsc->GetPackageById(get_package_id(sparse::R::integer::foo_9)); in TEST_P()
387 loaded_arsc->GetPackageById(get_package_id(sparse::R::string::only_land)); in TEST_P()
DAssetManager2_test.cpp290 EXPECT_EQ(0x03, get_package_id((*bag)->entries[0].key)); in TEST_F()
292 EXPECT_EQ(0x03, get_package_id((*bag)->entries[1].key)); in TEST_F()
308 EXPECT_EQ(0x02, get_package_id((*bag)->entries[0].key)); in TEST_F()
312 EXPECT_EQ(0x03, get_package_id((*bag)->entries[1].key)); in TEST_F()
328 EXPECT_EQ(0x03, get_package_id((*bag)->entries[0].key)); in TEST_F()
330 EXPECT_EQ(0x03, get_package_id((*bag)->entries[1].key)); in TEST_F()
DTheme_test.cpp211 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.cpp657 const uint32_t package_id = get_package_id(resid); in FindEntry()
987 assets ? assets->GetLoadedArsc()->GetPackageById(get_package_id(resid)) : nullptr; in GetLastResourceResolution()
1802 get_package_id(entry.value.data)); in SetTo()
1828 int attribute_dest_package_id = get_package_id(source_res_id); in SetTo()