Home
last modified time | relevance | path

Searched refs:oat_dex_file (Results 1 – 13 of 13) sorted by relevance

/art/test/117-nopatchoat/
Dnopatchoat.cc35 const OatFile::OatDexFile* oat_dex_file = getOatDexFile(cls); in hasExecutableOat() local
37 return oat_dex_file != nullptr && oat_dex_file->GetOatFile()->IsExecutable(); in hasExecutableOat()
41 const OatFile::OatDexFile* oat_dex_file = getOatDexFile(cls); in isPic() local
43 if (oat_dex_file == nullptr) { in isPic()
47 const OatFile* oat_file = oat_dex_file->GetOatFile(); in isPic()
/art/test/116-nodex2oat/
Dnodex2oat.cc31 const OatFile::OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); in hasOat() local
32 return oat_dex_file != nullptr; in hasOat()
/art/test/118-noimage-dex2oat/
Dnoimage-dex2oat.cc31 const OatFile::OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); in hasOat() local
32 return oat_dex_file != nullptr; in hasOat()
/art/runtime/
Doat_file.cc487 OatDexFile* oat_dex_file = new OatDexFile(this, in Setup() local
493 oat_dex_files_storage_.push_back(oat_dex_file); in Setup()
496 StringPiece key(oat_dex_file->GetDexFileLocation()); in Setup()
497 oat_dex_files_.Put(key, oat_dex_file); in Setup()
499 StringPiece canonical_key(oat_dex_file->GetCanonicalDexFileLocation()); in Setup()
500 oat_dex_files_.Put(canonical_key, oat_dex_file); in Setup()
539 const OatFile::OatDexFile* oat_dex_file = nullptr; in GetOatDexFile() local
545 oat_dex_file = primary_it->second; in GetOatDexFile()
546 DCHECK(oat_dex_file != nullptr); in GetOatDexFile()
554 oat_dex_file = secondary_lb->second; // May be null. in GetOatDexFile()
[all …]
Doat_file_assistant.cc210 const OatFile::OatDexFile* oat_dex_file = oat_file.GetOatDexFile( in LoadDexFiles() local
212 if (oat_dex_file == nullptr) { in LoadDexFiles()
218 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error_msg); in LoadDexFiles()
228 oat_dex_file = oat_file.GetOatDexFile(secondary_dex_location.c_str(), nullptr, false); in LoadDexFiles()
229 if (oat_dex_file == nullptr) { in LoadDexFiles()
234 dex_file = oat_dex_file->OpenDexFile(&error_msg); in LoadDexFiles()
400 const OatFile::OatDexFile* oat_dex_file = file.GetOatDexFile( in GivenOatFileIsOutOfDate() local
402 if (oat_dex_file == nullptr) { in GivenOatFileIsOutOfDate()
Ddex_file.h399 const OatDexFile* oat_dex_file, in Open() argument
401 return OpenMemory(base, size, location, location_checksum, nullptr, oat_dex_file, error_msg); in Open()
958 const OatDexFile* oat_dex_file,
965 const OatDexFile* oat_dex_file);
Ddex_file.cc384 const OatDexFile* oat_dex_file, in OpenMemory() argument
388 new DexFile(base, size, location, location_checksum, mem_map, oat_dex_file)); in OpenMemory()
399 const OatDexFile* oat_dex_file) in DexFile() argument
414 oat_dex_file_(oat_dex_file) { in DexFile()
Dclass_linker.cc780 for (const OatDexFile* oat_dex_file : oat_dex_files) { in AddDexFilesFromOat() local
782 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error); in AddDexFilesFromOat()
1141 const OatFile::OatDexFile* oat_dex_file = oat_file.GetOatDexFile(dex_file_location.c_str(), in InitFromImage() local
1143 CHECK(oat_dex_file != nullptr) << oat_file.GetLocation() << " " << dex_file_location; in InitFromImage()
1145 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error_msg); in InitFromImage()
1158 CHECK_EQ(dex_file->GetLocationChecksum(), oat_dex_file->GetDexFileLocationChecksum()); in InitFromImage()
1980 const OatFile::OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); in FindOatClass() local
1981 if (oat_dex_file == nullptr) { in FindOatClass()
1986 return oat_dex_file->GetOatClass(class_def_idx); in FindOatClass()
3163 const OatFile::OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); in VerifyClassUsingOatFile() local
[all …]
Druntime.cc739 for (const OatFile::OatDexFile* oat_dex_file : oat_file->GetOatDexFiles()) { in OpenDexFilesFromImage() local
740 if (oat_dex_file == nullptr) { in OpenDexFilesFromImage()
744 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error_msg); in OpenDexFilesFromImage()
/art/oatdump/
Doatdump.cc154 const OatFile::OatDexFile* oat_dex_file = oat_dex_files[i]; in Walk() local
155 CHECK(oat_dex_file != nullptr); in Walk()
156 WalkOatDexFile(oat_dex_file, callback); in Walk()
160 void WalkOatDexFile(const OatFile::OatDexFile* oat_dex_file, Callback callback) { in WalkOatDexFile() argument
162 std::unique_ptr<const DexFile> dex_file(oat_dex_file->OpenDexFile(&error_msg)); in WalkOatDexFile()
170 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index); in WalkOatDexFile()
464 const OatFile::OatDexFile* oat_dex_file = oat_dex_files_[i]; in Dump() local
465 CHECK(oat_dex_file != nullptr); in Dump()
469 if (!ExportDexFile(os, *oat_dex_file)) { in Dump()
473 if (!DumpOatDexFile(os, *oat_dex_file)) { in Dump()
[all …]
/art/compiler/
Doat_test.cc138 const OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_file.GetLocation().c_str(), in TEST_F() local
140 ASSERT_TRUE(oat_dex_file != nullptr); in TEST_F()
141 CHECK_EQ(dex_file.GetLocationChecksum(), oat_dex_file->GetDexFileLocationChecksum()); in TEST_F()
158 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(i); in TEST_F()
Doat_writer.cc1003 OatDexFile* oat_dex_file = new OatDexFile(offset, *dex_file); in InitOatDexFiles() local
1004 oat_dex_files_.push_back(oat_dex_file); in InitOatDexFiles()
1005 offset += oat_dex_file->SizeOf(); in InitOatDexFiles()
1036 for (OatDexFile* oat_dex_file : oat_dex_files_) { in InitOatClasses()
1037 for (uint32_t& method_offset : oat_dex_file->methods_offsets_) { in InitOatClasses()
1042 oat_dex_file->UpdateChecksum(oat_header_); in InitOatClasses()
/art/runtime/gc/space/
Dimage_space.cc822 for (const OatFile::OatDexFile* oat_dex_file : oat_file_->GetOatDexFiles()) { in ValidateOatFile() local
823 const std::string& dex_file_location = oat_dex_file->GetDexFileLocation(); in ValidateOatFile()
830 if (dex_file_location_checksum != oat_dex_file->GetDexFileLocationChecksum()) { in ValidateOatFile()
834 oat_dex_file->GetDexFileLocationChecksum(), in ValidateOatFile()