Home
last modified time | relevance | path

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

/art/runtime/
Doat_file_assistant.cc47 std::ostream& operator << (std::ostream& stream, const OatFileAssistant::OatStatus status) { in operator <<()
49 case OatFileAssistant::kOatOutOfDate: in operator <<()
52 case OatFileAssistant::kOatUpToDate: in operator <<()
55 case OatFileAssistant::kOatNeedsRelocation: in operator <<()
65 OatFileAssistant::OatFileAssistant(const char* dex_location, in OatFileAssistant() function in art::OatFileAssistant
69 : OatFileAssistant(dex_location, nullptr, isa, profile_changed, load_executable) in OatFileAssistant()
72 OatFileAssistant::OatFileAssistant(const char* dex_location, in OatFileAssistant() function in art::OatFileAssistant
96 OatFileAssistant::~OatFileAssistant() { in ~OatFileAssistant()
103 bool OatFileAssistant::IsInBootClassPath() { in IsInBootClassPath()
120 bool OatFileAssistant::Lock(std::string* error_msg) { in Lock()
[all …]
Doat_file_assistant_test.cc208 ASSERT_TRUE(OatFileAssistant::Dex2Oat(args, &error_msg)) << error_msg; in GenerateOdexForTest()
242 uint32_t combined_checksum = OatFileAssistant::CalculateCombinedImageChecksum(); in GenerateOdexForTest()
265 ASSERT_TRUE(OatFileAssistant::Dex2Oat(args, &error_msg)) << error_msg; in GeneratePicOdexForTest()
302 ASSERT_TRUE(OatFileAssistant::Dex2Oat(args, &error_msg)) << error_msg; in GenerateNoPatchOdexForTest()
386 OatFileAssistant ofa(dex_location, kRuntimeISA, false, false); in GenerateOatForTest()
397 ASSERT_TRUE(OatFileAssistant::Dex2Oat(args, &error_msg)) << error_msg; in GenerateOatForTest()
418 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false, false); in TEST_F()
420 EXPECT_EQ(OatFileAssistant::kDex2OatNeeded, in TEST_F()
422 EXPECT_EQ(OatFileAssistant::kDex2OatNeeded, in TEST_F()
424 EXPECT_EQ(OatFileAssistant::kDex2OatNeeded, in TEST_F()
[all …]
Doat_file_assistant.h49 class OatFileAssistant {
110 OatFileAssistant(const char* dex_location,
117 OatFileAssistant(const char* dex_location,
123 ~OatFileAssistant();
449 DISALLOW_COPY_AND_ASSIGN(OatFileAssistant);
452 std::ostream& operator << (std::ostream& stream, const OatFileAssistant::OatStatus status);
Doat_file_manager.cc558 OatFileAssistant oat_file_assistant(dex_location, in OpenDexFilesFromOat()
579 case OatFileAssistant::kUpdateFailed: in OpenDexFilesFromOat()
583 case OatFileAssistant::kUpdateNotAttempted: in OpenDexFilesFromOat()
589 case OatFileAssistant::kUpdateSucceeded: in OpenDexFilesFromOat()
/art/runtime/native/
Ddalvik_system_DexFile.cc382 OatFileAssistant oat_file_assistant(filename, target_instruction_set, profile_changed, false); in GetDexOptNeeded()
386 return OatFileAssistant::kNoDexOptNeeded; in GetDexOptNeeded()
414 OatFileAssistant oat_file_assistant(filename.c_str(), target_instruction_set, in DexFile_getDexFileStatus()
490 OatFileAssistant oat_file_assistant(filename, kRuntimeISA, false, false); in DexFile_isDexOptNeeded()
/art/dex2oat/
Ddex2oat.cc1332 image_file_location_oat_checksum_ = OatFileAssistant::CalculateCombinedImageChecksum(); in Setup()
1998 OatFileAssistant oat_file_assistant(location.c_str(), isa, false, false); in OpenClassPathFiles()