Searched refs:cache_filename (Results 1 – 4 of 4) sorted by relevance
/art/runtime/gc/space/ |
D | image_space.cc | 202 std::string* cache_filename, in FindImageFilename() argument 229 if (!GetDalvikCacheFilename(image_location, dalvik_cache.c_str(), cache_filename, &error_msg)) { in FindImageFilename() 233 *has_cache = OS::FileExists(cache_filename->c_str()); in FindImageFilename() 321 std::string cache_filename; in ReadImageHeader() local 326 &cache_filename, &dalvik_cache_exists, &has_cache, &is_global_cache)) { in ReadImageHeader() 336 if (!ReadSpecificImageHeader(cache_filename.c_str(), cache_hdr.get())) { in ReadImageHeader() 338 image_location, cache_filename.c_str()); in ReadImageHeader() 353 return ReadSpecificImageHeader(cache_filename.c_str(), error_msg); in ReadImageHeader() 361 std::unique_ptr<ImageHeader> cache(ReadSpecificImageHeader(cache_filename.c_str(), in ReadImageHeader() 372 return ReadSpecificImageHeader(cache_filename.c_str(), error_msg); in ReadImageHeader() [all …]
|
/art/patchoat/ |
D | patchoat.cc | 87 std::string cache_filename; in LocationToFilename() local 96 &cache_filename, &error_msg)) { in LocationToFilename() 104 *filename = cache_filename; in LocationToFilename() 1120 std::string cache_filename; in patchoat() local 1125 &system_filename, &has_system, &cache_filename, in patchoat() 1131 patched_image_filename = cache_filename; in patchoat()
|
/art/runtime/native/ |
D | dalvik_system_DexFile.cc | 521 std::string cache_filename; // was cache_location in CopyProfileFile() local 525 have_cache_filename = GetDalvikCacheFilename(filename, cache_dir.c_str(), &cache_filename, in CopyProfileFile() 542 IsDexOptNeededForFile<kVerboseLogging, kReasonLogging>(cache_filename, filename, in CopyProfileFile()
|
/art/runtime/ |
D | class_linker.cc | 1267 std::string cache_filename; in OpenOatFileFromDexLocation() local 1269 cache_filename = GetDalvikCacheFilenameOrDie(dex_location.c_str(), dalvik_cache.c_str()); in OpenOatFileFromDexLocation() 1270 ret = FindOpenedOatFileFromOatLocation(cache_filename); in OpenOatFileFromDexLocation() 1277 cache_filename = odex_filename; in OpenOatFileFromDexLocation() 1336 std::unique_ptr<OatFile> cache_oat_file(OatFile::Open(cache_filename, cache_filename, nullptr, in OpenOatFileFromDexLocation() 1363 ret = PatchAndRetrieveOat(odex_filename, cache_filename, image_location, isa, &error_msg); in OpenOatFileFromDexLocation() 1366 ret = PatchAndRetrieveOat(cache_filename, cache_filename, image_location, isa, &error_msg); in OpenOatFileFromDexLocation() 1372 if (ret == nullptr && have_dalvik_cache && OS::FileExists(cache_filename.c_str())) { in OpenOatFileFromDexLocation() 1376 if (TEMP_FAILURE_RETRY(unlink(cache_filename.c_str())) != 0) { in OpenOatFileFromDexLocation() 1379 cache_filename.c_str(), dex_location.c_str(), in OpenOatFileFromDexLocation() [all …]
|