Home
last modified time | relevance | path

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

123

/aosp12/system/bt/gd/os/linux_generic/
H A Dfiles_test.cc26 using bluetooth::os::FileExists;
36 EXPECT_TRUE(FileExists(temp_file.string())); in TEST()
38 EXPECT_FALSE(FileExists(none_file.string())); in TEST()
/aosp12/art/runtime/
H A Ddex2oat_environment_test.h75 ASSERT_TRUE(OS::FileExists(GetSystemImageFile().c_str())) in SetUp()
77 ASSERT_TRUE(OS::FileExists(GetDexSrc1().c_str())) in SetUp()
79 ASSERT_TRUE(OS::FileExists(GetResourceOnlySrc1().c_str())) in SetUp()
85 ASSERT_TRUE(OS::FileExists(GetDexSrc2().c_str())) in SetUp()
H A Dprebuilt_tools_test.cc34 ASSERT_TRUE(OS::FileExists(path.c_str())) << path; in CheckToolsExist()
/aosp12/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
H A DDeviceFiles.cpp158 return mFileHandle.FileExists(keySetId + kLicenseFileNameExt); in LicenseExists()
176 if (!FileExists(fileName)) { in RetrieveHashedFile()
236 bool DeviceFiles::FileExists(const std::string& fileName) const { in FileExists() function in android::hardware::drm::V1_4::clearkey::DeviceFiles
237 return mFileHandle.FileExists(fileName); in FileExists()
/aosp12/art/imgdiag/
H A 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()
/aosp12/art/dexlayout/
H A Ddexdiag_test.cc45 if (OS::FileExists(path32.c_str()) && !Is64BitInstructionSet(kRuntimeISA)) { in GetDexDiagFilePath()
85 EXPECT_TRUE(OS::FileExists(executable_path.c_str())) << executable_path in Exec()
/aosp12/system/bt/gd/hal/
H A Dsnoop_logger.cc93 if (os::FileExists(log_path)) { in delete_btsnoop_files()
101 if (os::FileExists(last_log_path)) { in delete_btsnoop_files()
224 if (os::FileExists(snoop_log_path_)) { in OpenNextSnoopLogFile()
326 if (os::FileExists(snooz_log_path_)) { in DumpSnoozLogToFile()
/aosp12/system/update_engine/cros/
H A Dp2p_manager_unittest.cc186 EXPECT_EQ(expect, utils::FileExists(file_name.c_str())); in TEST_F()
190 EXPECT_TRUE(utils::FileExists(file_name.c_str())); in TEST_F()
260 EXPECT_EQ(expect, utils::FileExists(file_name.c_str())); in TEST_F()
264 EXPECT_TRUE(utils::FileExists(file_name.c_str())); in TEST_F()
H A Dlogging.cc44 if (utils::FileExists(symlink_path.c_str()) && in SetupLogSymlink()
/aosp12/system/core/storaged/
H A Dstoraged_info.cpp52 bool FileExists(const std::string& filename) in FileExists() function
64 if (FileExists(emmc_info_t::emmc_sysfs)) return new emmc_info_t; in get_storage_info()
66 if (FileExists(ufs_info_t::health_file)) { in get_storage_info()
/aosp12/system/bt/gd/os/
H A Dfiles.h26 bool FileExists(const std::string& path);
/aosp12/art/libartbase/base/
H A Dos.h52 static bool FileExists(const char* name, bool check_file_type = true);
H A Dos_linux.cc73 bool OS::FileExists(const char* name, bool check_file_type) { in FileExists() function in art::OS
/aosp12/frameworks/native/cmds/dumpstate/tests/
H A Ddumpstate_smoke_test.cpp263 void FileExists(const char* filename, uint32_t minsize, in FileExists() function in android::os::dumpstate::ZippedBugReportContentsTest
283 FileExists(bugreport_txt_name.c_str(), 1000000U); in TEST_F()
305 FileExists("proto/activity.proto", 100000U, 1000000U); in TEST_F()
311 FileExists("FS/proc/1/mountinfo", 0U, 100000U); in TEST_F()
/aosp12/art/odrefresh/
H A Dodrefresh.cc311 if (OS::FileExists(cache_info_filename_.c_str())) { in WriteCacheInfo()
455 if (!OS::FileExists(path)) { in ArtifactsExist()
525 if (!OS::FileExists(cache_info_filename_.c_str())) { in CheckArtifactsAreUpToDate()
696 if (OS::FileExists(profile_file.c_str(), /*check_file_type=*/true)) { in AddDex2OatProfileAndCompilerFilter()
715 if (!on_system && !OS::FileExists(image_location.c_str(), true)) { in VerifySystemServerArtifactsAreUpToDate()
756 if (OS::FileExists(profile_file.c_str())) { in VerifySystemServerArtifactsAreUpToDate()
961 if (OS::FileExists(location.c_str()) && unlink(location.c_str()) != 0) { in RemoveArtifacts()
1035 if (OS::FileExists(dirty_image_objects_file.c_str())) { in CompileBootExtensionArtifacts()
1187 if (!OS::FileExists(bcp_packages.c_str())) { in CompileSystemServerArtifacts()
H A Dodr_metrics_test.cc49 return OS::FileExists(path); in MetricsFileExists()
54 if (OS::FileExists(path)) { in RemoveMetricsFile()
/aosp12/system/update_engine/payload_consumer/
H A Dcertificate_parser_android_unittest.cc38 ASSERT_TRUE(utils::FileExists(ota_cert.c_str())); in TEST()
/aosp12/art/tools/dexanalyze/
H A Ddexanalyze_test.cc30 CHECK(OS::FileExists(binary.c_str())) << binary << " should be a valid file path"; in DexAnalyzeExec()
/aosp12/art/dexdump/
H A Ddexdump_test.cc43 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in Exec()
/aosp12/art/dexlist/
H A Ddexlist_test.cc45 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in Exec()
/aosp12/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/
H A DDeviceFiles.h54 bool FileExists(const std::string& path) const;
H A DMemoryFileSystem.h45 bool FileExists(const std::string& fileName) const;
/aosp12/system/bt/gd/storage/
H A Dlegacy_config_file.cc78 if (!os::FileExists(path_)) { in Delete()
/aosp12/bionic/benchmarks/
H A Dbionic_benchmarks.cpp553 static bool FileExists(const std::string& file) { in FileExists() function
580 } else if (!FileExists(opts.xmlpath)) { in main()
583 if (opts.xmlpath[0] == '/' || !FileExists(file)) { in main()
/aosp12/system/core/fs_mgr/tests/
H A Dfile_wait_test.cpp42 TEST_F(FileWaitTest, FileExists) { in TEST_F() argument

123