Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/optimize/
DObfuscator_test.cpp82 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/
Dpermute.c284 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/
DOptimize.cpp306 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()
DOptimize.h151 bool WriteObfuscatedPathsMap(const std::map<std::string, std::string> &path_map,