Home
last modified time | relevance | path

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

/art/runtime/
Doat_file_assistant_test.cc56 OatFileAssistant::GetOptimizationStatus( in VerifyOptimizationStatus()
118 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
120 EXPECT_EQ(OatFileAssistant::kDex2OatFromScratch, in TEST_F()
122 EXPECT_EQ(OatFileAssistant::kDex2OatFromScratch, in TEST_F()
124 EXPECT_EQ(OatFileAssistant::kDex2OatFromScratch, in TEST_F()
126 EXPECT_EQ(OatFileAssistant::kDex2OatFromScratch, in TEST_F()
130 EXPECT_EQ(OatFileAssistant::kOatCannotOpen, oat_file_assistant.OdexFileStatus()); in TEST_F()
131 EXPECT_EQ(OatFileAssistant::kOatCannotOpen, oat_file_assistant.OatFileStatus()); in TEST_F()
142 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, true); in TEST_F()
144 EXPECT_EQ(OatFileAssistant::kNoDexOptNeeded, in TEST_F()
[all …]
Doat_file_assistant.cc51 std::ostream& operator << (std::ostream& stream, const OatFileAssistant::OatStatus status) { in operator <<()
53 case OatFileAssistant::kOatCannotOpen: in operator <<()
56 case OatFileAssistant::kOatDexOutOfDate: in operator <<()
59 case OatFileAssistant::kOatBootImageOutOfDate: in operator <<()
62 case OatFileAssistant::kOatRelocationOutOfDate: in operator <<()
65 case OatFileAssistant::kOatUpToDate: in operator <<()
75 OatFileAssistant::OatFileAssistant(const char* dex_location, in OatFileAssistant() function in art::OatFileAssistant
79 : OatFileAssistant(dex_location, in OatFileAssistant()
88 OatFileAssistant::OatFileAssistant(const char* dex_location, in OatFileAssistant() function in art::OatFileAssistant
157 OatFileAssistant::~OatFileAssistant() { in ~OatFileAssistant()
[all …]
Doat_file_assistant.h49 class OatFileAssistant {
125 OatFileAssistant(const char* dex_location,
133 OatFileAssistant(const char* dex_location,
141 ~OatFileAssistant();
339 OatFileInfo(OatFileAssistant* oat_file_assistant, bool is_oat_location);
416 OatFileAssistant* oat_file_assistant_;
542 DISALLOW_COPY_AND_ASSIGN(OatFileAssistant);
545 std::ostream& operator << (std::ostream& stream, const OatFileAssistant::OatStatus status);
Doat_file_test.cc75 ASSERT_TRUE(OatFileAssistant::DexLocationToOatFilename( in TEST_F()
100 ASSERT_TRUE(OatFileAssistant::DexLocationToOatFilename( in TEST_F()
Ddexopt_test.cc99 ASSERT_TRUE(OatFileAssistant::Dex2Oat(args, &error_msg)) << error_msg; in GenerateOatForTest()
183 ASSERT_TRUE(OatFileAssistant::DexLocationToOatFilename( in GenerateOatForTest()
Doat_file_manager.cc421 OatFileAssistant oat_file_assistant(dex_location, in OpenDexFilesFromOat()
454 case OatFileAssistant::kUpdateFailed: in OpenDexFilesFromOat()
458 case OatFileAssistant::kUpdateNotAttempted: in OpenDexFilesFromOat()
464 case OatFileAssistant::kUpdateSucceeded: in OpenDexFilesFromOat()
Dclass_loader_context.cc232 OatFileAssistant oat_file_assistant(location.c_str(), isa, false); in OpenDexFiles()
236 OatFileAssistant::LoadDexFiles(*oat_file, location, &oat_dex_files)) { in OpenDexFiles()
/art/dexoptanalyzer/
Ddexoptanalyzer.cc255 std::unique_ptr<OatFileAssistant> oat_file_assistant; in GetDexOptNeeded()
256 oat_file_assistant = std::make_unique<OatFileAssistant>(dex_file_.c_str(), in GetDexOptNeeded()
274 case OatFileAssistant::kNoDexOptNeeded: return kNoDexOptNeeded; in GetDexOptNeeded()
275 case OatFileAssistant::kDex2OatFromScratch: return kDex2OatFromScratch; in GetDexOptNeeded()
276 case OatFileAssistant::kDex2OatForBootImage: return kDex2OatForBootImageOat; in GetDexOptNeeded()
277 case OatFileAssistant::kDex2OatForFilter: return kDex2OatForFilterOat; in GetDexOptNeeded()
278 case OatFileAssistant::kDex2OatForRelocation: return kDex2OatForRelocationOat; in GetDexOptNeeded()
280 case -OatFileAssistant::kDex2OatForBootImage: return kDex2OatForBootImageOdex; in GetDexOptNeeded()
281 case -OatFileAssistant::kDex2OatForFilter: return kDex2OatForFilterOdex; in GetDexOptNeeded()
282 case -OatFileAssistant::kDex2OatForRelocation: return kDex2OatForRelocationOdex; in GetDexOptNeeded()
Ddexoptanalyzer_test.cc58 case 0: return OatFileAssistant::kNoDexOptNeeded; in DexoptanalyzerToOatFileAssistant()
59 case 1: return OatFileAssistant::kDex2OatFromScratch; in DexoptanalyzerToOatFileAssistant()
60 case 2: return OatFileAssistant::kDex2OatForBootImage; in DexoptanalyzerToOatFileAssistant()
61 case 3: return OatFileAssistant::kDex2OatForFilter; in DexoptanalyzerToOatFileAssistant()
62 case 4: return OatFileAssistant::kDex2OatForRelocation; in DexoptanalyzerToOatFileAssistant()
63 case 5: return -OatFileAssistant::kDex2OatForBootImage; in DexoptanalyzerToOatFileAssistant()
64 case 6: return -OatFileAssistant::kDex2OatForFilter; in DexoptanalyzerToOatFileAssistant()
65 case 7: return -OatFileAssistant::kDex2OatForRelocation; in DexoptanalyzerToOatFileAssistant()
78 OatFileAssistant oat_file_assistant(dex_file.c_str(), kRuntimeISA, /*load_executable*/ false); in Verify()
/art/runtime/native/
Ddalvik_system_DexFile.cc513 OatFileAssistant oat_file_assistant(filename, target_instruction_set, false); in GetDexOptNeeded()
517 return OatFileAssistant::kNoDexOptNeeded; in GetDexOptNeeded()
549 OatFileAssistant oat_file_assistant(filename.c_str(), target_instruction_set, in DexFile_getDexFileStatus()
581 OatFileAssistant::GetOptimizationStatus( in DexFile_getDexFileOptimizationStatus()
656 OatFileAssistant oat_file_assistant(filename, kRuntimeISA, false); in DexFile_isDexOptNeeded()
771 OatFileAssistant oat_file_assistant(filename.c_str(), in DexFile_getDexFileOutputPaths()
/art/runtime/gc/space/
Dimage_space_test.cc44 ASSERT_TRUE(OatFileAssistant::Dex2Oat(args, &error_msg)) << error_msg; in TEST_F()
/art/dex2oat/
Ddex2oat_test.cc1194 OatFileAssistant oat_file_assistant(stripped_classpath.c_str(), kRuntimeISA, false, false); in TEST_F()
1197 OatFileAssistant::LoadDexFiles(*oat_file, stripped_classpath.c_str()); in TEST_F()