Searched refs:GetResourceId (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/cmds/idmap2/include/idmap2/ |
D | ResourceContainer.h | 44 WARN_UNUSED virtual Result<ResourceId> GetResourceId(const std::string& name) const = 0;
|
/frameworks/base/libs/androidfw/tests/ |
D | AssetManager2_test.cpp | 445 auto high_ref = assetmanager.GetResourceId("@id/high_ref", "values", "com.android.basic"); in TEST_F() 448 auto middle_ref = assetmanager.GetResourceId("@id/middle_ref", "values", "com.android.basic"); in TEST_F() 451 auto low_ref = assetmanager.GetResourceId("@id/low_ref", "values", "com.android.basic"); in TEST_F() 639 TEST_F(AssetManager2Test, GetResourceId) { in TEST_F() argument 643 auto resid = assetmanager.GetResourceId("com.android.basic:layout/main", "", ""); in TEST_F() 647 resid = assetmanager.GetResourceId("layout/main", "", "com.android.basic"); in TEST_F() 651 resid = assetmanager.GetResourceId("main", "layout", "com.android.basic"); in TEST_F()
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | ResourceContainer.cpp | 304 Result<ResourceId> GetResourceId(const std::string& name) const override; 406 Result<ResourceId> ApkResourceContainer::GetResourceId(const std::string& name) const { in GetResourceId() function in android::idmap2::ApkResourceContainer 411 auto id = (*state)->am->GetResourceId(name, "", (*state)->package->GetPackageName()); in GetResourceId()
|
D | ResourceMapping.cpp | 127 const auto target_resid = target.GetResourceId(overlay_pair.resource_name); in FromContainers()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | Idmap.h | 109 uint32_t GetResourceId() const { in GetResourceId() function
|
D | AssetManager2.h | 245 base::expected<uint32_t, NullOrIOError> GetResourceId(
|
/frameworks/base/cmds/idmap2/idmap2/ |
D | Lookup.cpp | 73 if (auto resid = am.GetResourceId(res, "", fallback_package); resid.ok()) { in ParseResReference()
|
/frameworks/base/tools/aapt2/process/ |
D | SymbolTable.cpp | 339 auto real_res_id = asset_manager_.GetResourceId(real_name.to_string()); in FindByName()
|
/frameworks/base/libs/androidfw/ |
D | AssetManager2.cpp | 750 auto overlay_result = FindEntry(overlay_entry.GetResourceId(), density_override, in FindEntry() 1435 base::expected<uint32_t, NullOrIOError> AssetManager2::GetResourceId( in GetResourceId() function in android::AssetManager2
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 983 auto resid = assetmanager->GetResourceId(name_utf8.c_str(), type, package); in NativeGetResourceIdentifier()
|