Home
last modified time | relevance | path

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

/frameworks/base/cmds/idmap2/tests/
DBinaryStreamVisitorTests.cpp75 ASSERT_EQ(target_entries1[0].overlay_id, target_entries2[0].overlay_id); in TEST()
78 ASSERT_EQ(target_entries1[1].overlay_id, target_entries2[1].overlay_id); in TEST()
81 ASSERT_EQ(target_entries1[2].overlay_id, target_entries2[2].overlay_id); in TEST()
95 ASSERT_EQ(overlay_entries1[0].overlay_id, overlay_entries2[0].overlay_id); in TEST()
98 ASSERT_EQ(overlay_entries1[1].overlay_id, overlay_entries2[1].overlay_id); in TEST()
101 ASSERT_EQ(overlay_entries1[2].overlay_id, overlay_entries2[2].overlay_id); in TEST()
DIdmapTests.cpp48 ASSERT_EQ((entry).overlay_id, (overlay_resid))
57 ASSERT_EQ((entry).overlay_id, (overlay_resid)); \
/frameworks/base/cmds/idmap2/libidmap2/
DRawPrintVisitor.cpp72 overlay_name = overlay_->GetResourceName(target_entry.overlay_id); in visit()
75 print(target_entry.overlay_id, "overlay id: %s", overlay_name->c_str()); in visit()
77 print(target_entry.overlay_id, "overlay id"); in visit()
122 overlay_name = overlay_->GetResourceName(overlay_entry.overlay_id); in visit()
126 print(overlay_entry.overlay_id, "overlay id: %s", overlay_name->c_str()); in visit()
128 print(overlay_entry.overlay_id, "overlay id"); in visit()
DPrettyPrintVisitor.cpp84 if (auto name = overlay_->GetResourceName(target_entry.overlay_id)) { in visit()
91 target_entry.overlay_id, target_name.c_str(), in visit()
DBinaryStreamVisitor.cpp69 Write32(target_entry.overlay_id); in visit()
105 Write32(overlay_entry.overlay_id); in visit()
DResourceMapping.cpp171 target_map_.insert(std::make_pair(target_resource, overlay_resource->overlay_id)); in AddMapping()
175 overlay_map_.insert(std::make_pair(overlay_resource->overlay_id, target_resource)); in AddMapping()
DIdmap.cpp209 if (!Read32(stream, &target_entry.target_id) || !Read32(stream, &target_entry.overlay_id)) { in FromBinaryStream()
270 if (!Read32(stream, &overlay_entry.overlay_id) || !Read32(stream, &overlay_entry.target_id)) { in FromBinaryStream()
/frameworks/base/libs/androidfw/
DIdmap.cpp70 uint32_t overlay_id; member
85 uint32_t overlay_id; member
130 [](const Idmap_overlay_entry& e1, const uint32_t overlay_id) { in lookupResourceId() argument
131 return dtohl(e1.overlay_id) < overlay_id; in lookupResourceId()
134 if (entry == end_entry || dtohl(entry->overlay_id) != *resId) { in lookupResourceId()
182 uint32_t overlay_resource_id = dtohl(entry->overlay_id); in Lookup()
/frameworks/base/cmds/idmap2/include/idmap2/
DIdmap.h221 ResourceId overlay_id; member
230 ResourceId overlay_id; member
DResourceContainer.h52 ResourceId overlay_id; member