Searched refs:new_ext (Results 1 - 1 of 1) sorted by relevance

/frameworks/native/cmds/installd/
H A Ddexopt.cpp850 static std::string replace_file_extension(const std::string& oat_path, const std::string& new_ext) { argument
851 // A standard dalvik-cache entry. Replace ".dex" with `new_ext`.
854 new_path.replace(new_path.length() - strlen(".dex"), strlen(".dex"), new_ext);
855 CHECK(EndsWith(new_path, new_ext.c_str()));
864 new_path.replace(odex_pos, strlen(".odex"), new_ext);
865 CHECK_NE(new_path.find(new_ext), std::string::npos);

Completed in 448 milliseconds