/art/runtime/ |
D | oat_file_assistant_test.cc | 51 OatFileAssistant::GetOptimizationStatus( in VerifyOptimizationStatus() 129 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, true); in TEST_F() 146 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F() 173 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F() 190 EXPECT_EQ(-OatFileAssistant::kNoDexOptNeeded, in TEST_F() 204 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F() 206 EXPECT_EQ(OatFileAssistant::kDex2OatFromScratch, in TEST_F() 208 EXPECT_EQ(OatFileAssistant::kDex2OatFromScratch, in TEST_F() 210 EXPECT_EQ(OatFileAssistant::kDex2OatFromScratch, in TEST_F() 212 EXPECT_EQ(OatFileAssistant::kDex2OatFromScratch, in TEST_F() [all …]
|
D | oat_file_assistant.cc | 55 std::ostream& operator << (std::ostream& stream, const OatFileAssistant::OatStatus status) { in operator <<() 57 case OatFileAssistant::kOatCannotOpen: in operator <<() 60 case OatFileAssistant::kOatDexOutOfDate: in operator <<() 63 case OatFileAssistant::kOatBootImageOutOfDate: in operator <<() 66 case OatFileAssistant::kOatUpToDate: in operator <<() 76 OatFileAssistant::OatFileAssistant(const char* dex_location, in OatFileAssistant() function in art::OatFileAssistant 80 : OatFileAssistant(dex_location, in OatFileAssistant() 89 OatFileAssistant::OatFileAssistant(const char* dex_location, in OatFileAssistant() function in art::OatFileAssistant 158 OatFileAssistant::~OatFileAssistant() { in ~OatFileAssistant() 165 bool OatFileAssistant::UseFdToReadFiles() { in UseFdToReadFiles() [all …]
|
D | oat_file_assistant.h | 49 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);
|
D | oat_file_test.cc | 142 ASSERT_TRUE(OatFileAssistant::DexLocationToOatFilename( in TEST_F() 166 ASSERT_TRUE(OatFileAssistant::DexLocationToOatFilename( in TEST_F()
|
D | dexopt_test.cc | 161 ASSERT_TRUE(OatFileAssistant::DexLocationToOatFilename( in GenerateOatForTest()
|
D | oat_file_manager.cc | 474 OatFileAssistant oat_file_assistant(dex_location, in OpenDexFilesFromOat() 725 bool has_vdex = OatFileAssistant::AnonymousDexVdexLocation(dex_headers, in OpenDexFilesFromOat_Impl() 838 if (!OatFileAssistant::IsAnonymousVdexBasename(basename)) { in UnlinkLeastRecentlyUsedVdexIfNeeded() 999 if (OatFileAssistant::AnonymousDexVdexLocation(GetDexFileHeaders(dex_files), in RunBackgroundVerification()
|
D | class_loader_context.cc | 469 OatFileAssistant oat_file_assistant(location.c_str(), isa, false); in OpenDexFiles() 473 OatFileAssistant::LoadDexFiles(*oat_file, location, &oat_dex_files)) { in OpenDexFiles()
|
/art/dexoptanalyzer/ |
D | dexoptanalyzer.cc | 307 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()
|
D | dexoptanalyzer_test.cc | 66 case 0: return OatFileAssistant::kNoDexOptNeeded; in DexoptanalyzerToOatFileAssistant() 67 case 1: return OatFileAssistant::kDex2OatFromScratch; in DexoptanalyzerToOatFileAssistant() 68 case 2: return OatFileAssistant::kDex2OatForBootImage; in DexoptanalyzerToOatFileAssistant() 69 case 3: return OatFileAssistant::kDex2OatForFilter; in DexoptanalyzerToOatFileAssistant() 70 case 4: return -OatFileAssistant::kDex2OatForBootImage; in DexoptanalyzerToOatFileAssistant() 71 case 5: return -OatFileAssistant::kDex2OatForFilter; in DexoptanalyzerToOatFileAssistant() 86 OatFileAssistant oat_file_assistant(dex_file.c_str(), kRuntimeISA, /*load_executable=*/ false); in Verify()
|
/art/test/692-vdex-inmem-loader/ |
D | vdex_inmem_loader.cc | 97 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/ |
D | dalvik_system_DexFile.cc | 571 OatFileAssistant oat_file_assistant(filename, target_instruction_set, false); in GetDexOptNeeded() 575 return OatFileAssistant::kNoDexOptNeeded; in GetDexOptNeeded() 607 OatFileAssistant oat_file_assistant(filename.c_str(), target_instruction_set, in DexFile_getDexFileStatus() 639 OatFileAssistant::GetOptimizationStatus( in DexFile_getDexFileOptimizationStatus() 714 OatFileAssistant oat_file_assistant(filename, kRuntimeISA, false); in DexFile_isDexOptNeeded() 829 OatFileAssistant oat_file_assistant(filename.c_str(), in DexFile_getDexFileOutputPaths()
|
/art/dex2oat/ |
D | dex2oat_test.cc | 1163 OatFileAssistant oat_file_assistant(stripped_classpath.c_str(), kRuntimeISA, false, false); in TEST_F() 1166 OatFileAssistant::LoadDexFiles(*oat_file, stripped_classpath.c_str()); in TEST_F()
|