Searched defs:new_path (Results 1 - 4 of 4) sorted by relevance
/frameworks/base/libs/androidfw/ |
H A D | AssetManager2.cpp | 239 const std::string new_path = "assets/" + filename; local 240 return OpenNonAsset(new_path, mode); 245 const std::string new_path = "assets/" + filename; local 246 return OpenNonAsset(new_path, cookie, mode);
|
/frameworks/native/cmds/installd/ |
H A D | otapreopt.cpp | 830 std::string new_path = StringPrintf("%s/oat/%s/%s.odex.%s", local 835 if (new_path.length() >= PKG_PATH_MAX) { 836 LOG(ERROR) << "apk_path of " << apk_path << " is too long: " << new_path; local 839 strcpy(path, new_path.c_str());
|
H A D | dexopt.cpp | 1078 std::string new_path = oat_path; local 1079 new_path.replace(new_path.length() - strlen(".dex"), strlen(".dex"), new_ext); 1080 CHECK(EndsWith(new_path, new_ext)); 1081 return new_path; 1088 std::string new_path = oat_path; local 1089 new_path.replace(odex_pos, strlen(".odex"), new_ext); 1090 CHECK_NE(new_path.find(new_ext), std::string::npos); 1091 return new_path;
|
/frameworks/native/cmds/dumpstate/ |
H A D | dumpstate.cpp | 1082 const std::string new_path = local 1084 printf("------ BLOCK STAT (%s) ------\n", new_path.c_str()); 1085 dump_files("", new_path.c_str(), skip_not_stat, dump_stat_from_fd); 2235 std::string new_path = ds.GetPath(".zip"); local 2236 if (ds.path_ != new_path) { 2237 MYLOGD("Renaming zip file from %s to %s\n", ds.path_.c_str(), new_path.c_str()); 2238 if (rename(ds.path_.c_str(), new_path.c_str())) { 2239 MYLOGE("rename(%s, %s): %s\n", ds.path_.c_str(), new_path.c_str(), 2242 ds.path_ = new_path;
|
Completed in 116 milliseconds