• Home
  • Raw
  • Download

Lines Matching refs:dex_location

681   const char* dex_location = dex_file.GetLocation().c_str();  in FindOpenedOatDexFileForDexFile()  local
683 return FindOpenedOatDexFile(nullptr, dex_location, &dex_location_checksum); in FindOpenedOatDexFileForDexFile()
687 const char* dex_location, in FindOpenedOatDexFile() argument
699 const OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_location, in FindOpenedOatDexFile()
720 const char* dex_location, in LoadMultiDexFilesFromOatFile() argument
733 std::string next_name_str = DexFile::GetMultiDexClassesDexName(i, dex_location); in LoadMultiDexFilesFromOatFile()
739 if ((i == 0) && (strcmp(next_name, dex_location) == 0)) { in LoadMultiDexFilesFromOatFile()
758 " file'%s'", dex_location, next_location_checksum, in LoadMultiDexFilesFromOatFile()
811 bool ClassLinker::OpenDexFilesFromOat(const char* dex_location, const char* oat_location, in OpenDexFilesFromOat() argument
820 if (!DexFile::GetChecksum(dex_location, dex_location_checksum_pointer, &checksum_error_msg)) { in OpenDexFilesFromOat()
828 const OatFile::OatDexFile* oat_dex_file = FindOpenedOatDexFile(oat_location, dex_location, in OpenDexFilesFromOat()
860 open_oat_file.reset(FindOatFileInOatLocationForDexFile(dex_location, dex_location_checksum, in OpenDexFilesFromOat()
865 dex_location, oat_location, error_msg.c_str()); in OpenDexFilesFromOat()
872 open_oat_file.reset(FindOatFileContainingDexFileFromDexLocation(dex_location, in OpenDexFilesFromOat()
889 bool success = LoadMultiDexFilesFromOatFile(open_oat_file.get(), dex_location, in OpenDexFilesFromOat()
922 cache_location = GetDalvikCacheFilenameOrDie(dex_location, dalvik_cache.c_str()); in OpenDexFilesFromOat()
938 open_oat_file.reset(CreateOatFileForDexLocation(dex_location, scoped_flock.GetFile()->Fd(), in OpenDexFilesFromOat()
946 DexFile::Open(dex_location, dex_location, &error_msg, dex_files); in OpenDexFilesFromOat()
952 success = LoadMultiDexFilesFromOatFile(open_oat_file.get(), dex_location, in OpenDexFilesFromOat()
963 const OatFile* ClassLinker::FindOatFileInOatLocationForDexFile(const char* dex_location, in FindOatFileInOatLocationForDexFile() argument
1005 const OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_location, in FindOatFileInOatLocationForDexFile()
1009 dex_location); in FindOatFileInOatLocationForDexFile()
1028 const OatFile* ClassLinker::CreateOatFileForDexLocation(const char* dex_location, in CreateOatFileForDexLocation() argument
1032 VLOG(class_linker) << "Generating oat file " << oat_location << " for " << dex_location; in CreateOatFileForDexLocation()
1034 if (!GenerateOatFile(dex_location, fd, oat_location, &error_msg)) { in CreateOatFileForDexLocation()
1115 const char* dex_location, in VerifyOatAndDexFileChecksums() argument
1123 const OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_location, in VerifyOatAndDexFileChecksums()
1127 oat_file->GetLocation().c_str(), dex_location, dex_location_checksum); in VerifyOatAndDexFileChecksums()
1141 dex_location, dex_location_checksum); in VerifyOatAndDexFileChecksums()
1148 const char* dex_location, in VerifyOatWithDexFile() argument
1152 CHECK(dex_location != nullptr); in VerifyOatWithDexFile()
1158 const OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_location, nullptr); in VerifyOatWithDexFile()
1161 "dex file '%s': %s", oat_file->GetLocation().c_str(), dex_location, in VerifyOatWithDexFile()
1167 bool verified = VerifyOatAndDexFileChecksums(oat_file, dex_location, *dex_location_checksum, in VerifyOatWithDexFile()
1172 dex_file.reset(oat_file->GetOatDexFile(dex_location, in VerifyOatWithDexFile()
1179 const char* dex_location, in FindOatFileContainingDexFileFromDexLocation() argument
1186 std::string dex_location_str(dex_location); in FindOatFileContainingDexFileFromDexLocation()
1194 dex_location)); in FindOatFileContainingDexFileFromDexLocation()
1197 !VerifyOatWithDexFile(oat_file.get(), dex_location, in FindOatFileContainingDexFileFromDexLocation()
1200 "'%s': %s", oat_file->GetLocation().c_str(), dex_location, in FindOatFileContainingDexFileFromDexLocation()
1208 oat_file->GetLocation().c_str(), dex_location)); in FindOatFileContainingDexFileFromDexLocation()
1227 const OatFile* ClassLinker::OpenOatFileFromDexLocation(const std::string& dex_location, in OpenOatFileFromDexLocation() argument
1234 std::string odex_filename(DexFilenameToOdexFilename(dex_location, isa)); in OpenOatFileFromDexLocation()
1249 cache_filename = GetDalvikCacheFilenameOrDie(dex_location.c_str(), dalvik_cache.c_str()); in OpenOatFileFromDexLocation()
1357 cache_filename.c_str(), dex_location.c_str(), in OpenOatFileFromDexLocation()