Home
last modified time | relevance | path

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

/aosp14/frameworks/base/tools/aapt2/optimize/
H A DObfuscator.cpp68 std::string shortened_path = std::string("res/") += shortened_filename; in GetShortenedPath() local
70 shortened_path += std::to_string(collision_count); in GetShortenedPath()
72 shortened_path += extension; in GetShortenedPath()
73 return shortened_path; in GetShortenedPath()
118 while (shortened_paths.find(shortened_path) != shortened_paths.end()) { in HandleShortenFilePaths()
120 shortened_path = GetShortenedPath(shortened_filename, extension, collision_count); in HandleShortenFilePaths()
122 shortened_paths.insert(shortened_path); in HandleShortenFilePaths()
123 shortened_path_map.insert({*file_ref->path, shortened_path}); in HandleShortenFilePaths()
124 file_ref->path = table->string_pool.MakeRef(shortened_path, file_ref->path.GetContext()); in HandleShortenFilePaths()
210 for (const auto& [original_path, shortened_path] : options_.shortened_path_map) { in WriteObfuscationMap()
[all …]
/aosp14/frameworks/base/tools/aapt2/
H A DResourceMetadata.proto34 string shortened_path = 1;