Home
last modified time | relevance | path

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

/art/runtime/
Doat_file_assistant_test.cc47 void VerifyOptimizationStatus(OatFileAssistant* assistant, in VerifyOptimizationStatus()
56 OatFileAssistant::GetOptimizationStatus( in VerifyOptimizationStatus()
79 void VerifyOptimizationStatus(OatFileAssistant* assistant, in VerifyOptimizationStatus()
102 OatFileAssistant* assistant, in GetDexOptNeeded()
176 OatFileAssistant oat_file_assistant(dex_location.c_str(), in TEST_F()
201 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, context.get(), false); in TEST_F()
231 OatFileAssistant oat_file_assistant(dex_location.c_str(), in TEST_F()
243 EXPECT_EQ(-OatFileAssistant::kNoDexOptNeeded, in TEST_F()
253 OatFileAssistant oat_file_assistant(dex_location.c_str(), in TEST_F()
258 EXPECT_EQ(OatFileAssistant::kDex2OatFromScratch, in TEST_F()
[all …]
Doat_file_assistant.cc57 std::ostream& operator << (std::ostream& stream, const OatFileAssistant::OatStatus status) { in operator <<()
59 case OatFileAssistant::kOatCannotOpen: in operator <<()
62 case OatFileAssistant::kOatDexOutOfDate: in operator <<()
65 case OatFileAssistant::kOatBootImageOutOfDate: in operator <<()
68 case OatFileAssistant::kOatUpToDate: in operator <<()
71 case OatFileAssistant::kOatContextOutOfDate: in operator <<()
79 OatFileAssistant::OatFileAssistant(const char* dex_location, in OatFileAssistant() function in art::OatFileAssistant
84 : OatFileAssistant(dex_location, in OatFileAssistant()
94 OatFileAssistant::OatFileAssistant(const char* dex_location, in OatFileAssistant() function in art::OatFileAssistant
180 bool OatFileAssistant::UseFdToReadFiles() { in UseFdToReadFiles()
[all …]
Doat_file_assistant.h49 class OatFileAssistant {
113 OatFileAssistant(const char* dex_location,
122 OatFileAssistant(const char* dex_location,
284 OatFileInfo(OatFileAssistant* oat_file_assistant, bool is_oat_location);
358 OatFileAssistant* oat_file_assistant_;
463 DISALLOW_COPY_AND_ASSIGN(OatFileAssistant);
466 std::ostream& operator << (std::ostream& stream, const OatFileAssistant::OatStatus status);
Doat_file_test.cc41 ASSERT_TRUE(OatFileAssistant::DexLocationToOatFilename( in TEST_F()
64 ASSERT_TRUE(OatFileAssistant::DexLocationToOatFilename( in TEST_F()
Doat_file_manager.cc194 OatFileAssistant oat_file_assistant(dex_location, in OpenDexFilesFromOat()
308 OatFileAssistant nonexecutable_oat_file_assistant(dex_location, in OpenDexFilesFromOat()
351 if (oat_file_assistant.GetBestStatus() == OatFileAssistant::kOatContextOutOfDate) { in OpenDexFilesFromOat()
472 bool has_vdex = OatFileAssistant::AnonymousDexVdexLocation(dex_headers, in OpenDexFilesFromOat_Impl()
550 if (!OatFileAssistant::IsAnonymousVdexBasename(basename)) { in UnlinkLeastRecentlyUsedVdexIfNeeded()
582 if (!OatFileAssistant::IsAnonymousVdexBasename(basename)) { in UnlinkLeastRecentlyUsedVdexIfNeeded()
751 if (!OatFileAssistant::DexLocationToOdexFilename(dex_location, in RunBackgroundVerification()
Ddexopt_test.cc203 ASSERT_TRUE(OatFileAssistant::DexLocationToOatFilename( in GenerateOatForTest()
/art/dexoptanalyzer/
Ddexoptanalyzer.cc321 std::unique_ptr<OatFileAssistant> oat_file_assistant; in GetDexOptNeeded()
322 oat_file_assistant = std::make_unique<OatFileAssistant>(dex_file_.c_str(), in GetDexOptNeeded()
352 case OatFileAssistant::kNoDexOptNeeded: return ReturnCode::kNoDexOptNeeded; in GetDexOptNeeded()
353 case OatFileAssistant::kDex2OatFromScratch: return ReturnCode::kDex2OatFromScratch; in GetDexOptNeeded()
354 case OatFileAssistant::kDex2OatForBootImage: return ReturnCode::kDex2OatForBootImageOat; in GetDexOptNeeded()
355 case OatFileAssistant::kDex2OatForFilter: return ReturnCode::kDex2OatForFilterOat; in GetDexOptNeeded()
357 case -OatFileAssistant::kDex2OatForBootImage: return ReturnCode::kDex2OatForBootImageOdex; in GetDexOptNeeded()
358 case -OatFileAssistant::kDex2OatForFilter: return ReturnCode::kDex2OatForFilterOdex; in GetDexOptNeeded()
Ddexoptanalyzer_test.cc73 case 0: return OatFileAssistant::kNoDexOptNeeded; in DexoptanalyzerToOatFileAssistant()
74 case 1: return OatFileAssistant::kDex2OatFromScratch; in DexoptanalyzerToOatFileAssistant()
75 case 2: return OatFileAssistant::kDex2OatForBootImage; in DexoptanalyzerToOatFileAssistant()
76 case 3: return OatFileAssistant::kDex2OatForFilter; in DexoptanalyzerToOatFileAssistant()
77 case 4: return -OatFileAssistant::kDex2OatForBootImage; in DexoptanalyzerToOatFileAssistant()
78 case 5: return -OatFileAssistant::kDex2OatForFilter; in DexoptanalyzerToOatFileAssistant()
102 OatFileAssistant oat_file_assistant(dex_file.c_str(), in Verify()
/art/test/692-vdex-inmem-loader/
Dvdex_inmem_loader.cc97 if (!OatFileAssistant::DexLocationToOdexFilename(dex_location, in Java_Main_hasVdexFile()
190 return OatFileAssistant::IsAnonymousVdexBasename(basename_utf.c_str()) ? JNI_TRUE : JNI_FALSE; in Java_Main_isAnonymousVdexBasename()
/art/runtime/native/
Ddalvik_system_DexFile.cc554 OatFileAssistant oat_file_assistant(filename, in GetDexOptNeeded()
561 return OatFileAssistant::kNoDexOptNeeded; in GetDexOptNeeded()
592 OatFileAssistant oat_file_assistant(filename.c_str(), in DexFile_getDexFileStatus()
626 OatFileAssistant::GetOptimizationStatus( in DexFile_getDexFileOptimizationStatus()
701 OatFileAssistant oat_file_assistant(filename, in DexFile_isDexOptNeeded()
843 OatFileAssistant oat_file_assistant(filename.c_str(), in DexFile_getDexFileOutputPaths()