Home
last modified time | relevance | path

Searched refs:oat_file_assistant (Results 1 – 10 of 10) sorted by relevance

/art/runtime/
Doat_file_assistant_test.cc129 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, true); in TEST_F() local
131 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_F()
135 dex_files = oat_file_assistant.LoadDexFiles(*oat_file, dex_location.c_str()); in TEST_F()
146 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F() local
160 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_F()
173 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F() local
191 oat_file_assistant.GetDexOptNeeded( in TEST_F()
204 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F() local
207 oat_file_assistant.GetDexOptNeeded(CompilerFilter::kExtract)); in TEST_F()
209 oat_file_assistant.GetDexOptNeeded(CompilerFilter::kQuicken)); in TEST_F()
[all …]
Doat_file_assistant.cc735 OatFileAssistant::OatFileInfo::OatFileInfo(OatFileAssistant* oat_file_assistant, in OatFileInfo() argument
737 : oat_file_assistant_(oat_file_assistant), is_oat_location_(is_oat_location) in OatFileInfo()
1011 OatFileAssistant oat_file_assistant(filename.c_str(), isa, /*load_executable=*/ false); in GetOptimizationStatus() local
1012 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in GetOptimizationStatus()
1020 OatStatus status = oat_file_assistant.GivenOatFileStatus(*oat_file); in GetOptimizationStatus()
1038 if (oat_file_assistant.HasOriginalDexFiles()) { in GetOptimizationStatus()
Doat_file_manager.cc474 OatFileAssistant oat_file_assistant(dex_location, in OpenDexFilesFromOat() local
480 std::unique_ptr<const OatFile> oat_file(oat_file_assistant.GetBestOatFile().release()); in OpenDexFilesFromOat()
498 if (!oat_file_assistant.HasOriginalDexFiles()) { in OpenDexFilesFromOat()
517 if (!oat_file_assistant.HasOriginalDexFiles()) { in OpenDexFilesFromOat()
550 image_space = oat_file_assistant.OpenImageSpace(source_oat_file); in OpenDexFilesFromOat()
606 dex_files = oat_file_assistant.LoadDexFiles(*source_oat_file, dex_location); in OpenDexFilesFromOat()
626 if (oat_file_assistant.HasOriginalDexFiles()) { in OpenDexFilesFromOat()
Doat_file_assistant.h271 OatFileInfo(OatFileAssistant* oat_file_assistant, bool is_oat_location);
Dclass_loader_context.cc469 OatFileAssistant oat_file_assistant(location.c_str(), isa, false); in OpenDexFiles() local
470 std::unique_ptr<OatFile> oat_file(oat_file_assistant.GetBestOatFile()); in OpenDexFiles()
DAndroid.bp178 "oat_file_assistant.cc",
/art/dexoptanalyzer/
Ddexoptanalyzer.cc307 std::unique_ptr<OatFileAssistant> oat_file_assistant; in GetDexOptNeeded() local
308 oat_file_assistant = std::make_unique<OatFileAssistant>(dex_file_.c_str(), in GetDexOptNeeded()
317 if (oat_file_assistant->IsInBootClassPath()) { in GetDexOptNeeded()
321 int dexoptNeeded = oat_file_assistant->GetDexOptNeeded(compiler_filter_, in GetDexOptNeeded()
Ddexoptanalyzer_test.cc86 OatFileAssistant oat_file_assistant(dex_file.c_str(), kRuntimeISA, /*load_executable=*/ false); in Verify() local
87 int assistantResult = oat_file_assistant.GetDexOptNeeded( in Verify()
/art/runtime/native/
Ddalvik_system_DexFile.cc571 OatFileAssistant oat_file_assistant(filename, target_instruction_set, false); in GetDexOptNeeded() local
574 if (oat_file_assistant.IsInBootClassPath()) { in GetDexOptNeeded()
578 return oat_file_assistant.GetDexOptNeeded(filter, in GetDexOptNeeded()
607 OatFileAssistant oat_file_assistant(filename.c_str(), target_instruction_set, in DexFile_getDexFileStatus() local
609 return env->NewStringUTF(oat_file_assistant.GetStatusDump().c_str()); in DexFile_getDexFileStatus()
714 OatFileAssistant oat_file_assistant(filename, kRuntimeISA, false); in DexFile_isDexOptNeeded() local
715 return oat_file_assistant.IsUpToDate() ? JNI_FALSE : JNI_TRUE; in DexFile_isDexOptNeeded()
829 OatFileAssistant oat_file_assistant(filename.c_str(), in DexFile_getDexFileOutputPaths() local
833 std::unique_ptr<OatFile> best_oat_file = oat_file_assistant.GetBestOatFile(); in DexFile_getDexFileOutputPaths()
/art/dex2oat/
Ddex2oat_test.cc1163 OatFileAssistant oat_file_assistant(stripped_classpath.c_str(), kRuntimeISA, false, false); in TEST_F() local
1164 std::unique_ptr<OatFile> oat_file(oat_file_assistant.GetBestOatFile()); in TEST_F()