Home
last modified time | relevance | path

Searched refs:srcFilePath (Results 1 – 7 of 7) sorted by relevance

/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_object_test/src/
Dmedialibrary_object_test.cpp128 string srcFilePath = ""; variable
130 int32_t ret = MediaLibraryObjectUtils::RenameFileObj(cmd, srcFilePath, dstFilePath);
132 srcFilePath = "/storage/cloud/files";
134 ret = MediaLibraryObjectUtils::RenameFileObj(cmd, srcFilePath, dstFilePath);
144 ret = MediaLibraryObjectUtils::RenameFileObj(cmd, srcFilePath, dstFilePath);
151 string srcFilePath = ""; variable
153 int32_t ret = MediaLibraryObjectUtils::RenameDirObj(cmd, srcFilePath, dstFilePath);
157 ret = MediaLibraryObjectUtils::RenameDirObj(cmd, srcFilePath, dstFilePath);
159 srcFilePath = "/storage/cloud/files/medialib_GetDirAsset_test_001";
161 ret = MediaLibraryObjectUtils::RenameDirObj(cmd, srcFilePath, dstFilePath);
[all …]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/
Dwifi_hdi_wpa_proxy.c259 WifiErrorNo CopyUserFile(const char *srcFilePath, const char* destFilePath) in CopyUserFile() argument
262 if (srcFilePath == NULL || destFilePath == NULL) { in CopyUserFile()
269 if ((srcFd = open(srcFilePath, O_RDONLY)) < 0) { in CopyUserFile()
270 LOGE("CopyUserFile() failed, open srcFilePath:%{public}s error!", srcFilePath); in CopyUserFile()
285 LOGE("CopyUserFile() failed, read srcFilePath:%{public}s error!", srcFilePath); in CopyUserFile()
Dwifi_hdi_wpa_proxy.h107 WifiErrorNo CopyUserFile(const char *srcFilePath, const char* destFilePath);
/foundation/graphic/graphic_2d/frameworks/bootanimation/src/
Dutil.cpp186 bool ReadZipFile(const std::string& srcFilePath, ImageStructVec& outBgImgVec, BootAniConfig& anicon… in ReadZipFile() argument
188 unzFile zipfile = unzOpen2(srcFilePath.c_str(), nullptr); in ReadZipFile()
190 LOGE("Open Zipfile fail: %{public}s", srcFilePath.c_str()); in ReadZipFile()
/foundation/graphic/graphic_2d/frameworks/bootanimation/include/
Dutil.h101 bool ReadZipFile(const std::string& srcFilePath, ImageStructVec& outBgImgVec, BootAniConfig& anicon…
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/
Dmedialibrary_object_utils.h50 EXPORT static int32_t RenameFileObj(MediaLibraryCommand &cmd, const std::string &srcFilePath,
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
Dmedialibrary_object_utils.cpp631 const string &srcFilePath, const string &dstFilePath) in RenameFileObj() argument
633 if (srcFilePath.empty() || dstFilePath.empty()) { in RenameFileObj()
637 if (srcFilePath.compare(dstFilePath) == 0) { in RenameFileObj()
654 errCode = MediaFileUtils::ModifyAsset(srcFilePath, dstFilePath); in RenameFileObj()
664 (ProcessHiddenFile(dstFileName, srcFilePath) == E_SUCCESS)) { in RenameFileObj()
673 string srcAlbumPath = MediaFileUtils::GetParentPath(srcFilePath); in RenameFileObj()