Home
last modified time | relevance | path

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

/frameworks/base/cmds/idmap2/include/idmap2/
DResourceContainer.h44 WARN_UNUSED virtual Result<ResourceId> GetResourceId(const std::string& name) const = 0;
/frameworks/base/libs/androidfw/tests/
DAssetManager2_test.cpp445 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/
DResourceContainer.cpp304 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()
DResourceMapping.cpp127 const auto target_resid = target.GetResourceId(overlay_pair.resource_name); in FromContainers()
/frameworks/base/libs/androidfw/include/androidfw/
DIdmap.h109 uint32_t GetResourceId() const { in GetResourceId() function
DAssetManager2.h245 base::expected<uint32_t, NullOrIOError> GetResourceId(
/frameworks/base/cmds/idmap2/idmap2/
DLookup.cpp73 if (auto resid = am.GetResourceId(res, "", fallback_package); resid.ok()) { in ParseResReference()
/frameworks/base/tools/aapt2/process/
DSymbolTable.cpp339 auto real_res_id = asset_manager_.GetResourceId(real_name.to_string()); in FindByName()
/frameworks/base/libs/androidfw/
DAssetManager2.cpp750 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/
Dandroid_util_AssetManager.cpp983 auto resid = assetmanager->GetResourceId(name_utf8.c_str(), type, package); in NativeGetResourceIdentifier()