Searched refs:path_map (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/tools/aapt2/optimize/ |
D | Obfuscator_test.cpp | 82 std::map<std::string, std::string>& path_map = options.table_flattener_options.shortened_path_map; in TEST() local 86 ASSERT_THAT(path_map.find("res/drawables/xmlfile.xml"), Not(Eq(path_map.end()))); in TEST() 87 ASSERT_THAT(path_map.find("res/drawables/xmlfile2.xml"), Not(Eq(path_map.end()))); in TEST() 90 EXPECT_THAT(path_map.at("res/drawables/xmlfile.xml"), Not(Eq("res/drawables/xmlfile.xml"))); in TEST() 91 EXPECT_THAT(path_map.at("res/drawables/xmlfile2.xml"), Not(Eq("res/drawables/xmlfile2.xml"))); in TEST() 94 EXPECT_THAT(path_map["res/drawables/xmlfile.xml"], in TEST() 95 Not(Eq(path_map["res/drawables/xmlfile2.xml"]))); in TEST() 100 EXPECT_THAT(path_map["res/drawables/xmlfile.xml"], Eq(*ref->path)); in TEST() 105 EXPECT_THAT(path_map.find("res/should/still/be/the/same.png"), Eq(path_map.end())); in TEST() 119 std::map<std::string, std::string>& path_map = options.table_flattener_options.shortened_path_map; in TEST() local [all …]
|
/frameworks/wilhelm/tools/permute/ |
D | permute.c | 284 char *path_map = malloc(strlen(path_in) + 8); in permute() local 285 assert(path_map != NULL); in permute() 286 strcpy(path_map, path_in); in permute() 287 strcat(path_map, ".map"); in permute() 288 FILE *fp_map = fopen(path_map, "w"); in permute() 290 perror(path_map); in permute()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Optimize.cpp | 306 bool WriteShortenedPathsMap(const std::map<std::string, std::string> &path_map, in WriteShortenedPathsMap() argument 309 for (auto it = path_map.cbegin(); it != path_map.cend(); ++it) { in WriteShortenedPathsMap()
|
D | Optimize.h | 151 bool WriteObfuscatedPathsMap(const std::map<std::string, std::string> &path_map,
|