/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/ |
H A D | wifi_hdi_wpa_proxy_test.cpp | 66 const char *srcFilePath; in HWTEST_F() local 68 WifiErrorNo result = CopyUserFile(srcFilePath, destFilePath); in HWTEST_F() 72 result = CopyUserFile(srcFilePath, nullptr); in HWTEST_F()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_object_test/src/ |
H A D | medialibrary_object_test.cpp | 130 string srcFilePath = ""; in HWTEST_F() local 132 int32_t ret = MediaLibraryObjectUtils::RenameFileObj(cmd, srcFilePath, dstFilePath); in HWTEST_F() 134 srcFilePath = "/storage/cloud/files"; in HWTEST_F() 136 ret = MediaLibraryObjectUtils::RenameFileObj(cmd, srcFilePath, dstFilePath); in HWTEST_F() 146 ret = MediaLibraryObjectUtils::RenameFileObj(cmd, srcFilePath, dstFilePath); in HWTEST_F() 153 string srcFilePath = ""; in HWTEST_F() local 155 int32_t ret = MediaLibraryObjectUtils::RenameDirObj(cmd, srcFilePath, dstFilePath); in HWTEST_F() 158 ret = MediaLibraryObjectUtils::RenameDirObj(cmd, srcFilePath, dstFilePath); in HWTEST_F() 160 srcFilePath = "/storage/cloud/files/medialib_GetDirAsset_test_001"; in HWTEST_F() 162 ret = MediaLibraryObjectUtils::RenameDirObj(cmd, srcFilePath, dstFilePat in HWTEST_F() [all...] |
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/ |
H A D | wifi_hdi_wpa_proxy.h | 123 WifiErrorNo CopyUserFile(const char *srcFilePath, const char* destFilePath);
|
H A D | wifi_hdi_wpa_proxy.c | 510 WifiErrorNo CopyUserFile(const char *srcFilePath, const char* destFilePath)
in CopyUserFile() argument 513 if (srcFilePath == NULL || destFilePath == NULL) {
in CopyUserFile() 514 LOGE("CopyUserFile() srcFilePath or destFilePath is nullptr!");
in CopyUserFile() 520 if ((srcFd = open(srcFilePath, O_RDONLY)) < 0) {
in CopyUserFile() 521 LOGE("CopyUserFile() failed, open srcFilePath:%{public}s error!", srcFilePath);
in CopyUserFile() 536 LOGE("CopyUserFile() failed, read srcFilePath:%{public}s error!", srcFilePath);
in CopyUserFile()
|
/foundation/multimedia/ringtone_library/services/ringtone_restore/src/ |
H A D | ringtone_restore_base.cpp | 299 std::string srcFilePath = dirEntry.path(); in MoveDirectory() local 300 std::string tmpFilePath = srcFilePath; in MoveDirectory() 302 if (!MoveFile(srcFilePath, dstFilePath)) { in MoveDirectory() 303 RINGTONE_ERR_LOG("Move file from %{private}s to %{private}s failed", srcFilePath.c_str(), in MoveDirectory()
|
/foundation/graphic/graphic_2d/frameworks/bootanimation/src/ |
H A D | util.cpp | 195 bool ReadZipFile(const std::string& srcFilePath, ImageStructVec& imgVec, FrameRateConfig& frameConfig) in ReadZipFile() argument 197 unzFile zipFile = unzOpen2(srcFilePath.c_str(), nullptr); in ReadZipFile() 199 LOGE("Open zipFile fail: %{public}s", srcFilePath.c_str()); in ReadZipFile()
|
/foundation/graphic/graphic_2d/frameworks/bootanimation/include/ |
H A D | util.h | 145 bool ReadZipFile(const std::string& srcFilePath, ImageStructVec& imgVec, FrameRateConfig& frameConfig);
|
/foundation/multimedia/ringtone_library/services/utils/src/ |
H A D | ringtone_file_utils.cpp | 605 std::string srcFilePath = dirEntry.path(); in MoveDirectory() local 606 std::string tmpFilePath = srcFilePath; in MoveDirectory() 608 if (!MoveFile(srcFilePath, dstFilePath)) { in MoveDirectory()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | medialibrary_album_fusion_utils.cpp | 398 std::string srcFilePath = dirEntry.path(); in CopyDirectory() local 399 std::string tmpFilePath = srcFilePath; in CopyDirectory() 401 if (!MediaFileUtils::IsFileExists(srcFilePath) || !MediaFileUtils::IsFileValid(srcFilePath)) { in CopyDirectory() 402 MEDIA_ERR_LOG("Copy file from %{public}s failed , because of thumbnail is invalid", srcFilePath.c_str()); in CopyDirectory() 404 if (!MediaFileUtils::CopyFileUtil(srcFilePath, dstFilePath)) { in CopyDirectory() 406 srcFilePath.c_str(), dstFilePath.c_str()); in CopyDirectory()
|
H A D | medialibrary_object_utils.cpp | 638 const string &srcFilePath, const string &dstFilePath) in RenameFileObj() 640 if (srcFilePath.empty() || dstFilePath.empty()) { in RenameFileObj() 641 MEDIA_ERR_LOG("srcFilePath or dstFilePath is empty, rename failed!"); in RenameFileObj() 644 if (srcFilePath.compare(dstFilePath) == 0) { in RenameFileObj() 661 errCode = MediaFileUtils::ModifyAsset(srcFilePath, dstFilePath); in RenameFileObj() 671 (ProcessHiddenFile(dstFileName, srcFilePath) == E_SUCCESS)) { in RenameFileObj() 680 string srcAlbumPath = MediaFileUtils::GetParentPath(srcFilePath); in RenameFileObj() 637 RenameFileObj(MediaLibraryCommand &cmd, const string &srcFilePath, const string &dstFilePath) RenameFileObj() argument
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/ |
H A D | medialibrary_object_utils.h | 50 EXPORT static int32_t RenameFileObj(MediaLibraryCommand &cmd, const std::string &srcFilePath,
|
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/ |
H A D | base_restore.cpp | 600 std::string srcFilePath = dirEntry.path(); in MoveDirectory() local 601 std::string tmpFilePath = srcFilePath; in MoveDirectory() 605 opRet = this->MoveFile(srcFilePath, dstFilePath); in MoveDirectory() 607 opRet = this->CopyFile(srcFilePath, dstFilePath); in MoveDirectory() 611 BackupFileUtils::GarbleFilePath(srcFilePath, sceneCode_).c_str(), in MoveDirectory()
|