1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
   |  807 808 809 810 811bool ClassLinker::OpenDexFilesFromOat(const char* dex_location, const char* oat_location, 812                                      std::vector<std::string>* error_msgs, 813                                      std::vector<const DexFile*>* dex_files) { 814   815   816  uint32_t dex_location_checksum; 817  uint32_t* dex_location_checksum_pointer = &dex_location_checksum; 818  bool have_checksum = true; 819  std::string checksum_error_msg; 820  if (!DexFile::GetChecksum(dex_location, dex_location_checksum_pointer, &checksum_error_msg)) { 821     822    dex_location_checksum_pointer = nullptr; 823    have_checksum = false; 824  } 825 826  bool needs_registering = false; 827 828  const OatFile::OatDexFile* oat_dex_file = FindOpenedOatDexFile(oat_location, dex_location, 829                                                                 dex_location_checksum_pointer);
 
  |