Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/optimize/
DResourcePathShortener.cpp67 std::string shortened_path = "res/" + shortened_filename.to_string(); in GetShortenedPath() local
69 shortened_path += std::to_string(collision_count); in GetShortenedPath()
71 shortened_path += extension; in GetShortenedPath()
72 return shortened_path; in GetShortenedPath()
111 std::string shortened_path = GetShortenedPath(shortened_filename, extension, collision_count); in Consume() local
112 while (shortened_paths.find(shortened_path) != shortened_paths.end()) { in Consume()
114 shortened_path = GetShortenedPath(shortened_filename, extension, collision_count); in Consume()
116 shortened_paths.insert(shortened_path); in Consume()
117 path_map_.insert({*file_ref->path, shortened_path}); in Consume()
118 file_ref->path = table->string_pool.MakeRef(shortened_path, file_ref->path.GetContext()); in Consume()