Home
last modified time | relevance | path

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

/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.cc95 if (!OS::FileExists(vdex_filename.c_str())) { in OpenAtAddress()
Dcommon_runtime_test.cc134 if (!OS::FileExists(filename_.c_str())) { in Unlink()
Doat_file.cc1421 if (!OS::FileExists(vdex_filename.c_str())) { in Open()
1424 } else if (!OS::FileExists(oat_filename.c_str())) { in Open()
Doat_file_assistant.cc1014 if (ret == nullptr && (VLOG_IS_ON(image) || OS::FileExists(art_file.c_str()))) { in OpenImageSpace()
Druntime.cc1085 if (!OS::FileExists(dex_filename)) { in OpenDexFiles()
2239 if (!OS::FileExists(profile_output_filename.c_str(), false /*check_file_type*/)) { in RegisterAppInfo()
/art/libartbase/base/
Dos.h52 static bool FileExists(const char* name, bool check_file_type = true);
Dos_linux.cc67 bool OS::FileExists(const char* name, bool check_file_type) { in FileExists() function in art::OS
/art/imgdiag/
Dimgdiag_test.cc79 if (OS::FileExists(root32.c_str()) && !Is64BitInstructionSet(kRuntimeISA)) { in GetImgDiagFilePath()
93 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()
93 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()
539 CHECK(OS::FileExists(dexlayout.c_str())) << dexlayout << " should be a valid file path"; in DexLayoutExec()
/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/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/cmdline/
Dcmdline.h52 if (OS::FileExists(system_filename.c_str())) { in LocationToFilename()
/art/oatdump/
Doatdump_test.h145 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in Exec()
Doatdump.cc605 if (!OS::FileExists(vdex_filename.c_str())) { in Dump()
/art/dexoptanalyzer/
Ddexoptanalyzer_test.cc33 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in GetDexoptAnalyzerCmd()
/art/libartbase/base/unix_file/
Dfd_file_test.cc220 EXPECT_FALSE(art::OS::FileExists(filename.c_str())) << filename; in TEST_F()
/art/runtime/native/
Ddalvik_system_DexFile.cc473 if ((filename == nullptr) || !OS::FileExists(filename)) { in GetDexOptNeeded()
648 if ((filename == nullptr) || !OS::FileExists(filename)) { in DexFile_isDexOptNeeded()
/art/patchoat/
Dpatchoat.cc81 if (OS::FileExists(name)) { in CreateOrOpen()
/art/profman/
Dprofile_assistant_test.cc204 EXPECT_TRUE(OS::FileExists(file_path.c_str())) in GetProfmanCmd()
/art/dex2oat/
Ddex2oat.cc2488 if (!OS::FileExists(dex_filenames_[i])) { in PruneNonExistentDexFiles()