| /base/startup/init/test/unittest/modules/ |
| D | eng_unittest.cpp | 70 static bool IsFileExist(const std::string &path) in IsFileExist() function 118 isExist = IsFileExist(SRC_FILE_PATH.c_str()); 149 if (!IsFileExist(SRC_FILE_PATH.c_str())) { 151 isExist = IsFileExist(SRC_FILE_PATH.c_str()); 157 if (IsFileExist(SRC_FILE_PATH.c_str())) { 159 isExist = IsFileExist(SRC_FILE_PATH.c_str()); 168 bool isLinkFile = IsFileExist(TARGET_PATH.c_str()); 194 if (!IsFileExist(SRC_FILE_PATH.c_str())) { 196 isExist = IsFileExist(SRC_FILE_PATH.c_str()); 208 if (IsFileExist(targetFile)) { [all …]
|
| /base/global/resource_management/frameworks/resmgr/src/ |
| D | system_resource_manager.cpp | 105 if (Utils::IsFileExist(sysPkgNamePath)) { in LoadSystemResource() 106 if (Utils::IsFileExist(SYSTEM_RESOURCE_OVERLAY_PATH_COMPRESSED)) { in LoadSystemResource() 114 if (Utils::IsFileExist(sysHapNamePath)) { in LoadSystemResource() 115 if (Utils::IsFileExist(SYSTEM_RESOURCE_OVERLAY_PATH_COMPRESSED)) { in LoadSystemResource()
|
| /base/update/updateservice/services/core/ability/utils/src/ |
| D | file_utils.cpp | 47 bool FileUtils::IsFileExist(const std::string &fileName) in IsFileExist() function in OHOS::UpdateEngine::FileUtils 86 if (!IsFileExist(rootPath)) { in DeleteFile() 118 if (IsFileExist(curDir)) { in CreateMultiDirWithPermission() 125 } while (!curDir.empty() && !IsFileExist(curDir)); in CreateMultiDirWithPermission() 161 if (!IsFileExist(dirInfo.dirName)) { in InitAndCreateBaseDirs()
|
| D | sha256_utils.cpp | 45 if (!FileUtils::IsFileExist(fileName)) { in CheckFileSha256String()
|
| /base/update/updater/test/unittest/utils/ |
| D | utils_unittest.cpp | 109 HWTEST_F(UtilsUnitTest, IsFileExist, TestSize.Level0) 111 EXPECT_EQ(Utils::IsFileExist("/bin/test_updater"), false); 112 EXPECT_EQ(Utils::IsFileExist("/bin/updater_binary"), true);
|
| /base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/ |
| D | hks_test_file_operator.c | 79 static int32_t IsFileExist(const char *fileName) in IsFileExist() function 91 if (IsFileExist(fileName) != HKS_SUCCESS) { in FileRead() 119 if (IsFileExist(fileName) != HKS_SUCCESS) { in FileSize() 186 ret = IsFileExist(fullFileName); in HksIsFileExist()
|
| /base/security/huks/test/unittest/huks_lite_test/common/ |
| D | hks_test_file_operator.c | 89 static int32_t IsFileExist(const char *fileName) in IsFileExist() function 101 if (IsFileExist(fileName) != HKS_SUCCESS) { in FileRead() 129 if (IsFileExist(fileName) != HKS_SUCCESS) { in FileSize() 196 ret = IsFileExist(fullFileName); in HksTestIsFileExist()
|
| /base/theme/wallpaper_mgr/utils/include/ |
| D | file_deal.h | 32 static bool IsFileExist(const std::string &name);
|
| /base/theme/wallpaper_mgr/utils/src/ |
| D | file_deal.cpp | 90 bool FileDeal::IsFileExist(const std::string &name) in IsFileExist() function in OHOS::WallpaperMgrService::FileDeal 125 if (!IsFileExist(outRealPath)) { in GetRealPath()
|
| /base/security/huks/utils/file_operator/ |
| D | hks_file_operator.c | 78 static int32_t IsFileExist(const char *fileName) in IsFileExist() function 90 HKS_IF_NOT_SUCC_RETURN(IsFileExist(fileName), 0) in FileRead() 113 HKS_IF_NOT_SUCC_RETURN(IsFileExist(fileName), 0) in FileSize() 184 int32_t ret = IsFileExist(fileName); in FileRemove() 225 ret = IsFileExist(fullFileName); in HksIsFileExist() 233 return IsFileExist(path); in HksIsDirExist()
|
| D | hks_file_operator_lite.c | 95 static int32_t IsFileExist(const char *fileName) in IsFileExist() function 203 return IsFileExist(path); in HksIsDirExist() 318 static int32_t IsFileExist(const char *fileName) in IsFileExist() function 461 ret = IsFileExist(fullFileName); in HksIsFileExist()
|
| /base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
| D | cert_manager_file_operator.c | 74 static int32_t IsFileExist(const char *fileName) in IsFileExist() function 88 return IsFileExist(path); in CmIsDirExist() 94 if (IsFileExist(fileName) != CMR_OK) { in FileRead() 122 if (IsFileExist(fileName) != CMR_OK) { in FileSize() 174 int32_t ret = IsFileExist(fileName); in FileRemove() 454 ret = IsFileExist(fullFileName); in CmIsFileExist()
|
| /base/update/updateservice/services/core/ability/utils/include/ |
| D | file_utils.h | 34 static bool IsFileExist(const std::string &fileName);
|
| /base/startup/init/test/unittest/ueventd/ |
| D | ueventd_event_unittest.cpp | 216 bool IsFileExist(const std::string &file) in IsFileExist() function 437 auto exist = IsFileExist("/dev/extcon3-1"); 439 exist = IsFileExist("/dev/extcon3"); 453 auto exist = IsFileExist("/dev/usb-dev"); 468 auto exist = IsFileExist("/dev/usb-dev-1"); 483 auto exist = IsFileExist("/dev/bus/usb/003/004");
|
| /base/global/resource_management/frameworks/resmgr/include/utils/ |
| D | utils.h | 65 static bool IsFileExist(const std::string& filePath);
|
| /base/update/updater/utils/include/ |
| D | utils.h | 72 bool IsFileExist(const std::string &path);
|
| /base/update/updateservice/services/firmware/common/src/ |
| D | firmware_update_helper.cpp | 131 if (!FileUtils::IsFileExist(component.spath)) { in IsUpgradePackagesReady()
|
| /base/update/updateservice/services/engine/src/ |
| D | update_service_impl_firmware.cpp | 157 if (!FileUtils::IsFileExist(changelogFilePath)) { in GetNewVersionDescription() 200 if (!FileUtils::IsFileExist(changelogFilePath)) { in GetCurrentVersionDescription()
|
| /base/theme/wallpaper_mgr/services/src/ |
| D | wallpaper_service.cpp | 337 if (FileDeal::IsFileExist(userDir)) { in OnInitUser() 360 if (!FileDeal::IsFileExist(pathName)) { in InitResources() 401 if (FileDeal::IsFileExist(WALLPAPER_PREFABRICATE_FILEFULLPATH)) { in RestoreUserResources() 405 if (FileDeal::IsFileExist(WALLPAPER_PREFABRICATE_LOCK_FILEFULLPATH)) { in RestoreUserResources() 409 if (!FileDeal::IsFileExist(wallpaperDefaultPath) || in RestoreUserResources() 410 !FileDeal::IsFileExist(GetWallpaperDir(wallpaperData.userId, wallpaperType))) { in RestoreUserResources() 449 if (!FileDeal::IsFileExist(userDir)) { in OnSwitchedUser()
|
| /base/theme/wallpaper_mgr/test/unittest/ |
| D | wallpaper_test.cpp | 914 isExist = fileOperation.IsFileExist(URI); 916 isExist = fileOperation.IsFileExist("/data/test/theme/wallpaper/errorURI"); 953 ret = FileDeal::IsFileExist(WallpaperTest::GetUserFilePath(TEST_USERID, SYSTEM_FILE)); 955 ret = FileDeal::IsFileExist(WallpaperTest::GetUserFilePath(TEST_USERID, LOCKSCREEN_FILE));
|
| /base/telephony/core_service/interfaces/innerkits/include/ |
| D | resource_utils.h | 228 bool IsFileExist(const std::string &filePath);
|
| /base/telephony/core_service/frameworks/native/src/ |
| D | resource_utils.cpp | 393 if (IsFileExist(hapPath)) { in Init() 397 } else if (IsFileExist(resPath)) { in Init() 569 bool ResourceUtils::IsFileExist(const std::string &filePath) in IsFileExist() function in OHOS::Telephony::ResourceUtils
|
| /base/global/resource_management/frameworks/resmgr/include/ |
| D | resource_manager_impl.h | 571 bool IsFileExist(const std::string& path);
|
| /base/global/resource_management/frameworks/resmgr/src/utils/ |
| D | utils.cpp | 450 bool Utils::IsFileExist(const std::string& filePath) in IsFileExist() function in OHOS::Global::Resource::Utils
|
| /base/update/updater/utils/ |
| D | utils.cpp | 620 bool IsFileExist(const std::string &path) in IsFileExist() function
|