Searched refs:oat_file_assistant (Results 1 – 10 of 10) sorted by relevance
/art/runtime/ |
D | oat_file_assistant_test.cc | 158 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, true); in TEST_F() local 160 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_F() 164 dex_files = oat_file_assistant.LoadDexFiles(*oat_file, dex_location.c_str()); in TEST_F() 175 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F() local 189 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_F() 202 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F() local 220 GetDexOptNeeded(&oat_file_assistant, in TEST_F() 231 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F() local 234 GetDexOptNeeded(&oat_file_assistant, CompilerFilter::kExtract)); in TEST_F() 236 GetDexOptNeeded(&oat_file_assistant, CompilerFilter::kQuicken)); in TEST_F() [all …]
|
D | oat_file_assistant.cc | 717 OatFileAssistant::OatFileInfo::OatFileInfo(OatFileAssistant* oat_file_assistant, in OatFileInfo() argument 719 : oat_file_assistant_(oat_file_assistant), is_oat_location_(is_oat_location) in OatFileInfo() 1006 OatFileAssistant oat_file_assistant(filename.c_str(), isa, /*load_executable=*/ false); in GetOptimizationStatus() local 1007 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in GetOptimizationStatus() 1015 OatStatus status = oat_file_assistant.GivenOatFileStatus(*oat_file); in GetOptimizationStatus() 1033 if (oat_file_assistant.HasOriginalDexFiles()) { in GetOptimizationStatus()
|
D | oat_file_manager.cc | 481 OatFileAssistant oat_file_assistant(dex_location, in OpenDexFilesFromOat() local 487 std::unique_ptr<const OatFile> oat_file(oat_file_assistant.GetBestOatFile().release()); in OpenDexFilesFromOat() 505 if (!oat_file_assistant.HasOriginalDexFiles()) { in OpenDexFilesFromOat() 524 if (!oat_file_assistant.HasOriginalDexFiles()) { in OpenDexFilesFromOat() 557 image_space = oat_file_assistant.OpenImageSpace(source_oat_file); in OpenDexFilesFromOat() 611 dex_files = oat_file_assistant.LoadDexFiles(*source_oat_file, dex_location); in OpenDexFilesFromOat() 631 if (oat_file_assistant.HasOriginalDexFiles()) { in OpenDexFilesFromOat()
|
D | oat_file_assistant.h | 271 OatFileInfo(OatFileAssistant* oat_file_assistant, bool is_oat_location);
|
D | class_loader_context.cc | 475 OatFileAssistant oat_file_assistant(location.c_str(), isa, false); in OpenDexFiles() local 476 std::unique_ptr<OatFile> oat_file(oat_file_assistant.GetBestOatFile()); in OpenDexFiles()
|
D | Android.bp | 209 "oat_file_assistant.cc",
|
/art/dexoptanalyzer/ |
D | dexoptanalyzer.cc | 307 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()
|
D | dexoptanalyzer_test.cc | 85 OatFileAssistant oat_file_assistant(dex_file.c_str(), kRuntimeISA, /*load_executable=*/ false); in Verify() local 92 int assistantResult = oat_file_assistant.GetDexOptNeeded( in Verify()
|
/art/runtime/native/ |
D | dalvik_system_DexFile.cc | 572 OatFileAssistant oat_file_assistant(filename, target_instruction_set, false); in GetDexOptNeeded() local 575 if (oat_file_assistant.IsInBootClassPath()) { in GetDexOptNeeded() 580 return oat_file_assistant.GetDexOptNeeded(filter, in GetDexOptNeeded() 610 OatFileAssistant oat_file_assistant(filename.c_str(), target_instruction_set, in DexFile_getDexFileStatus() local 612 return env->NewStringUTF(oat_file_assistant.GetStatusDump().c_str()); in DexFile_getDexFileStatus() 717 OatFileAssistant oat_file_assistant(filename, kRuntimeISA, false); in DexFile_isDexOptNeeded() local 718 return oat_file_assistant.IsUpToDate() ? JNI_FALSE : JNI_TRUE; in DexFile_isDexOptNeeded() 832 OatFileAssistant oat_file_assistant(filename.c_str(), in DexFile_getDexFileOutputPaths() local 836 std::unique_ptr<OatFile> best_oat_file = oat_file_assistant.GetBestOatFile(); in DexFile_getDexFileOutputPaths()
|
/art/dex2oat/ |
D | dex2oat_test.cc | 1201 OatFileAssistant oat_file_assistant(stripped_classpath.c_str(), kRuntimeISA, false, false); in TEST_F() local 1202 std::unique_ptr<OatFile> oat_file(oat_file_assistant.GetBestOatFile()); in TEST_F()
|