Searched refs:FileExists (Results 1 – 23 of 23) sorted by relevance
72 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()
95 if (!OS::FileExists(vdex_filename.c_str())) { in OpenAtAddress()
134 if (!OS::FileExists(filename_.c_str())) { in Unlink()
1421 if (!OS::FileExists(vdex_filename.c_str())) { in Open()1424 } else if (!OS::FileExists(oat_filename.c_str())) { in Open()
1014 if (ret == nullptr && (VLOG_IS_ON(image) || OS::FileExists(art_file.c_str()))) { in OpenImageSpace()
1085 if (!OS::FileExists(dex_filename)) { in OpenDexFiles()2239 if (!OS::FileExists(profile_output_filename.c_str(), false /*check_file_type*/)) { in RegisterAppInfo()
52 static bool FileExists(const char* name, bool check_file_type = true);
67 bool OS::FileExists(const char* name, bool check_file_type) { in FileExists() function in art::OS
79 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()
50 if (OS::FileExists(root32.c_str()) && !Is64BitInstructionSet(kRuntimeISA)) { in GetDexDiagFilePath()93 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()539 CHECK(OS::FileExists(dexlayout.c_str())) << dexlayout << " should be a valid file path"; in DexLayoutExec()
44 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in Exec()
46 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in Exec()
74 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
52 if (OS::FileExists(system_filename.c_str())) { in LocationToFilename()
145 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in Exec()
605 if (!OS::FileExists(vdex_filename.c_str())) { in Dump()
33 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in GetDexoptAnalyzerCmd()
220 EXPECT_FALSE(art::OS::FileExists(filename.c_str())) << filename; in TEST_F()
473 if ((filename == nullptr) || !OS::FileExists(filename)) { in GetDexOptNeeded()648 if ((filename == nullptr) || !OS::FileExists(filename)) { in DexFile_isDexOptNeeded()
81 if (OS::FileExists(name)) { in CreateOrOpen()
204 EXPECT_TRUE(OS::FileExists(file_path.c_str())) in GetProfmanCmd()
2488 if (!OS::FileExists(dex_filenames_[i])) { in PruneNonExistentDexFiles()