Lines Matching refs:OatFile
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()
128 std::vector<const OatFile*> OatFileManager::GetBootOatFiles() const { in GetBootOatFiles()
131 std::vector<const OatFile*> oat_files; in GetBootOatFiles()
139 const OatFile* OatFileManager::GetPrimaryOatFile() const { in GetPrimaryOatFile()
141 std::vector<const OatFile*> boot_oat_files = GetBootOatFiles(); in GetPrimaryOatFile()
143 for (const std::unique_ptr<const OatFile>& oat_file : oat_files_) { in GetPrimaryOatFile()
162 std::vector<const OatFile*> OatFileManager::RegisterImageOatFiles( in RegisterImageOatFiles()
164 std::vector<const OatFile*> oat_files; in RegisterImageOatFiles()
265 const OatFile* oat_file, in AddDexFilesFromOat()
288 static bool CheckClassCollision(const OatFile* oat_file, in CheckClassCollision()
380 const OatFile* oat_file, in CheckCollision()
430 const OatFile* source_oat_file, in ShouldLoadAppImage()
458 const OatFile** out_oat_file, in OpenDexFilesFromOat()
487 std::unique_ptr<const OatFile> oat_file(oat_file_assistant.GetBestOatFile().release()); in OpenDexFilesFromOat()
492 const OatFile* source_oat_file = nullptr; in OpenDexFilesFromOat()
722 const OatFile** out_oat_file, in OpenDexFilesFromOat()
752 const OatFile** out_oat_file, in OpenDexFilesFromOat_Impl()
837 std::unique_ptr<OatFile> oat_file(OatFile::OpenFromVdex(MakeNonOwningPointerVector(dex_files), in OpenDexFilesFromOat_Impl()
1082 std::vector<const OatFile*> boot_vector = GetBootOatFiles(); in SetOnlyUseSystemOatFiles()
1083 std::unordered_set<const OatFile*> boot_set(boot_vector.begin(), boot_vector.end()); in SetOnlyUseSystemOatFiles()
1085 for (const std::unique_ptr<const OatFile>& oat_file : oat_files_) { in SetOnlyUseSystemOatFiles()
1095 std::vector<const OatFile*> boot_oat_files = GetBootOatFiles(); in DumpForSigQuit()
1096 for (const std::unique_ptr<const OatFile>& oat_file : oat_files_) { in DumpForSigQuit()