Searched refs:id_resource_map (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/tools/aapt2/optimize/ |
D | Obfuscator_test.cpp | 332 auto& id_resource_map = flattenerOptions.id_resource_map; in TEST() local 336 ASSERT_THAT(id_resource_map.find(0x7f020000), Not(Eq(id_resource_map.end()))); in TEST() 337 EXPECT_THAT(id_resource_map.at(0x7f020000), Eq("mycolor")); in TEST() 338 ASSERT_THAT(id_resource_map.find(0x7f030000), Not(Eq(id_resource_map.end()))); in TEST() 339 EXPECT_THAT(id_resource_map.at(0x7f030000), Eq("mystring")); in TEST() 340 EXPECT_THAT(id_resource_map.find(0x7f030001), Eq(id_resource_map.end())); in TEST() 341 EXPECT_THAT(id_resource_map.find(0x7f030002), Eq(id_resource_map.end())); in TEST()
|
D | Obfuscator.cpp | 179 std::unordered_map<uint32_t, std::string>& id_resource_map) { in HandleCollapseKeyStringPool() argument 185 auto onObfuscate = [&entryResId, &id_resource_map](const Obfuscator::Result obfuscatedResult, in HandleCollapseKeyStringPool() 188 id_resource_map.insert({entryResId, resource_name.entry}); in HandleCollapseKeyStringPool() 218 options_.name_collapse_exemptions, options_.id_resource_map); in Consume() 228 for (const auto& [id, name] : options_.id_resource_map) { in WriteObfuscationMap()
|
/frameworks/base/tools/aapt2/format/binary/ |
D | TableFlattener.h | 84 std::unordered_map<uint32_t, std::string> id_resource_map; member
|