Searched refs:target_resid (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/cmds/idmap2/libidmap2/ |
D | ResourceMapping.cpp | 127 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/ |
D | IdmapTests.cpp | 47 #define ASSERT_TARGET_ENTRY(entry, target_resid, overlay_resid) \ argument 48 ASSERT_EQ((entry).target_id, (target_resid)); \ 51 #define ASSERT_TARGET_INLINE_ENTRY(entry, target_resid, expected_type, expected_value) \ argument 52 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/ |
D | ResourceTypes.cpp | 7301 const uint32_t target_resid = targetResTable.identifierForName( in createIdmap() local 7310 if (target_resid == 0) { in createIdmap() 7314 typeMapping->add(target_resid, overlay_resid); in createIdmap()
|