Home
last modified time | relevance | path

Searched refs:resourceMappings (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tools/aapt2/optimize/
DObfuscator.cpp227 pb::ResourceMappings resourceMappings; in WriteObfuscationMap() local
229 auto* collapsedNameMapping = resourceMappings.mutable_collapsed_names()->add_resource_names(); in WriteObfuscationMap()
235 auto* resource_path = resourceMappings.mutable_shortened_paths()->add_resource_paths(); in WriteObfuscationMap()
245 return resourceMappings.SerializeToOstream(&fout); in WriteObfuscationMap()
DObfuscator_test.cpp400 pb::ResourceMappings resourceMappings; in TEST() local
401 ASSERT_THAT(resourceMappings.ParseFromString(pbOut), IsTrue()); in TEST()
402 ASSERT_THAT(resourceMappings.collapsed_names().resource_names_size(), Eq(2)); in TEST()
403 auto& resource_names = resourceMappings.collapsed_names().resource_names(); in TEST()
406 auto& shortened_paths = resourceMappings.shortened_paths(); in TEST()