Searched refs:path_map (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/tools/aapt2/optimize/ |
D | ResourcePathShortener_test.cpp | 52 std::map<std::string, std::string> path_map; in TEST() local 53 ASSERT_TRUE(ResourcePathShortener(path_map).Consume(context.get(), table.get())); in TEST() 56 ASSERT_THAT(path_map.find("res/drawables/xmlfile.xml"), Not(Eq(path_map.end()))); in TEST() 57 ASSERT_THAT(path_map.find("res/drawables/xmlfile2.xml"), Not(Eq(path_map.end()))); in TEST() 60 EXPECT_THAT(path_map.at("res/drawables/xmlfile.xml"), Not(Eq("res/drawables/xmlfile.xml"))); in TEST() 61 EXPECT_THAT(path_map.at("res/drawables/xmlfile2.xml"), Not(Eq("res/drawables/xmlfile2.xml"))); in TEST() 64 EXPECT_THAT(path_map["res/drawables/xmlfile.xml"], in TEST() 65 Not(Eq(path_map["res/drawables/xmlfile2.xml"]))); in TEST() 71 EXPECT_THAT(path_map["res/drawables/xmlfile.xml"], Eq(*ref->path)); in TEST() 77 EXPECT_THAT(path_map.find("res/should/still/be/the/same.png"), Eq(path_map.end())); in TEST() [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 | 290 bool WriteShortenedPathsMap(const std::map<std::string, std::string> &path_map, in WriteShortenedPathsMap() argument 293 for (auto it = path_map.cbegin(); it != path_map.cend(); ++it) { in WriteShortenedPathsMap()
|
D | Optimize.h | 122 bool WriteObfuscatedPathsMap(const std::map<std::string, std::string> &path_map,
|