Searched refs:GetResourceId (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/androidfw/tests/ |
D | AssetManager2_test.cpp | 395 .GetResourceId("@id/high_ref", "values", "com.android.basic"); in TEST_F() 398 .GetResourceId("@id/middle_ref", "values", "com.android.basic"); in TEST_F() 401 .GetResourceId("@id/low_ref", "values", "com.android.basic"); in TEST_F() 507 TEST_F(AssetManager2Test, GetResourceId) { in TEST_F() argument 512 assetmanager.GetResourceId("com.android.basic:layout/main", "", "")); in TEST_F() 514 assetmanager.GetResourceId("layout/main", "", "com.android.basic")); in TEST_F() 516 assetmanager.GetResourceId("main", "layout", "com.android.basic")); in TEST_F()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | AssetManager2.h | 190 uint32_t GetResourceId(const std::string& resource_name, const std::string& fallback_type = {},
|
/frameworks/base/libs/androidfw/ |
D | AssetManager2.cpp | 771 uint32_t AssetManager2::GetResourceId(const std::string& resource_name, in GetResourceId() function in android::AssetManager2
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 887 return static_cast<jint>(assetmanager->GetResourceId(name_utf8.c_str(), type, package)); in NativeGetResourceIdentifier()
|