Home
last modified time | relevance | path

Searched refs:FileExists (Results 1 – 25 of 35) sorted by relevance

12

/art/runtime/
Ddex2oat_environment_test.h75 ASSERT_TRUE(OS::FileExists(GetSystemImageFile().c_str())) in SetUp()
77 ASSERT_TRUE(OS::FileExists(GetDexSrc1().c_str())) in SetUp()
79 ASSERT_TRUE(OS::FileExists(GetResourceOnlySrc1().c_str())) in SetUp()
85 ASSERT_TRUE(OS::FileExists(GetDexSrc2().c_str())) in SetUp()
Dprebuilt_tools_test.cc34 ASSERT_TRUE(OS::FileExists(path.c_str())) << path; in CheckToolsExist()
Doat_file_manager.cc479 if (has_vdex && OS::FileExists(vdex_path.c_str())) { in OpenDexFilesFromOat_Impl()
555 if (OS::FileExists(vdex_path_to_add.c_str())) { in UnlinkLeastRecentlyUsedVdexIfNeeded()
Doat_file_assistant.cc569 if (OS::FileExists(apex_data_file.c_str(), /*check_file_type=*/true)) { in DexLocationToOatFilename()
739 if (ret == nullptr && (VLOG_IS_ON(image) || OS::FileExists(art_file.c_str()))) { in OpenImageSpace()
/art/imgdiag/
Dimgdiag_test.cc70 if (OS::FileExists(path32.c_str()) && !Is64BitInstructionSet(kRuntimeISA)) { in GetImgDiagFilePath()
84 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in Exec()
/art/dexlayout/
Ddexdiag_test.cc45 if (OS::FileExists(path32.c_str()) && !Is64BitInstructionSet(kRuntimeISA)) { in GetDexDiagFilePath()
85 EXPECT_TRUE(OS::FileExists(executable_path.c_str())) << executable_path in Exec()
Ddexlayout_test.cc264 EXPECT_TRUE(OS::FileExists(dexdump.c_str())) << dexdump << " should be a valid file path"; in FullPlainOutputExec()
533 CHECK(OS::FileExists(dexlayout.c_str())) << dexlayout << " should be a valid file path"; in DexLayoutExec()
/art/libartbase/base/
Dos.h52 static bool FileExists(const char* name, bool check_file_type = true);
Dos_linux.cc73 bool OS::FileExists(const char* name, bool check_file_type) { in FileExists() function in art::OS
Dcommon_art_test.cc138 if (!OS::FileExists(filename_.c_str())) { in Unlink()
353 CHECK(OS::FileExists(path.c_str())) << path; in GetAndroidTool()
517 if (OS::FileExists(path.c_str())) { in GetTestDexFileName()
/art/tools/dexanalyze/
Ddexanalyze_test.cc30 CHECK(OS::FileExists(binary.c_str())) << binary << " should be a valid file path"; in DexAnalyzeExec()
/art/dexdump/
Ddexdump_test.cc43 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in Exec()
/art/dexlist/
Ddexlist_test.cc45 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in Exec()
/art/odrefresh/
Dodr_metrics_test.cc49 return OS::FileExists(path); in MetricsFileExists()
54 if (OS::FileExists(path)) { in RemoveMetricsFile()
Dodr_metrics.cc43 if (OS::FileExists(metrics_file.c_str())) { in OdrMetrics()
Dodrefresh.cc311 if (OS::FileExists(cache_info_filename_.c_str())) { in WriteCacheInfo()
455 if (!OS::FileExists(path)) { in ArtifactsExist()
525 if (!OS::FileExists(cache_info_filename_.c_str())) { in CheckArtifactsAreUpToDate()
696 if (OS::FileExists(profile_file.c_str(), /*check_file_type=*/true)) { in AddDex2OatProfileAndCompilerFilter()
715 if (!on_system && !OS::FileExists(image_location.c_str(), true)) { in VerifySystemServerArtifactsAreUpToDate()
756 if (OS::FileExists(profile_file.c_str())) { in VerifySystemServerArtifactsAreUpToDate()
961 if (OS::FileExists(location.c_str()) && unlink(location.c_str()) != 0) { in RemoveArtifacts()
1035 if (OS::FileExists(dirty_image_objects_file.c_str())) { in CompileBootExtensionArtifacts()
1187 if (!OS::FileExists(bcp_packages.c_str())) { in CompileSystemServerArtifacts()
Dodr_fs_utils_test.cc95 ASSERT_FALSE(OS::FileExists(file_path.c_str(), true)); in TEST_F()
Dodr_compilation_log.cc85 if (log_path_ != nullptr && OS::FileExists(log_path_)) { in OdrCompilationLog()
/art/test/692-vdex-inmem-loader/
Dvdex_inmem_loader.cc105 return OS::FileExists(GetVdexFilename(odex_filename).c_str()); in Java_Main_hasVdexFile()
/art/cmdline/
Dcmdline.h53 if (OS::FileExists(system_filename.c_str())) { in LocationToFilename()
/art/compiler/utils/
Dassembler_test_base.h62 if (!OS::FileExists(cmd.c_str())) { in CheckTools()
/art/oatdump/
Doatdump_test.h176 if (!OS::FileExists(file_path.c_str())) {
/art/libartbase/base/unix_file/
Dfd_file_test.cc238 EXPECT_FALSE(art::OS::FileExists(filename.c_str())) << filename; in TEST_F()
/art/dexoptanalyzer/
Ddexoptanalyzer_test.cc36 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in GetDexoptAnalyzerCmd()
/art/runtime/native/
Ddalvik_system_DexFile.cc510 if ((filename == nullptr) || !OS::FileExists(filename)) { in GetDexOptNeeded()
693 if ((filename == nullptr) || !OS::FileExists(filename)) { in DexFile_isDexOptNeeded()

12