Home
last modified time | relevance | path

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

/frameworks/base/cmds/idmap2/tests/
DBinaryStreamVisitorTests.cpp74 ASSERT_EQ(target_entries1[0].target_id, target_entries2[0].target_id); in TEST()
77 ASSERT_EQ(target_entries1[1].target_id, target_entries2[1].target_id); in TEST()
80 ASSERT_EQ(target_entries1[2].target_id, target_entries2[2].target_id); in TEST()
87 ASSERT_EQ(overlay_entries1[0].target_id, overlay_entries2[0].target_id); in TEST()
90 ASSERT_EQ(overlay_entries1[1].target_id, overlay_entries2[1].target_id); in TEST()
93 ASSERT_EQ(overlay_entries1[2].target_id, overlay_entries2[2].target_id); in TEST()
DIdmapTests.cpp46 ASSERT_EQ(entry.target_id, target_resid); \
52 ASSERT_EQ(entry.target_id, target_resid)
/frameworks/base/cmds/idmap2/libidmap2/
DRawPrintVisitor.cpp77 target_name = utils::ResToTypeEntryName(target_am_, target_entry.target_id); in visit()
80 print(target_entry.target_id, "target id: %s", target_name->c_str()); in visit()
82 print(target_entry.target_id, "target id"); in visit()
114 target_name = utils::ResToTypeEntryName(target_am_, overlay_entry.target_id); in visit()
118 print(overlay_entry.target_id, "target id: %s", target_name->c_str()); in visit()
120 print(overlay_entry.target_id, "target id"); in visit()
DPrettyPrintVisitor.cpp68 stream_ << TAB << base::StringPrintf("0x%08x ->", target_entry.target_id); in visit()
84 Result<std::string> name = utils::ResToTypeEntryName(target_am_, target_entry.target_id); in visit()
DBinaryStreamVisitor.cpp78 Write32(target_entry.target_id); in visit()
85 Write32(overlay_entry.target_id); in visit()
DIdmap.cpp231 if (!Read32(stream, &target_entry.target_id) || !Read8(stream, &target_entry.data_type) || in FromBinaryStream()
241 if (!Read32(stream, &overlay_entry.overlay_id) || !Read32(stream, &overlay_entry.target_id)) { in FromBinaryStream()
/frameworks/base/libs/androidfw/
DIdmap.cpp39 static bool compare_target_entries(const Idmap_target_entry &e1, const uint32_t target_id) { in compare_target_entries() argument
40 return dtohl(e1.target_id) < target_id; in compare_target_entries()
98 *resId = (0x00FFFFFFU & dtohl(entry->target_id)) in lookupResourceId()
130 if (entry == end_entry || dtohl(entry->target_id) != target_res_id) { in Lookup()
/frameworks/base/cmds/idmap2/include/idmap2/
DIdmap.h215 ResourceId target_id; member
222 ResourceId target_id; member
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h1771 uint32_t target_id; member
1778 uint32_t target_id; member
/frameworks/base/cmds/statsd/src/
Datoms.proto3092 optional int32 target_id = 7; field
3138 optional int32 target_id = 2; field