Home
last modified time | relevance | path

Searched refs:CopyFile (Results 1 – 22 of 22) sorted by relevance

/base/security/appverify/interfaces/innerkits/appverify_lite/unittest/src/
Dhap_verify_test.cpp69 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);
Dwrite_file.h21 int CopyFile(const char *org, const char *dest);
Dwrite_file.cpp35 int CopyFile(const char *org, const char *dest) in CopyFile() function
/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/
Dhap_crl_manager_test.cpp40 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/
Dfile_deal.h30 static bool CopyFile(const std::string &sourceFile, const std::string &newFile);
/base/security/selinux/test/unittest/common/
Dtest_common.h29 bool CopyFile(const std::string &src, const std::string &des);
Dtest_common.cpp111 bool CopyFile(const std::string &src, const std::string &des) in CopyFile() function
/base/hiviewdfx/hidumper/frameworks/native/
Ddump_utils.h51 static bool CopyFile(const std::string &src, const std::string &des);
Ddump_utils.cpp211 bool DumpUtils::CopyFile(const std::string &src, const std::string &des) in CopyFile() function in OHOS::HiviewDFX::DumpUtils
/base/theme/wallpaper_mgr/services/src/
Dwallpaper_service.cpp350 … 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/
Dfile_deal.cpp52 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/
Dadapter_utility_ohos_test.cpp306 …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/
Dutils.h61 bool CopyFile(const std::string &src, const std::string &dest);
/base/update/updater/test/unittest/utils/
Dutils_unittest.cpp167 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/
Dupdate_image_patch.cpp107 if (!Utils::CopyFile(newFile, para.devPath)) { in ApplyPatch()
159 if (!Utils::CopyFile(para.devPath, srcFile)) { in GetSourceFile()
/base/hiviewdfx/hiview/adapter/utility/include/
Dfile_util.h90 int CopyFile(const std::string &src, const std::string &des);
/base/security/selinux/test/unittest/paraperm_checker/
Dunit_test.cpp36 ASSERT_EQ(true, CopyFile(PARAM_CONTEXTS_FILE, PARAM_CONTEXTS_FILE + "_bk")); in GenerateTestFile()
/base/hiviewdfx/hiview/adapter/utility/platform/ohos/
Dfile_util.cpp224 int CopyFile(const std::string &src, const std::string &des) in CopyFile() function
/base/hiviewdfx/hiview/adapter/utility/
Dfile_util.cpp272 int CopyFile(const std::string &src, const std::string &des) in CopyFile() function
/base/security/selinux/test/unittest/hap_restorecon/
Dunit_test.cpp57 ASSERT_EQ(true, CopyFile(SEHAP_CONTEXTS_FILE, SEHAP_CONTEXTS_FILE + "_bk")); in GenerateTestFile()
/base/update/updater/utils/
Dutils.cpp320 bool CopyFile(const std::string &src, const std::string &dest) in CopyFile() function
/base/hiviewdfx/hidumper/frameworks/native/src/util/
Dconfig_utils.cpp780 DumpUtils::CopyFile(src, des); in CopySmaps()