Searched refs:FileExists (Results 1 – 25 of 27) sorted by relevance
12
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()
105 if (!OS::FileExists(vdex_filename.c_str())) { in OpenAtAddress()
733 if (has_vdex && OS::FileExists(vdex_path.c_str())) { in OpenDexFilesFromOat_Impl()811 if (OS::FileExists(vdex_path_to_add.c_str())) { in UnlinkLeastRecentlyUsedVdexIfNeeded()
729 if (ret == nullptr && (VLOG_IS_ON(image) || OS::FileExists(art_file.c_str()))) { in OpenImageSpace()
1597 if (!OS::FileExists(vdex_filename.c_str())) { in Open()1600 } else if (!OS::FileExists(oat_filename.c_str())) { in Open()
1055 if (!OS::FileExists(dex_filename)) { in OpenBootDexFiles()2334 if (!OS::FileExists(profile_output_filename.c_str(), /*check_file_type=*/ false)) { in RegisterAppInfo()
75 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()
50 if (OS::FileExists(root32.c_str()) && !Is64BitInstructionSet(kRuntimeISA)) { in GetDexDiagFilePath()92 EXPECT_TRUE(OS::FileExists(executable_path.c_str())) << executable_path in Exec()
265 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()
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
105 if (!OS::FileExists(filename_.c_str())) { in Unlink()
30 CHECK(OS::FileExists(binary.c_str())) << binary << " should be a valid file path"; in DexAnalyzeExec()
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
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()
102 OS::FileExists(vdex_filename.c_str()); in Java_Main_hasVdexFile()
53 if (OS::FileExists(system_filename.c_str())) { in LocationToFilename()
166 if (!OS::FileExists(file_path.c_str())) { in Exec()
224 EXPECT_FALSE(art::OS::FileExists(filename.c_str())) << filename; in TEST_F()
33 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in GetDexoptAnalyzerCmd()
531 if ((filename == nullptr) || !OS::FileExists(filename)) { in GetDexOptNeeded()706 if ((filename == nullptr) || !OS::FileExists(filename)) { in DexFile_isDexOptNeeded()
39 if (!OS::FileExists(file_path.c_str())) { in GetHiddenApiCmd()
200 if (OS::FileExists(system_image_filename.c_str())) { in FindImageFilenameImpl()229 *has_cache = OS::FileExists(cache_filename->c_str()); in FindImageFilenameImpl()
206 EXPECT_TRUE(OS::FileExists(file_path.c_str())) in GetProfmanCmd()