Home
last modified time | relevance | path

Searched refs:oat_path (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/cmds/installd/
Ddexopt.cpp1027 static std::string replace_file_extension(const std::string& oat_path, const std::string& new_ext) { in replace_file_extension() argument
1029 if (EndsWith(oat_path, ".dex")) { in replace_file_extension()
1030 std::string new_path = oat_path; in replace_file_extension()
1038 size_t odex_pos = oat_path.rfind(".odex"); in replace_file_extension()
1040 std::string new_path = oat_path; in replace_file_extension()
1052 static std::string create_image_filename(const std::string& oat_path) { in create_image_filename() argument
1053 return replace_file_extension(oat_path, ".art"); in create_image_filename()
1057 static std::string create_vdex_filename(const std::string& oat_path) { in create_vdex_filename() argument
1058 return replace_file_extension(oat_path, ".vdex"); in create_vdex_filename()
1477 char oat_path[PKG_PATH_MAX]; in maybe_open_oat_and_vdex_file() local
[all …]
Dotapreopt.cpp346 std::string oat_path = isa_path + "/system@framework@boot.oat"; in PrepareBootImage() local
348 if (access(art_path.c_str(), F_OK) == 0 && access(oat_path.c_str(), F_OK) == 0) { in PrepareBootImage()
370 return Dex2oatBootImage(boot_classpath_, art_path, oat_path, isa); in PrepareBootImage()
437 const std::string& oat_path, in Dex2oatBootImage() argument
446 cmd.push_back(StringPrintf("--oat-file=%s", oat_path.c_str())); in Dex2oatBootImage()