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.cc90 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F() local
93 oat_file_assistant.GetDexOptNeeded(CompilerFilter::kExtract)); in TEST_F()
95 oat_file_assistant.GetDexOptNeeded(CompilerFilter::kQuicken)); in TEST_F()
97 oat_file_assistant.GetDexOptNeeded(CompilerFilter::kSpeedProfile)); in TEST_F()
99 oat_file_assistant.GetDexOptNeeded(CompilerFilter::kSpeed)); in TEST_F()
101 EXPECT_FALSE(oat_file_assistant.IsInBootClassPath()); in TEST_F()
102 EXPECT_EQ(OatFileAssistant::kOatCannotOpen, oat_file_assistant.OdexFileStatus()); in TEST_F()
103 EXPECT_EQ(OatFileAssistant::kOatCannotOpen, oat_file_assistant.OatFileStatus()); in TEST_F()
104 EXPECT_TRUE(oat_file_assistant.HasOriginalDexFiles()); in TEST_F()
112 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, true); in TEST_F() local
[all …]
Doat_file_manager.cc409 OatFileAssistant oat_file_assistant(dex_location, in OpenDexFilesFromOat() local
416 if (!oat_file_assistant.Lock(/*out*/&error_msg)) { in OpenDexFilesFromOat()
424 if (!oat_file_assistant.IsUpToDate()) { in OpenDexFilesFromOat()
433 switch (oat_file_assistant.MakeUpToDate(/*profile_changed*/ false, in OpenDexFilesFromOat()
453 std::unique_ptr<const OatFile> oat_file(oat_file_assistant.GetBestOatFile().release()); in OpenDexFilesFromOat()
465 if (!oat_file_assistant.HasOriginalDexFiles()) { in OpenDexFilesFromOat()
484 if (!oat_file_assistant.HasOriginalDexFiles()) { in OpenDexFilesFromOat()
509 kEnableAppImage ? oat_file_assistant.OpenImageSpace(source_oat_file) : nullptr; in OpenDexFilesFromOat()
564 dex_files = oat_file_assistant.LoadDexFiles(*source_oat_file, dex_location); in OpenDexFilesFromOat()
584 if (oat_file_assistant.HasOriginalDexFiles()) { in OpenDexFilesFromOat()
Doat_file_assistant.h310 OatFileInfo(OatFileAssistant* oat_file_assistant, bool is_oat_location);
Dclass_loader_context.cc241 OatFileAssistant oat_file_assistant(location.c_str(), isa, false); in OpenDexFiles() local
242 std::unique_ptr<OatFile> oat_file(oat_file_assistant.GetBestOatFile()); in OpenDexFiles()
Doat_file_assistant.cc986 OatFileAssistant::OatFileInfo::OatFileInfo(OatFileAssistant* oat_file_assistant, in OatFileInfo() argument
988 : oat_file_assistant_(oat_file_assistant), is_oat_location_(is_oat_location) in OatFileInfo()
DAndroid.bp189 "oat_file_assistant.cc",
/art/dexoptanalyzer/
Ddexoptanalyzer.cc226 OatFileAssistant oat_file_assistant(dex_file_.c_str(), isa_, /*load_executable*/ false); in GetDexOptNeeded() local
229 if (oat_file_assistant.IsInBootClassPath()) { in GetDexOptNeeded()
234 int dexoptNeeded = oat_file_assistant.GetDexOptNeeded( in GetDexOptNeeded()
Ddexoptanalyzer_test.cc78 OatFileAssistant oat_file_assistant(dex_file.c_str(), kRuntimeISA, /*load_executable*/ false); in Verify() local
79 int assistantResult = oat_file_assistant.GetDexOptNeeded( in Verify()
/art/runtime/native/
Ddalvik_system_DexFile.cc490 OatFileAssistant oat_file_assistant(filename, target_instruction_set, false); in GetDexOptNeeded() local
493 if (oat_file_assistant.IsInBootClassPath()) { in GetDexOptNeeded()
498 return oat_file_assistant.GetDexOptNeeded(filter, profile_changed, downgrade); in GetDexOptNeeded()
524 OatFileAssistant oat_file_assistant(filename.c_str(), target_instruction_set, in DexFile_getDexFileStatus() local
526 return env->NewStringUTF(oat_file_assistant.GetStatusDump().c_str()); in DexFile_getDexFileStatus()
575 OatFileAssistant oat_file_assistant(filename, kRuntimeISA, false); in DexFile_isDexOptNeeded() local
576 return oat_file_assistant.IsUpToDate() ? JNI_FALSE : JNI_TRUE; in DexFile_isDexOptNeeded()
690 OatFileAssistant oat_file_assistant(filename.c_str(), in DexFile_getDexFileOutputPaths() local
694 std::unique_ptr<OatFile> best_oat_file = oat_file_assistant.GetBestOatFile(); in DexFile_getDexFileOutputPaths()
/art/dex2oat/
Ddex2oat_test.cc1101 OatFileAssistant oat_file_assistant(stripped_classpath.c_str(), kRuntimeISA, false); in TEST_F() local
1102 std::unique_ptr<OatFile> oat_file(oat_file_assistant.GetBestOatFile()); in TEST_F()