Home
last modified time | relevance | path

Searched refs:ReplaceFileExtension (Results 1 – 10 of 10) sorted by relevance

/art/libartbase/base/
Dfile_utils_test.cc156 TEST_F(FileUtilsTest, ReplaceFileExtension) { in TEST_F() argument
157 EXPECT_EQ("/directory/file.vdex", ReplaceFileExtension("/directory/file.oat", "vdex")); in TEST_F()
158 EXPECT_EQ("/.directory/file.vdex", ReplaceFileExtension("/.directory/file.oat", "vdex")); in TEST_F()
159 EXPECT_EQ("/directory/file.vdex", ReplaceFileExtension("/directory/file", "vdex")); in TEST_F()
160 EXPECT_EQ("/.directory/file.vdex", ReplaceFileExtension("/.directory/file", "vdex")); in TEST_F()
219 const std::string accompanying_oat_file = ReplaceFileExtension(boot_image_filename, "oat"); in TEST_F()
239 const std::string accompanying_odex_file = ReplaceFileExtension(image_filename, "odex"); in TEST_F()
260 CHECK_EQ(odex_filename, ReplaceFileExtension(art_filename, "odex")); in TEST_F()
263 CHECK_EQ(vdex_filename, ReplaceFileExtension(art_filename, "vdex")); in TEST_F()
Dfile_utils.cc448 return ReplaceFileExtension(result, file_extension); in GetApexDataDalvikCacheFilename()
453 return apex_data_dalvik_cache + "/boot-" + ReplaceFileExtension(basename, file_extension); in GetApexDataDalvikCacheFilename()
487 return ReplaceFileExtension(oat_location, "vdex"); in GetVdexFilename()
507 std::string ReplaceFileExtension(std::string_view filename, std::string_view new_extension) { in ReplaceFileExtension() function
Dfile_utils.h127 std::string ReplaceFileExtension(std::string_view filename, std::string_view new_extension);
/art/odrefresh/
Dodr_artifacts.h46 oat_path_{ReplaceFileExtension(image_path, aot_extension)},
47 vdex_path_{ReplaceFileExtension(image_path, "vdex")} {}
Dodrefresh.cc979 const std::string image_name = ReplaceFileExtension(jar_name, "art"); in GetBootImageExtensionImage()
996 const std::string image_name = ReplaceFileExtension(jar_name, "art"); in GetSystemServerImagePath()
/art/dex2oat/linker/
Dimage_test.h199 std::string oat_filename = ReplaceFileExtension(image_filename, "oat"); in DoCompile()
202 std::string vdex_filename = ReplaceFileExtension(image_filename, "vdex"); in DoCompile()
/art/dexoptanalyzer/
Ddexoptanalyzer.cc409 const std::string oat_path = ReplaceFileExtension(image_space->GetImageFilename(), "oat"); in ValidateBcp()
/art/runtime/
Doat_file_assistant.cc731 std::string art_file = ReplaceFileExtension(oat_file->GetLocation(), "art"); in OpenImageSpace()
/art/dex2oat/
Ddex2oat.cc1215 ? ReplaceFileExtension(oat_filename, "vdex") in OpenFile()
1272 std::string vdex_location = ReplaceFileExtension(oat_location_, "vdex"); in OpenFile()
/art/runtime/jit/
Djit.cc836 return ReplaceFileExtension(profile, "bprof"); in GetBootProfileFile()