/art/runtime/ |
D | oat_file_manager.h | 41 class OatFile; variable 55 const OatFile* RegisterOatFile(std::unique_ptr<const OatFile> oat_file) 58 void UnRegisterAndDeleteOatFile(const OatFile* oat_file) 62 const OatFile* FindOpenedOatFileFromOatLocation(const std::string& oat_location) const 67 const OatFile* FindOpenedOatFileFromDexLocation(const std::string& dex_base_location) const 71 std::vector<const OatFile*> GetBootOatFiles() const; 74 const OatFile* GetPrimaryOatFile() const REQUIRES(!Locks::oat_file_manager_lock_); 78 std::vector<const OatFile*> RegisterImageOatFiles( 100 /*out*/ const OatFile** out_oat_file, 117 /*out*/ const OatFile** out_oat_file, [all …]
|
D | oat_file-inl.h | 27 inline const OatQuickMethodHeader* OatFile::OatMethod::GetOatQuickMethodHeader() const { in GetOatQuickMethodHeader() 36 inline uint32_t OatFile::OatMethod::GetOatQuickMethodHeaderOffset() const { in GetOatQuickMethodHeaderOffset() 44 inline uint32_t OatFile::OatMethod::GetQuickCodeSizeOffset() const { in GetQuickCodeSizeOffset() 52 inline size_t OatFile::OatMethod::GetFrameSizeInBytes() const { in GetFrameSizeInBytes() 60 inline uint32_t OatFile::OatMethod::GetCoreSpillMask() const { in GetCoreSpillMask() 68 inline uint32_t OatFile::OatMethod::GetFpSpillMask() const { in GetFpSpillMask() 76 inline uint32_t OatFile::OatMethod::GetVmapTableOffset() const { in GetVmapTableOffset() 81 inline uint32_t OatFile::OatMethod::GetVmapTableOffsetOffset() const { in GetVmapTableOffsetOffset() 89 inline const uint8_t* OatFile::OatMethod::GetVmapTable() const { in GetVmapTable() 101 inline uint32_t OatFile::OatMethod::GetQuickCodeSize() const { in GetQuickCodeSize() [all …]
|
D | oat_file_test.cc | 36 OatFile::ResolveRelativeEncodedDexLocation(nullptr, in TEST_F() 47 OatFile::ResolveRelativeEncodedDexLocation(nullptr, in TEST_F() 58 OatFile::ResolveRelativeEncodedDexLocation("base.apk", in TEST_F() 69 OatFile::ResolveRelativeEncodedDexLocation("/data/app/foo/base.apk", in TEST_F() 81 OatFile::ResolveRelativeEncodedDexLocation("/data/app/foo/base.apk", in TEST_F() 92 OatFile::ResolveRelativeEncodedDexLocation("/data/app/foo/base.apk", in TEST_F() 103 OatFile::ResolveRelativeEncodedDexLocation("/data/app/foo/base.apk", in TEST_F() 114 OatFile::ResolveRelativeEncodedDexLocation("/data/app/foo/sludge.apk", in TEST_F() 126 OatFile::ResolveRelativeEncodedDexLocation("/data/app/foo/sludge.apk", in TEST_F() 144 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() [all …]
|
D | oat_file_assistant.h | 162 std::unique_ptr<OatFile> GetBestOatFile(); 183 static std::unique_ptr<gc::space::ImageSpace> OpenImageSpace(const OatFile* oat_file); 194 const OatFile& oat_file, const char* dex_location); 199 static bool LoadDexFiles(const OatFile& oat_file, 303 const OatFile* GetFile(); 328 std::unique_ptr<OatFile> ReleaseFileForUse(); 347 std::unique_ptr<OatFile> ReleaseFile(); 361 std::unique_ptr<OatFile> file_; 389 bool DexChecksumUpToDate(const OatFile& file, std::string* error_msg); 393 OatStatus GivenOatFileStatus(const OatFile& file); [all …]
|
D | oat_file.h | 72 class OatFile { 79 static OatFile* OpenWithElfFile(int zip_fd, 89 static OatFile* Open(int zip_fd, 101 static OatFile* Open(int zip_fd, 116 static OatFile* OpenWritable(int zip_fd, 122 static OatFile* OpenReadable(int zip_fd, 130 static OatFile* OpenFromVdex(const std::vector<const DexFile*>& dex_files, 134 virtual ~OatFile(); 248 OatClass(const OatFile* oat_file, 255 const OatFile* const oat_file_; [all …]
|
D | oat_file_manager.cc | 67 const OatFile* OatFileManager::RegisterOatFile(std::unique_ptr<const OatFile> oat_file) { in RegisterOatFile() 76 for (const std::unique_ptr<const OatFile>& existing : oat_files_) { in RegisterOatFile() 83 const OatFile* ret = oat_file.get(); in RegisterOatFile() 88 void OatFileManager::UnRegisterAndDeleteOatFile(const OatFile* oat_file) { in UnRegisterAndDeleteOatFile() 91 std::unique_ptr<const OatFile> compare(oat_file); in UnRegisterAndDeleteOatFile() 98 const OatFile* OatFileManager::FindOpenedOatFileFromDexLocation( in FindOpenedOatFileFromDexLocation() 101 for (const std::unique_ptr<const OatFile>& oat_file : oat_files_) { in FindOpenedOatFileFromDexLocation() 112 const OatFile* OatFileManager::FindOpenedOatFileFromOatLocation(const std::string& oat_location) in FindOpenedOatFileFromOatLocation() 118 const OatFile* OatFileManager::FindOpenedOatFileFromOatLocationLocked( in FindOpenedOatFileFromOatLocationLocked() 120 for (const std::unique_ptr<const OatFile>& oat_file : oat_files_) { in FindOpenedOatFileFromOatLocationLocked() [all …]
|
D | oat_file.cc | 101 class OatFileBase : public OatFile { 131 OatFileBase(const std::string& filename, bool executable) : OatFile(filename, executable) {} in OatFileBase() 392 inline static bool ReadOatDexFileData(const OatFile& oat_file, in ReadOatDexFileData() 408 static bool ReadIndexBssMapping(OatFile* oat_file, in ReadIndexBssMapping() 1522 void OatFile::ResolveRelativeEncodedDexLocation(const char* abs_dex_location, in ResolveRelativeEncodedDexLocation() 1570 OatFile* OatFile::OpenWithElfFile(int zip_fd, in OpenWithElfFile() 1582 OatFile* OatFile::Open(int zip_fd, in Open() 1607 OatFile* with_dlopen = OatFileBase::OpenOatFile<DlOpenOatFile>(zip_fd, in Open() 1636 OatFile* with_internal = OatFileBase::OpenOatFile<ElfOatFile>(zip_fd, in Open() 1649 OatFile* OatFile::Open(int zip_fd, in Open() [all …]
|
D | oat_file_assistant.cc | 207 std::unique_ptr<OatFile> OatFileAssistant::GetBestOatFile() { in GetBestOatFile() 221 const OatFile* file = oat_.GetFile(); in GetStatusDump() 242 const OatFile* file = odex_.GetFile(); in GetStatusDump() 259 const OatFile &oat_file, const char *dex_location) { in LoadDexFiles() 269 const OatFile &oat_file, in LoadDexFiles() 355 bool OatFileAssistant::DexChecksumUpToDate(const OatFile& file, std::string* error_msg) { in DexChecksumUpToDate() 389 OatFileAssistant::OatStatus OatFileAssistant::GivenOatFileStatus(const OatFile& file) { in GivenOatFileStatus() 584 const OatFile* odex_file = odex_.GetFile(); in GetRequiredDexChecksums() 602 bool OatFileAssistant::ValidateBootClassPathChecksums(const OatFile& oat_file) { in ValidateBootClassPathChecksums() 719 std::unique_ptr<gc::space::ImageSpace> OatFileAssistant::OpenImageSpace(const OatFile* oat_file) { in OpenImageSpace() [all …]
|
D | oat_file_assistant_test.cc | 131 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_F() 160 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_F() 235 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_F() 627 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_F() 686 std::unique_ptr<OatFile> best_file = oat_file_assistant.GetBestOatFile(); in TEST_F() 849 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_F() 877 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_F() 917 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_F() 978 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_F() 1031 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_F() [all …]
|
D | class_table.h | 33 class OatFile; variable 237 bool InsertOatFile(const OatFile* oat_file) 282 bool InsertOatFileLocked(const OatFile* oat_file) 295 std::vector<const OatFile*> oat_files_ GUARDED_BY(lock_);
|
D | art_method.cc | 444 static const OatFile::OatMethod FindOatMethodFromDexFileFor(ArtMethod* method, bool* found) in FindOatMethodFromDexFileFor() 464 OatFile::OatClass oat_class = OatFile::FindOatClass(*dex_file, in FindOatMethodFromDexFileFor() 468 return OatFile::OatMethod::Invalid(); in FindOatMethodFromDexFileFor() 473 static const OatFile::OatMethod FindOatMethodFor(ArtMethod* method, in FindOatMethodFor() 512 OatFile::OatClass oat_class = OatFile::FindOatClass(declaring_class->GetDexFile(), in FindOatMethodFor() 516 return OatFile::OatMethod::Invalid(); in FindOatMethodFor() 626 OatFile::OatMethod oat_method = in GetOatQuickMethodHeader() 664 OatFile::OatMethod oat_method = FindOatMethodFor(this, pointer_size, &found); in GetOatMethodQuickCode()
|
D | class_loader_context.h | 34 class OatFile; variable 188 std::vector<std::unique_ptr<OatFile>> opened_oat_files;
|
D | class_table-inl.h | 40 for (const OatFile* oat_file : oat_files_) { in VisitRoots() 58 for (const OatFile* oat_file : oat_files_) { in VisitRoots()
|
D | dexopt_test.cc | 111 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in GenerateOatForTest()
|
D | class_table.cc | 234 const OatFile* oat_file = dex_file->GetOatDexFile()->GetOatFile(); in InsertStrongRoot() 243 bool ClassTable::InsertOatFile(const OatFile* oat_file) { in InsertOatFile() 248 bool ClassTable::InsertOatFileLocked(const OatFile* oat_file) { in InsertOatFileLocked()
|
/art/runtime/gc/space/ |
D | image_space.h | 30 class OatFile; variable 62 const OatFile* oat_file, 75 const OatFile* GetOatFile() const; 79 std::unique_ptr<const OatFile> ReleaseOatFile(); 163 static bool ValidateOatFile(const OatFile& oat_file, std::string* error_msg); 188 const OatFile* oat_file, 205 std::unique_ptr<OatFile> oat_file_; 209 const OatFile* oat_file_non_owned_;
|
D | image_space_test.cc | 47 std::unique_ptr<OatFile> oat(OatFile::Open(/*zip_fd=*/ -1, in TEST_F()
|
/art/dexlayout/ |
D | dexdiag_test.cc | 58 std::unique_ptr<OatFile> OpenOatAndVdexFiles() { in OpenOatAndVdexFiles() 71 std::unique_ptr<OatFile> oat(OatFile::Open(/*zip_fd=*/ -1, in OpenOatAndVdexFiles() 121 std::unique_ptr<OatFile> oat = OpenOatAndVdexFiles(); 133 std::unique_ptr<OatFile> oat = OpenOatAndVdexFiles(); 147 std::unique_ptr<OatFile> oat = OpenOatAndVdexFiles();
|
/art/test/661-oat-writer-layout/ |
D | oat_writer_layout.cc | 58 OatFile::OatClass oat_class = OatFile::FindOatClass(*klass_ptr->GetDexCache()->GetDexFile(), in Java_Main_hasOatCompiledCode()
|
/art/dex2oat/ |
D | dex2oat_test.cc | 122 [](const OatFile&) {}); in __anonfec2ca0e0102() argument 151 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in GenerateOdexForTest() 174 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in GenerateOdexForTest() 516 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in CheckResult() 540 OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index); in CheckResult() 788 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in CheckResult() 949 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in CheckResult() 1076 auto check_oat = [expected_classpath_key](const OatFile& oat_file) { in RunTest() 1116 RunTest(OatFile::kSpecialSharedLibrary, in TEST_F() 1117 OatFile::kSpecialSharedLibrary, in TEST_F() [all …]
|
/art/runtime/native/ |
D | dalvik_system_DexFile.cc | 63 /*out*/ const OatFile*& oat_file) { in ConvertJavaArrayToDexFiles() 79 oat_file = reinterpret_cast64<const OatFile*>(long_data[kOatFileIndex]); in ConvertJavaArrayToDexFiles() 90 const OatFile* oat_file, in ConvertDexFilesToJavaArray() 171 const OatFile* oat_file, in CreateCookieFromOatFileManagerResult() 293 const OatFile* oat_file = nullptr; in DexFile_openInMemoryDexFilesNative() 317 const OatFile* oat_file = nullptr; in DexFile_openDexFileNative() 353 const OatFile* oat_file; in DexFile_verifyInBackgroundNative() 375 const OatFile* oat_file; in DexFile_closeDexFile() 426 const OatFile* oat_file; in DexFile_defineClassNative() 486 const OatFile* oat_file = nullptr; in DexFile_getClassNameList() [all …]
|
/art/test/692-vdex-inmem-loader/ |
D | info.txt | 3 OatFile using the data in the vdex.
|
/art/dex2oat/linker/ |
D | oat_writer_test.cc | 61 const OatFile::OatMethod& oat_method, in CheckMethod() 410 std::unique_ptr<OatFile> oat_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() 442 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(accessor.GetClassDefIndex()); in TEST_F() 529 std::unique_ptr<OatFile> oat_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() 606 std::unique_ptr<OatFile> opened_oat_file(OatFile::Open(/*zip_fd=*/ -1, in TestDexFileInput() 736 std::unique_ptr<OatFile> opened_oat_file(OatFile::Open(/*zip_fd=*/ -1, in TestZipFileInput() 786 std::unique_ptr<OatFile> opened_oat_file(OatFile::Open(/*zip_fd=*/ -1, in TestZipFileInput()
|
/art/oatdump/ |
D | oatdump.cc | 137 OatSymbolizer(const OatFile* oat_file, const std::string& output_name, bool no_bits) : in OatSymbolizer() 254 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index); in WalkOatDexFile() 270 void WalkOatClass(const OatFile::OatClass& oat_class, in WalkOatClass() 287 void WalkOatMethod(const OatFile::OatMethod& oat_method, in WalkOatMethod() 329 const OatFile* oat_file_; 385 OatDumper(const OatFile& oat_file, const OatDumperOptions& options) in OatDumper() 718 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index); in GetQuickOatCode() 851 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(accessor.GetClassDefIndex()); in AddAllOffsets() 870 void AddOffsets(const OatFile::OatMethod& oat_method) { in AddOffsets() 931 const OatFile::OatClass oat_class = oat_dex_file.GetOatClass(class_def_index); in DumpOatDexFile() [all …]
|
/art/runtime/gc/collector/ |
D | immune_spaces.cc | 56 const OatFile* const image_oat_file = image_space->GetOatFile(); in CreateLargestImmuneRegion()
|