Searched refs:oat_path (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/cmds/installd/ |
D | dexopt.cpp | 1075 static std::string replace_file_extension(const std::string& oat_path, const std::string& new_ext) { in replace_file_extension() argument 1077 if (EndsWith(oat_path, ".dex")) { in replace_file_extension() 1078 std::string new_path = oat_path; in replace_file_extension() 1086 size_t odex_pos = oat_path.rfind(".odex"); in replace_file_extension() 1088 std::string new_path = oat_path; in replace_file_extension() 1100 static std::string create_image_filename(const std::string& oat_path) { in create_image_filename() argument 1101 return replace_file_extension(oat_path, ".art"); in create_image_filename() 1105 static std::string create_vdex_filename(const std::string& oat_path) { in create_vdex_filename() argument 1106 return replace_file_extension(oat_path, ".vdex"); in create_vdex_filename() 1527 char oat_path[PKG_PATH_MAX]; in maybe_open_oat_and_vdex_file() local [all …]
|
D | otapreopt.cpp | 323 std::string oat_path = isa_path + "/system@framework@boot.oat"; in PrepareBootImage() local 325 if (access(art_path.c_str(), F_OK) == 0 && access(oat_path.c_str(), F_OK) == 0) { in PrepareBootImage() 361 return Dex2oatBootImage(boot_classpath_, art_path, oat_path, isa); in PrepareBootImage() 452 const std::string& oat_path, in Dex2oatBootImage() argument 461 cmd.push_back(StringPrintf("--oat-file=%s", oat_path.c_str())); in Dex2oatBootImage()
|