/base/security/appverify/interfaces/innerkits/appverify_lite/unittest/src/ |
D | hap_verify_test.cpp | 69 CopyFile(GetBusinessHap(), signedHap); 93 CopyFile(GetUnsignedHap(), unsignedHap); 119 CopyFile(GetWrongUdidHap(), udidUnmatchHap); 145 CopyFile(GetModifiedHap(), tamperedHap); 171 CopyFile(GetSuccessHap(), testHap); 182 CopyFile(GetBusinessHap(), businessHap); 208 CopyFile(GetBusinessHap(), businessHap); 218 CopyFile(GetSuccessHap(), testHap); 245 CopyFile(GetWrongLiceseHap(), wrongHap);
|
D | write_file.h | 21 int CopyFile(const char *org, const char *dest);
|
D | write_file.cpp | 35 int CopyFile(const char *org, const char *dest) in CopyFile() function
|
/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/ |
D | hap_crl_manager_test.cpp | 40 CopyFileState CopyFile(const std::string& sourceFilePath, const std::string& destFilePath) in CopyFile() function 112 CopyFileState ret = CopyFile(HapCrlManager::HAP_CRL_FILE_PATH, HAP_CRL_TEST_BACKUP_FILE_PATH); 144 …ASSERT_TRUE(CopyFile(HAP_CRL_TEST_BACKUP_FILE_PATH, HapCrlManager::HAP_CRL_FILE_PATH) == COPY_SUC);
|
/base/theme/wallpaper_mgr/utils/include/ |
D | file_deal.h | 30 static bool CopyFile(const std::string &sourceFile, const std::string &newFile);
|
/base/security/selinux/test/unittest/common/ |
D | test_common.h | 29 bool CopyFile(const std::string &src, const std::string &des);
|
D | test_common.cpp | 111 bool CopyFile(const std::string &src, const std::string &des) in CopyFile() function
|
/base/hiviewdfx/hidumper/frameworks/native/ |
D | dump_utils.h | 51 static bool CopyFile(const std::string &src, const std::string &des);
|
D | dump_utils.cpp | 211 bool DumpUtils::CopyFile(const std::string &src, const std::string &des) in CopyFile() function in OHOS::HiviewDFX::DumpUtils
|
/base/theme/wallpaper_mgr/services/src/ |
D | wallpaper_service.cpp | 350 … int ret = FileDeal::CopyFile(wallpaperSystemCropFileFullPath_, wallpaperSystemFileFullPath_); in MigrateFromOld() 356 … int ret = FileDeal::CopyFile(WALLPAPER_DEFAULT_FILEFULLPATH, wallpaperSystemCropFileFullPath_); in MigrateFromOld() 360 ret = FileDeal::CopyFile(WALLPAPER_DEFAULT_FILEFULLPATH, wallpaperSystemFileFullPath_); in MigrateFromOld() 367 …int ret = FileDeal::CopyFile(wallpaperLockScreenCropFileFullPath_, wallpaperLockScreenFileFullPath… in MigrateFromOld() 373 …int ret = FileDeal::CopyFile(WALLPAPER_DEFAULT_LOCK_FILEFULLPATH, wallpaperLockScreenCropFileFullP… in MigrateFromOld() 377 … ret = FileDeal::CopyFile(WALLPAPER_DEFAULT_LOCK_FILEFULLPATH, wallpaperLockScreenFileFullPath_); in MigrateFromOld() 515 …ret = FileDeal::CopyFile(tmpPath, (wallpaperType == WALLPAPER_SYSTEM ? wallpaperSystemCropFileFull… in MakeCropWallpaper() 685 bool retFileCp = FileDeal::CopyFile(uriOrPixelMap, in SetWallpaperBackupData() 880 if (!FileDeal::CopyFile(WALLPAPER_DEFAULT_FILEFULLPATH, wallpaperSystemCropFileFullPath_)) { in CopySystemWallpaper() 884 if (!FileDeal::CopyFile(WALLPAPER_DEFAULT_FILEFULLPATH, wallpaperSystemFileFullPath_)) { in CopySystemWallpaper() [all …]
|
/base/theme/wallpaper_mgr/utils/src/ |
D | file_deal.cpp | 52 bool FileDeal::CopyFile(const std::string &sourceFile, const std::string &newFile) in CopyFile() function in OHOS::WallpaperMgrService::FileDeal
|
/base/hiviewdfx/hiview/adapter/utility/test/unittest/common/ |
D | adapter_utility_ohos_test.cpp | 306 …auto ret = FileUtil::CopyFile("//...../invalid_dest_file", GenerateLogFileName(caseName, SUFFIX_1)… 309 ret = FileUtil::CopyFile(GenerateLogFileName(caseName, SUFFIX_0), "//...../invalid_dest_file"); 312 …(void)FileUtil::CopyFile(GenerateLogFileName(caseName, SUFFIX_0), GenerateLogFileName(caseName, SU…
|
/base/update/updater/utils/include/ |
D | utils.h | 61 bool CopyFile(const std::string &src, const std::string &dest);
|
/base/update/updater/test/unittest/utils/ |
D | utils_unittest.cpp | 167 HWTEST_F(UtilsUnitTest, CopyFile, TestSize.Level0) 171 EXPECT_EQ(Utils::CopyFile(src, dest), false); 178 EXPECT_EQ(Utils::CopyFile(src, dest), true);
|
/base/update/updater/services/updater_binary/ |
D | update_image_patch.cpp | 107 if (!Utils::CopyFile(newFile, para.devPath)) { in ApplyPatch() 159 if (!Utils::CopyFile(para.devPath, srcFile)) { in GetSourceFile()
|
/base/hiviewdfx/hiview/adapter/utility/include/ |
D | file_util.h | 90 int CopyFile(const std::string &src, const std::string &des);
|
/base/security/selinux/test/unittest/paraperm_checker/ |
D | unit_test.cpp | 36 ASSERT_EQ(true, CopyFile(PARAM_CONTEXTS_FILE, PARAM_CONTEXTS_FILE + "_bk")); in GenerateTestFile()
|
/base/hiviewdfx/hiview/adapter/utility/platform/ohos/ |
D | file_util.cpp | 224 int CopyFile(const std::string &src, const std::string &des) in CopyFile() function
|
/base/hiviewdfx/hiview/adapter/utility/ |
D | file_util.cpp | 272 int CopyFile(const std::string &src, const std::string &des) in CopyFile() function
|
/base/security/selinux/test/unittest/hap_restorecon/ |
D | unit_test.cpp | 57 ASSERT_EQ(true, CopyFile(SEHAP_CONTEXTS_FILE, SEHAP_CONTEXTS_FILE + "_bk")); in GenerateTestFile()
|
/base/update/updater/utils/ |
D | utils.cpp | 320 bool CopyFile(const std::string &src, const std::string &dest) in CopyFile() function
|
/base/hiviewdfx/hidumper/frameworks/native/src/util/ |
D | config_utils.cpp | 780 DumpUtils::CopyFile(src, des); in CopySmaps()
|