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.cpp450 auto high_ref = assetmanager.GetResourceId("@id/high_ref", "values", "com.android.basic"); in TEST_F()
453 auto middle_ref = assetmanager.GetResourceId("@id/middle_ref", "values", "com.android.basic"); in TEST_F()
456 auto low_ref = assetmanager.GetResourceId("@id/low_ref", "values", "com.android.basic"); in TEST_F()
645 TEST_F(AssetManager2Test, GetResourceId) { in TEST_F() argument
649 auto resid = assetmanager.GetResourceId("com.android.basic:layout/main", "", ""); in TEST_F()
653 resid = assetmanager.GetResourceId("layout/main", "", "com.android.basic"); in TEST_F()
657 resid = assetmanager.GetResourceId("main", "layout", "com.android.basic"); in TEST_F()
/frameworks/base/cmds/idmap2/libidmap2/
DResourceContainer.cpp301 Result<ResourceId> GetResourceId(const std::string& name) const override;
403 Result<ResourceId> ApkResourceContainer::GetResourceId(const std::string& name) const { in GetResourceId() function in android::idmap2::ApkResourceContainer
408 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.h105 uint32_t GetResourceId() const { in GetResourceId() function
DAssetManager2.h217 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.cpp344 auto real_res_id = asset_manager_.GetResourceId(real_name.to_string()); in FindByName()
/frameworks/base/libs/androidfw/
DAssetManager2.cpp646 auto overlay_result = FindEntry(overlay_entry.GetResourceId(), density_override, in FindEntry()
1286 base::expected<uint32_t, NullOrIOError> AssetManager2::GetResourceId( in GetResourceId() function in android::AssetManager2
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp914 auto resid = assetmanager->GetResourceId(name_utf8.c_str(), type, package); in NativeGetResourceIdentifier()