Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/optimize/
DObfuscator.cpp91 std::string shortened_path = std::string("res/") += shortened_filename; in GetShortenedPath() local
93 shortened_path += std::to_string(collision_count); in GetShortenedPath()
95 shortened_path += extension; in GetShortenedPath()
96 return shortened_path; in GetShortenedPath()
141 std::string shortened_path = GetShortenedPath(shortened_filename, extension, collision_count); in HandleShortenFilePaths() local
142 while (shortened_paths.find(shortened_path) != shortened_paths.end()) { in HandleShortenFilePaths()
144 shortened_path = GetShortenedPath(shortened_filename, extension, collision_count); in HandleShortenFilePaths()
146 shortened_paths.insert(shortened_path); in HandleShortenFilePaths()
147 shortened_path_map.insert({*file_ref->path, shortened_path}); in HandleShortenFilePaths()
148 file_ref->path = table->string_pool.MakeRef(shortened_path, file_ref->path.GetContext()); in HandleShortenFilePaths()
[all …]
/frameworks/base/tools/aapt2/
DResourceMetadata.proto34 string shortened_path = 1; field