Searched refs:FileExists (Results 1 – 25 of 35) sorted by relevance
12
75 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()
34 ASSERT_TRUE(OS::FileExists(path.c_str())) << path; in CheckToolsExist()
479 if (has_vdex && OS::FileExists(vdex_path.c_str())) { in OpenDexFilesFromOat_Impl()555 if (OS::FileExists(vdex_path_to_add.c_str())) { in UnlinkLeastRecentlyUsedVdexIfNeeded()
569 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()
70 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()
45 if (OS::FileExists(path32.c_str()) && !Is64BitInstructionSet(kRuntimeISA)) { in GetDexDiagFilePath()85 EXPECT_TRUE(OS::FileExists(executable_path.c_str())) << executable_path in Exec()
264 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()
52 static bool FileExists(const char* name, bool check_file_type = true);
73 bool OS::FileExists(const char* name, bool check_file_type) { in FileExists() function in art::OS
138 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()
30 CHECK(OS::FileExists(binary.c_str())) << binary << " should be a valid file path"; in DexAnalyzeExec()
45 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in Exec()
43 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in Exec()
49 return OS::FileExists(path); in MetricsFileExists()54 if (OS::FileExists(path)) { in RemoveMetricsFile()
43 if (OS::FileExists(metrics_file.c_str())) { in OdrMetrics()
311 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()
95 ASSERT_FALSE(OS::FileExists(file_path.c_str(), true)); in TEST_F()
85 if (log_path_ != nullptr && OS::FileExists(log_path_)) { in OdrCompilationLog()
105 return OS::FileExists(GetVdexFilename(odex_filename).c_str()); in Java_Main_hasVdexFile()
62 if (!OS::FileExists(cmd.c_str())) { in CheckTools()
53 if (OS::FileExists(system_filename.c_str())) { in LocationToFilename()
176 if (!OS::FileExists(file_path.c_str())) {
238 EXPECT_FALSE(art::OS::FileExists(filename.c_str())) << filename; in TEST_F()
36 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in GetDexoptAnalyzerCmd()
510 if ((filename == nullptr) || !OS::FileExists(filename)) { in GetDexOptNeeded()693 if ((filename == nullptr) || !OS::FileExists(filename)) { in DexFile_isDexOptNeeded()