Lines Matching refs:dex_location

697   const char* dex_location = dex_file.GetLocation().c_str();  in FindOpenedOatDexFileForDexFile()  local
699 return FindOpenedOatDexFile(nullptr, dex_location, &dex_location_checksum); in FindOpenedOatDexFileForDexFile()
703 const char* dex_location, in FindOpenedOatDexFile() argument
715 const OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_location, in FindOpenedOatDexFile()
736 const char* dex_location, in LoadMultiDexFilesFromOatFile() argument
749 std::string next_name_str = DexFile::GetMultiDexClassesDexName(i, dex_location); in LoadMultiDexFilesFromOatFile()
755 if ((i == 0) && (strcmp(next_name, dex_location) == 0)) { in LoadMultiDexFilesFromOatFile()
774 " file'%s'", dex_location, next_location_checksum, in LoadMultiDexFilesFromOatFile()
827 bool ClassLinker::OpenDexFilesFromOat(const char* dex_location, const char* oat_location, in OpenDexFilesFromOat() argument
836 if (!DexFile::GetChecksum(dex_location, dex_location_checksum_pointer, &checksum_error_msg)) { in OpenDexFilesFromOat()
844 const OatFile::OatDexFile* oat_dex_file = FindOpenedOatDexFile(oat_location, dex_location, in OpenDexFilesFromOat()
876 open_oat_file.reset(FindOatFileInOatLocationForDexFile(dex_location, dex_location_checksum, in OpenDexFilesFromOat()
881 dex_location, oat_location, error_msg.c_str()); in OpenDexFilesFromOat()
888 open_oat_file.reset(FindOatFileContainingDexFileFromDexLocation(dex_location, in OpenDexFilesFromOat()
905 bool success = LoadMultiDexFilesFromOatFile(open_oat_file.get(), dex_location, in OpenDexFilesFromOat()
938 cache_location = GetDalvikCacheFilenameOrDie(dex_location, dalvik_cache.c_str()); in OpenDexFilesFromOat()
954 open_oat_file.reset(CreateOatFileForDexLocation(dex_location, scoped_flock.GetFile()->Fd(), in OpenDexFilesFromOat()
962 DexFile::Open(dex_location, dex_location, &error_msg, dex_files); in OpenDexFilesFromOat()
968 success = LoadMultiDexFilesFromOatFile(open_oat_file.get(), dex_location, in OpenDexFilesFromOat()
979 const OatFile* ClassLinker::FindOatFileInOatLocationForDexFile(const char* dex_location, in FindOatFileInOatLocationForDexFile() argument
1021 const OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_location, in FindOatFileInOatLocationForDexFile()
1025 dex_location); in FindOatFileInOatLocationForDexFile()
1044 const OatFile* ClassLinker::CreateOatFileForDexLocation(const char* dex_location, in CreateOatFileForDexLocation() argument
1048 VLOG(class_linker) << "Generating oat file " << oat_location << " for " << dex_location; in CreateOatFileForDexLocation()
1050 if (!GenerateOatFile(dex_location, fd, oat_location, &error_msg)) { in CreateOatFileForDexLocation()
1135 const char* dex_location, in VerifyOatAndDexFileChecksums() argument
1143 const OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_location, in VerifyOatAndDexFileChecksums()
1147 oat_file->GetLocation().c_str(), dex_location, dex_location_checksum); in VerifyOatAndDexFileChecksums()
1161 dex_location, dex_location_checksum); in VerifyOatAndDexFileChecksums()
1168 const char* dex_location, in VerifyOatWithDexFile() argument
1172 CHECK(dex_location != nullptr); in VerifyOatWithDexFile()
1178 const OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_location, nullptr); in VerifyOatWithDexFile()
1181 "dex file '%s': %s", oat_file->GetLocation().c_str(), dex_location, in VerifyOatWithDexFile()
1187 bool verified = VerifyOatAndDexFileChecksums(oat_file, dex_location, *dex_location_checksum, in VerifyOatWithDexFile()
1192 dex_file.reset(oat_file->GetOatDexFile(dex_location, in VerifyOatWithDexFile()
1199 const char* dex_location, in FindOatFileContainingDexFileFromDexLocation() argument
1206 std::string dex_location_str(dex_location); in FindOatFileContainingDexFileFromDexLocation()
1214 dex_location)); in FindOatFileContainingDexFileFromDexLocation()
1217 !VerifyOatWithDexFile(oat_file.get(), dex_location, in FindOatFileContainingDexFileFromDexLocation()
1220 "'%s': %s", oat_file->GetLocation().c_str(), dex_location, in FindOatFileContainingDexFileFromDexLocation()
1228 oat_file->GetLocation().c_str(), dex_location)); in FindOatFileContainingDexFileFromDexLocation()
1247 const OatFile* ClassLinker::OpenOatFileFromDexLocation(const std::string& dex_location, in OpenOatFileFromDexLocation() argument
1254 std::string odex_filename(DexFilenameToOdexFilename(dex_location, isa)); in OpenOatFileFromDexLocation()
1269 cache_filename = GetDalvikCacheFilenameOrDie(dex_location.c_str(), dalvik_cache.c_str()); in OpenOatFileFromDexLocation()
1379 cache_filename.c_str(), dex_location.c_str(), in OpenOatFileFromDexLocation()