Home
last modified time | relevance | path

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

12

/art/runtime/
Ddex2oat_environment_test.h72 ASSERT_TRUE(OS::FileExists(GetSystemImageFile().c_str())) in SetUp()
74 ASSERT_TRUE(OS::FileExists(GetDexSrc1().c_str())) in SetUp()
76 ASSERT_TRUE(OS::FileExists(GetStrippedDexSrc1().c_str())) in SetUp()
81 ASSERT_TRUE(OS::FileExists(GetDexSrc2().c_str())) in SetUp()
Dvdex_file.cc105 if (!OS::FileExists(vdex_filename.c_str())) { in OpenAtAddress()
Doat_file_manager.cc733 if (has_vdex && OS::FileExists(vdex_path.c_str())) { in OpenDexFilesFromOat_Impl()
811 if (OS::FileExists(vdex_path_to_add.c_str())) { in UnlinkLeastRecentlyUsedVdexIfNeeded()
Doat_file_assistant.cc729 if (ret == nullptr && (VLOG_IS_ON(image) || OS::FileExists(art_file.c_str()))) { in OpenImageSpace()
Doat_file.cc1597 if (!OS::FileExists(vdex_filename.c_str())) { in Open()
1600 } else if (!OS::FileExists(oat_filename.c_str())) { in Open()
Druntime.cc1055 if (!OS::FileExists(dex_filename)) { in OpenBootDexFiles()
2334 if (!OS::FileExists(profile_output_filename.c_str(), /*check_file_type=*/ false)) { in RegisterAppInfo()
/art/imgdiag/
Dimgdiag_test.cc75 if (OS::FileExists(root32.c_str()) && !Is64BitInstructionSet(kRuntimeISA)) { in GetImgDiagFilePath()
89 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in Exec()
/art/dexlayout/
Ddexdiag_test.cc50 if (OS::FileExists(root32.c_str()) && !Is64BitInstructionSet(kRuntimeISA)) { in GetDexDiagFilePath()
92 EXPECT_TRUE(OS::FileExists(executable_path.c_str())) << executable_path in Exec()
Ddexlayout_test.cc265 EXPECT_TRUE(OS::FileExists(dexdump.c_str())) << dexdump << " should be a valid file path"; in FullPlainOutputExec()
542 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.cc105 if (!OS::FileExists(filename_.c_str())) { in Unlink()
/art/tools/dexanalyze/
Ddexanalyze_test.cc30 CHECK(OS::FileExists(binary.c_str())) << binary << " should be a valid file path"; in DexAnalyzeExec()
/art/compiler/utils/
Dassembler_test_base.h74 if (!FileExists(asm_tool)) { in CheckTools()
83 if (!FileExists(objdump_tool)) { in CheckTools()
95 if (!FileExists(disassembler_tool)) { in CheckTools()
212 bool have_assembler = FileExists(FindTool(assembler_cmd_name_)); in Assemble()
247 bool have_objdump = FileExists(FindTool(objdump_cmd_name_)); in Objdump()
449 static bool FileExists(const std::string& file) { in FileExists() function
/art/dexdump/
Ddexdump_test.cc44 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in Exec()
/art/dexlist/
Ddexlist_test.cc46 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in Exec()
/art/test/692-vdex-inmem-loader/
Dvdex_inmem_loader.cc102 OS::FileExists(vdex_filename.c_str()); in Java_Main_hasVdexFile()
/art/cmdline/
Dcmdline.h53 if (OS::FileExists(system_filename.c_str())) { in LocationToFilename()
/art/oatdump/
Doatdump_test.h166 if (!OS::FileExists(file_path.c_str())) { in Exec()
/art/libartbase/base/unix_file/
Dfd_file_test.cc224 EXPECT_FALSE(art::OS::FileExists(filename.c_str())) << filename; in TEST_F()
/art/dexoptanalyzer/
Ddexoptanalyzer_test.cc33 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in GetDexoptAnalyzerCmd()
/art/runtime/native/
Ddalvik_system_DexFile.cc531 if ((filename == nullptr) || !OS::FileExists(filename)) { in GetDexOptNeeded()
706 if ((filename == nullptr) || !OS::FileExists(filename)) { in DexFile_isDexOptNeeded()
/art/tools/hiddenapi/
Dhiddenapi_test.cc39 if (!OS::FileExists(file_path.c_str())) { in GetHiddenApiCmd()
/art/runtime/gc/space/
Dimage_space.cc200 if (OS::FileExists(system_image_filename.c_str())) { in FindImageFilenameImpl()
229 *has_cache = OS::FileExists(cache_filename->c_str()); in FindImageFilenameImpl()
/art/profman/
Dprofile_assistant_test.cc206 EXPECT_TRUE(OS::FileExists(file_path.c_str())) in GetProfmanCmd()

12