Searched refs:FileExists (Results 1 – 25 of 35) sorted by relevance
12
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()
105 ASSERT_TRUE(OS::FileExists(GetSystemImageFile().c_str())) in SetUp()107 ASSERT_TRUE(OS::FileExists(GetDexSrc1().c_str())) in SetUp()109 ASSERT_TRUE(OS::FileExists(GetResourceOnlySrc1().c_str())) in SetUp()114 ASSERT_TRUE(OS::FileExists(GetDexSrc2().c_str())) in SetUp()
34 ASSERT_TRUE(OS::FileExists(path.c_str())) << path; in CheckToolsExist()
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
399 if (OS::FileExists(mainline_extension_path.c_str(), /*check_file_type=*/true)) { in MaybeAppendBootImageMainlineExtension()412 if (OS::FileExists(mainline_extension_path.c_str(), /*check_file_type=*/true)) { in MaybeAppendBootImageMainlineExtension()433 if (OS::FileExists(boot_image_filename.c_str(), /*check_file_type=*/true)) { in GetDefaultBootImageLocationSafe()467 if (OS::FileExists(minimal_boot_image_filename.c_str(), /*check_file_type=*/true)) { in GetDefaultBootImageLocationSafe()
135 if (!OS::FileExists(filename_.c_str())) { in Unlink()391 CHECK(OS::FileExists(path.c_str())) << path; in GetAndroidTool()518 if (OS::FileExists(path.c_str())) { in GetTestDexFileName()
30 CHECK(OS::FileExists(binary.c_str())) << binary << " should be a valid file path"; in DexAnalyzeExec()
43 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in Exec()
45 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in Exec()
121 if (!OS::FileExists(oat_file.c_str())) { in GetZygoteExpectedArtifacts()154 if (!OS::FileExists(odex_file.c_str())) { in GetSystemServerExpectedArtifacts()
42 if (OS::FileExists(metrics_file.c_str())) { in OdrMetrics()
95 ASSERT_FALSE(OS::FileExists(file_path.c_str(), true)); in TEST_F()
85 if (log_path_ != nullptr && OS::FileExists(log_path_)) { in OdrCompilationLog()
54 return OS::FileExists(path); in MetricsFileExists()
509 if (has_apex && OS::FileExists(PathInChroot("/system/bin/apexd").c_str())) { in TearDownChroot()558 if (OS::FileExists(kSnapshotMappedFile->c_str())) { in TearDownChroot()
105 return OS::FileExists(GetVdexFilename(odex_filename).c_str()); in Java_Main_hasVdexFile()
303 (OS::FileExists(art_file.c_str()) ? LOG_STREAM(INFO) : VLOG_STREAM(image)) in OpenDexFilesFromOat()557 if (has_vdex && OS::FileExists(vdex_path.c_str())) { in OpenDexFilesFromOat_Impl()632 if (OS::FileExists(vdex_path_to_add.c_str())) { in UnlinkLeastRecentlyUsedVdexIfNeeded()
614 if (OS::FileExists(system_file.c_str(), /*check_file_type=*/true)) { in DexLocationToOdexFilename()671 if (OS::FileExists(apex_data_file.c_str(), /*check_file_type=*/true)) { in DexLocationToOatFilename()957 if (ret == nullptr && (VLOG_IS_ON(image) || OS::FileExists(art_file.c_str()))) { in OpenImageSpace()
64 if (!OS::FileExists(cmd.c_str())) { in CheckTools()
241 EXPECT_FALSE(art::OS::FileExists(old_filename.c_str())); in TEST_F()586 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()
182 if (!OS::FileExists(file_path.c_str())) {
572 if ((filename == nullptr) || !OS::FileExists(filename)) { in GetDexOptNeeded()745 if ((filename == nullptr) || !OS::FileExists(filename)) { in DexFile_isDexOptNeeded()
1416 if (OS::FileExists(src_artifacts->oat_path.c_str())) { in commitPreRebootStagedFiles()1419 if (OS::FileExists(src_artifacts->art_path.c_str())) { in commitPreRebootStagedFiles()1438 if (OS::FileExists(src_profile->c_str())) { in commitPreRebootStagedFiles()1768 bool preparation_done = OS::FileExists(preparation_done_file.c_str()); in preRebootInit()