Home
last modified time | relevance | path

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

/art/runtime/
Doat_file_assistant_test.cc52 OatFileAssistant::GetOptimizationStatus( in VerifyOptimizationStatus()
75 int GetDexOptNeeded(OatFileAssistant* assistant, in GetDexOptNeeded()
88 OatFileAssistant* assistant, in GetDexOptNeeded()
158 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, true); in TEST_F()
175 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
202 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
219 EXPECT_EQ(-OatFileAssistant::kNoDexOptNeeded, in TEST_F()
231 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
233 EXPECT_EQ(OatFileAssistant::kDex2OatFromScratch, in TEST_F()
235 EXPECT_EQ(OatFileAssistant::kDex2OatFromScratch, in TEST_F()
[all …]
Doat_file_assistant.cc56 std::ostream& operator << (std::ostream& stream, const OatFileAssistant::OatStatus status) { in operator <<()
58 case OatFileAssistant::kOatCannotOpen: in operator <<()
61 case OatFileAssistant::kOatDexOutOfDate: in operator <<()
64 case OatFileAssistant::kOatBootImageOutOfDate: in operator <<()
67 case OatFileAssistant::kOatUpToDate: in operator <<()
77 OatFileAssistant::OatFileAssistant(const char* dex_location, in OatFileAssistant() function in art::OatFileAssistant
81 : OatFileAssistant(dex_location, in OatFileAssistant()
90 OatFileAssistant::OatFileAssistant(const char* dex_location, in OatFileAssistant() function in art::OatFileAssistant
159 OatFileAssistant::~OatFileAssistant() { in ~OatFileAssistant()
166 bool OatFileAssistant::UseFdToReadFiles() { in UseFdToReadFiles()
[all …]
Doat_file_assistant.h49 class OatFileAssistant {
108 OatFileAssistant(const char* dex_location,
116 OatFileAssistant(const char* dex_location,
124 ~OatFileAssistant();
271 OatFileInfo(OatFileAssistant* oat_file_assistant, bool is_oat_location);
349 OatFileAssistant* oat_file_assistant_;
447 DISALLOW_COPY_AND_ASSIGN(OatFileAssistant);
450 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.cc481 OatFileAssistant oat_file_assistant(dex_location, in OpenDexFilesFromOat()
765 bool has_vdex = OatFileAssistant::AnonymousDexVdexLocation(dex_headers, in OpenDexFilesFromOat_Impl()
878 if (!OatFileAssistant::IsAnonymousVdexBasename(basename)) { in UnlinkLeastRecentlyUsedVdexIfNeeded()
1039 if (OatFileAssistant::AnonymousDexVdexLocation(GetDexFileHeaders(dex_files), in RunBackgroundVerification()
Ddexopt_test.cc183 ASSERT_TRUE(OatFileAssistant::DexLocationToOatFilename( in GenerateOatForTest()
Dclass_loader_context.cc475 OatFileAssistant oat_file_assistant(location.c_str(), isa, false); in OpenDexFiles()
479 OatFileAssistant::LoadDexFiles(*oat_file, location, &oat_dex_files)) { in OpenDexFiles()
/art/dexoptanalyzer/
Ddexoptanalyzer.cc307 std::unique_ptr<OatFileAssistant> oat_file_assistant; in GetDexOptNeeded()
308 oat_file_assistant = std::make_unique<OatFileAssistant>(dex_file_.c_str(), in GetDexOptNeeded()
329 case OatFileAssistant::kNoDexOptNeeded: return kNoDexOptNeeded; in GetDexOptNeeded()
330 case OatFileAssistant::kDex2OatFromScratch: return kDex2OatFromScratch; in GetDexOptNeeded()
331 case OatFileAssistant::kDex2OatForBootImage: return kDex2OatForBootImageOat; in GetDexOptNeeded()
332 case OatFileAssistant::kDex2OatForFilter: return kDex2OatForFilterOat; in GetDexOptNeeded()
334 case -OatFileAssistant::kDex2OatForBootImage: return kDex2OatForBootImageOdex; in GetDexOptNeeded()
335 case -OatFileAssistant::kDex2OatForFilter: return kDex2OatForFilterOdex; in GetDexOptNeeded()
Ddexoptanalyzer_test.cc65 case 0: return OatFileAssistant::kNoDexOptNeeded; in DexoptanalyzerToOatFileAssistant()
66 case 1: return OatFileAssistant::kDex2OatFromScratch; in DexoptanalyzerToOatFileAssistant()
67 case 2: return OatFileAssistant::kDex2OatForBootImage; in DexoptanalyzerToOatFileAssistant()
68 case 3: return OatFileAssistant::kDex2OatForFilter; in DexoptanalyzerToOatFileAssistant()
69 case 4: return -OatFileAssistant::kDex2OatForBootImage; in DexoptanalyzerToOatFileAssistant()
70 case 5: return -OatFileAssistant::kDex2OatForFilter; in DexoptanalyzerToOatFileAssistant()
85 OatFileAssistant oat_file_assistant(dex_file.c_str(), kRuntimeISA, /*load_executable=*/ false); in Verify()
/art/test/692-vdex-inmem-loader/
Dvdex_inmem_loader.cc97 return OatFileAssistant::AnonymousDexVdexLocation(dex_headers, in Java_Main_hasVdexFile()
187 return OatFileAssistant::IsAnonymousVdexBasename(basename_utf.c_str()) ? JNI_TRUE : JNI_FALSE; in Java_Main_isAnonymousVdexBasename()
/art/runtime/native/
Ddalvik_system_DexFile.cc572 OatFileAssistant oat_file_assistant(filename, target_instruction_set, false); in GetDexOptNeeded()
576 return OatFileAssistant::kNoDexOptNeeded; in GetDexOptNeeded()
610 OatFileAssistant oat_file_assistant(filename.c_str(), target_instruction_set, in DexFile_getDexFileStatus()
642 OatFileAssistant::GetOptimizationStatus( in DexFile_getDexFileOptimizationStatus()
717 OatFileAssistant oat_file_assistant(filename, kRuntimeISA, false); in DexFile_isDexOptNeeded()
832 OatFileAssistant oat_file_assistant(filename.c_str(), in DexFile_getDexFileOutputPaths()
/art/dex2oat/
Ddex2oat_test.cc1201 OatFileAssistant oat_file_assistant(stripped_classpath.c_str(), kRuntimeISA, false, false); in TEST_F()
1204 OatFileAssistant::LoadDexFiles(*oat_file, stripped_classpath.c_str()); in TEST_F()