Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/
Dotapreopt.cpp830 std::string new_path = StringPrintf("%s/oat/%s/%s.odex.%s", in calculate_odex_file_path() local
835 if (new_path.length() >= PKG_PATH_MAX) { in calculate_odex_file_path()
836 LOG(ERROR) << "apk_path of " << apk_path << " is too long: " << new_path; in calculate_odex_file_path()
839 strcpy(path, new_path.c_str()); in calculate_odex_file_path()
Ddexopt.cpp1078 std::string new_path = oat_path; in replace_file_extension() local
1079 new_path.replace(new_path.length() - strlen(".dex"), strlen(".dex"), new_ext); in replace_file_extension()
1080 CHECK(EndsWith(new_path, new_ext)); in replace_file_extension()
1081 return new_path; in replace_file_extension()
1088 std::string new_path = oat_path; in replace_file_extension() local
1089 new_path.replace(odex_pos, strlen(".odex"), new_ext); in replace_file_extension()
1090 CHECK_NE(new_path.find(new_ext), std::string::npos); in replace_file_extension()
1091 return new_path; in replace_file_extension()
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp1082 const std::string new_path = in DumpBlockStatFiles() local
1084 printf("------ BLOCK STAT (%s) ------\n", new_path.c_str()); in DumpBlockStatFiles()
1085 dump_files("", new_path.c_str(), skip_not_stat, dump_stat_from_fd); in DumpBlockStatFiles()
2235 std::string new_path = ds.GetPath(".zip"); in run_main() local
2236 if (ds.path_ != new_path) { in run_main()
2237 MYLOGD("Renaming zip file from %s to %s\n", ds.path_.c_str(), new_path.c_str()); in run_main()
2238 if (rename(ds.path_.c_str(), new_path.c_str())) { in run_main()
2239 MYLOGE("rename(%s, %s): %s\n", ds.path_.c_str(), new_path.c_str(), in run_main()
2242 ds.path_ = new_path; in run_main()
/frameworks/base/libs/androidfw/
DAssetManager2.cpp239 const std::string new_path = "assets/" + filename; in Open() local
240 return OpenNonAsset(new_path, mode); in Open()
245 const std::string new_path = "assets/" + filename; in Open() local
246 return OpenNonAsset(new_path, cookie, mode); in Open()