Home
last modified time | relevance | path

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

/frameworks/base/cmds/idmap2/tests/
DTestHelpers.h213 std::string new_path = path; in TempFrroFile() local
214 new_path += ".frro"; in TempFrroFile()
215 ::rename(path, new_path.c_str()); in TempFrroFile()
216 const auto new_len = new_path.copy(path, sizeof(path) - 1); in TempFrroFile()
/frameworks/native/cmds/installd/
Dotapreopt.cpp659 std::string new_path = StringPrintf("%s/oat/%s/%s.odex.%s", in calculate_odex_file_path() local
664 if (new_path.length() >= PKG_PATH_MAX) { in calculate_odex_file_path()
665 LOG(ERROR) << "apk_path of " << apk_path << " is too long: " << new_path; in calculate_odex_file_path()
668 strcpy(path, new_path.c_str()); in calculate_odex_file_path()
Ddexopt.cpp917 std::string new_path = oat_path; in replace_file_extension() local
918 new_path.replace(new_path.length() - strlen(".dex"), strlen(".dex"), new_ext); in replace_file_extension()
919 CHECK(EndsWith(new_path, new_ext)); in replace_file_extension()
920 return new_path; in replace_file_extension()
927 std::string new_path = oat_path; in replace_file_extension() local
928 new_path.replace(odex_pos, strlen(".odex"), new_ext); in replace_file_extension()
929 CHECK_NE(new_path.find(new_ext), std::string::npos); in replace_file_extension()
930 return new_path; in replace_file_extension()
/frameworks/base/libs/androidfw/
DAssetManager2.cpp554 const std::string new_path = "assets/" + filename; in Open() local
555 return OpenNonAsset(new_path, mode); in Open()
560 const std::string new_path = "assets/" + filename; in Open() local
561 return OpenNonAsset(new_path, cookie, mode); in Open()
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp1237 const std::string new_path = in DumpBlockStatFiles() local
1239 printf("------ BLOCK STAT (%s) ------\n", new_path.c_str()); in DumpBlockStatFiles()
1240 dump_files("", new_path.c_str(), skip_not_stat, dump_stat_from_fd); in DumpBlockStatFiles()