Home
last modified time | relevance | path

Searched refs:target_resid (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/cmds/idmap2/libidmap2/
DResourceMapping.cpp127 const auto target_resid = target.GetResourceId(overlay_pair.resource_name); in FromContainers() local
128 if (!target_resid) { in FromContainers()
129 log_info.Warning(LogMessage() << target_resid.GetErrorMessage()); in FromContainers()
135 auto overlayable = CheckOverlayable(target, overlay_info, fulfilled_policies, *target_resid); in FromContainers()
139 << GetDebugResourceName(target, *target_resid) in FromContainers()
145 if (auto result = mapping.AddMapping(*target_resid, overlay_pair.value); !result) { in FromContainers()
147 GetDebugResourceName(target, *target_resid).c_str()); in FromContainers()
/frameworks/base/cmds/idmap2/tests/
DIdmapTests.cpp46 #define ASSERT_TARGET_ENTRY(entry, target_resid, overlay_resid) \ argument
47 ASSERT_EQ((entry).target_id, (target_resid)); \
50 #define ASSERT_TARGET_INLINE_ENTRY(entry, target_resid, ex_config, expected_type, expected_value) \ argument
51 ASSERT_EQ((entry).target_id, target_resid); \
56 #define ASSERT_OVERLAY_ENTRY(entry, overlay_resid, target_resid) \ argument
58 ASSERT_EQ((entry).target_id, (target_resid))
/frameworks/base/libs/androidfw/
DResourceTypes.cpp7454 const uint32_t target_resid = targetResTable.identifierForName( in createIdmap() local
7463 if (target_resid == 0) { in createIdmap()
7467 typeMapping->add(target_resid, overlay_resid); in createIdmap()