Home
last modified time | relevance | path

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

/system/bt/gd/os/linux_generic/
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()
Dfiles.cc53 bool FileExists(const std::string& path) { in FileExists() function
/system/bt/gd/os/
Dfiles.h26 bool FileExists(const std::string& path);
/system/update_engine/payload_consumer/
Dcertificate_parser_android_unittest.cc38 ASSERT_TRUE(utils::FileExists(ota_cert.c_str())); in TEST()
Dpostinstall_runner_action.cc153 if (!utils::FileExists(fs_mount_dir_.c_str())) { in PerformPartitionPostinstall()
Ddelta_performer.cc990 if (utils::FileExists(public_key_path_.c_str())) { in GetPublicKey()
1008 if (utils::FileExists(update_certificates_path_.c_str())) { in CreatePayloadVerifier()
Ddelta_performer_unittest.cc175 EXPECT_TRUE(utils::FileExists(public_key_path.c_str())); in SetUp()
Ddelta_performer_integration_test.cc813 EXPECT_TRUE(utils::FileExists(public_key_path.c_str())); in ApplyDeltaFile()
/system/bt/gd/hal/
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()
/system/update_engine/cros/
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()
Dlogging.cc44 if (utils::FileExists(symlink_path.c_str()) && in SetupLogSymlink()
/system/core/storaged/
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()
/system/bt/gd/storage/
Dlegacy_config_file.cc78 if (!os::FileExists(path_)) { in Delete()
Dstorage_module.cc130 if (os::FileExists(config_file_path_)) { in SaveImmediately()
/system/core/fs_mgr/tests/
Dfile_wait_test.cpp42 TEST_F(FileWaitTest, FileExists) { in TEST_F() argument
/system/update_engine/payload_generator/
Dmapfile_filesystem.cc59 if (!utils::FileExists(mapfile_filename.c_str())) { in CreateFromFile()
Dpayload_generation_config.cc55 TEST_AND_RETURN_FALSE(utils::FileExists(path.c_str())); in ValidateExists()
Dgenerate_delta_main.cc540 CHECK(utils::FileExists(FLAGS_apex_info_file.c_str())); in Main()
/system/update_engine/common/
Dutils.h142 bool FileExists(const char* path);
Dutils.cc486 bool FileExists(const char* path) { in FileExists() function