Home
last modified time | relevance | path

Searched refs:GetResourceId (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/androidfw/tests/
DAssetManager2_test.cpp395 .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/
DAssetManager2.h190 uint32_t GetResourceId(const std::string& resource_name, const std::string& fallback_type = {},
/frameworks/base/libs/androidfw/
DAssetManager2.cpp771 uint32_t AssetManager2::GetResourceId(const std::string& resource_name, in GetResourceId() function in android::AssetManager2
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp887 return static_cast<jint>(assetmanager->GetResourceId(name_utf8.c_str(), type, package)); in NativeGetResourceIdentifier()