Home
last modified time | relevance | path

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

12

/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/runtime/
Ddex2oat_environment_test.h105 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()
Dprebuilt_tools_test.cc34 ASSERT_TRUE(OS::FileExists(path.c_str())) << path; in CheckToolsExist()
/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
Dfile_utils.cc399 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()
Dcommon_art_test.cc135 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()
/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/test/dexpreopt/
Ddexpreopt_test.cc121 if (!OS::FileExists(oat_file.c_str())) { in GetZygoteExpectedArtifacts()
154 if (!OS::FileExists(odex_file.c_str())) { in GetSystemServerExpectedArtifacts()
/art/odrefresh/
Dodr_metrics.cc42 if (OS::FileExists(metrics_file.c_str())) { in OdrMetrics()
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()
Dodr_metrics_test.cc54 return OS::FileExists(path); in MetricsFileExists()
/art/dexopt_chroot_setup/
Ddexopt_chroot_setup.cc509 if (has_apex && OS::FileExists(PathInChroot("/system/bin/apexd").c_str())) { in TearDownChroot()
558 if (OS::FileExists(kSnapshotMappedFile->c_str())) { in TearDownChroot()
/art/test/692-vdex-inmem-loader/
Dvdex_inmem_loader.cc105 return OS::FileExists(GetVdexFilename(odex_filename).c_str()); in Java_Main_hasVdexFile()
/art/runtime/oat/
Doat_file_manager.cc303 (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()
Doat_file_assistant.cc614 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()
/art/compiler/utils/
Dassembler_test_base.h64 if (!OS::FileExists(cmd.c_str())) { in CheckTools()
/art/libartbase/base/unix_file/
Dfd_file_test.cc241 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()
/art/dexoptanalyzer/
Ddexoptanalyzer_test.cc36 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in GetDexoptAnalyzerCmd()
/art/oatdump/
Doatdump_test.h182 if (!OS::FileExists(file_path.c_str())) {
/art/runtime/native/
Ddalvik_system_DexFile.cc572 if ((filename == nullptr) || !OS::FileExists(filename)) { in GetDexOptNeeded()
745 if ((filename == nullptr) || !OS::FileExists(filename)) { in DexFile_isDexOptNeeded()
/art/artd/
Dartd.cc1416 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()

12