Home
last modified time | relevance | path

Searched defs:destFd (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/foundation/multimedia/media_library/frameworks/native/c_api/
H A Dmedia_asset_change_request_impl.cpp565 OHOS::UniqueFd destFd(UserFileClient::OpenFile(uri, MEDIA_FILEMODE_WRITEONLY)); in CopyToMediaLibrary() local
626 int32_t MediaAssetChangeRequestImpl::CopyFileToMediaLibrary(const OHOS::UniqueFd& destFd, bool isMo… in CopyFileToMediaLibrary()
648 int32_t MediaAssetChangeRequestImpl::CopyDataBufferToMediaLibrary(const OHOS::UniqueFd& destFd, in CopyDataBufferToMediaLibrary()
682 bool MediaAssetChangeRequestImpl::SendToCacheFile(const OHOS::UniqueFd& destFd, bool isMovingPhotoV… in SendToCacheFile()
756 …_t MediaAssetChangeRequestImpl::SendFile(const OHOS::UniqueFd& srcFd, const OHOS::UniqueFd& destFd) in SendFile()
843 bool MediaAssetChangeRequestImpl::WriteCacheByArrayBuffer(const OHOS::UniqueFd& destFd, bool isMovi… in WriteCacheByArrayBuffer()
H A Dmoving_photo_impl.cpp153 int32_t destFd = MediaFileUtils::OpenFile(destPath, MEDIA_FILEMODE_READWRITE); in WriteToSandboxUri() local
167 int32_t MovingPhotoImpl::CopyFileFromMediaLibrary(int32_t srcFd, int32_t destFd) in CopyFileFromMediaLibrary()
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/media_library_asset_manager_test/src/
H A Dmedia_library_asset_manager_test.cpp272 int destFd = MediaFileUtils::OpenFile(destPath, MEDIA_FILEMODE_READWRITE); variable
320 int destFd = MediaFileUtils::OpenFile(destPath, MEDIA_FILEMODE_READWRITE); variable
368 int destFd = MediaFileUtils::OpenFile(destPath, MEDIA_FILEMODE_READWRITE); variable
440 int destFd = MediaFileUtils::OpenFile(destPath, MEDIA_FILEMODE_READWRITE); variable
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/clone/
H A Dnotification_clone_manager.cpp131 int destFd = open(BACKUP_CONFIG_FILE_PATH, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in LoadConfig() local
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/quick_fix/
H A Dquick_fix_manager_proxy.cpp236 int32_t destFd = -1; in CopyFiles() local
/ohos5.0/foundation/multimedia/media_library/frameworks/js/src/
H A Dmoving_photo_napi.cpp177 static int32_t CopyFileFromMediaLibrary(int32_t srcFd, int32_t destFd) in CopyFileFromMediaLibrary()
209 int32_t destFd = MediaFileUtils::OpenFile(destPath, MEDIA_FILEMODE_READWRITE); in WriteToSandboxUri() local
H A Dmedia_asset_change_request_napi.cpp1095 static int SavePhotoProxyImage(const UniqueFd& destFd, sptr<PhotoProxy> photoProxyPtr) in SavePhotoProxyImage()
1608 static int32_t SendFile(const UniqueFd& srcFd, const UniqueFd& destFd) in SendFile()
1636 int32_t MediaAssetChangeRequestNapi::CopyFileToMediaLibrary(const UniqueFd& destFd, bool isMovingPh… in CopyFileToMediaLibrary()
1656 int32_t MediaAssetChangeRequestNapi::CopyDataBufferToMediaLibrary(const UniqueFd& destFd, bool isMo… in CopyDataBufferToMediaLibrary()
1741 UniqueFd destFd(UserFileClient::OpenFile(uri, MEDIA_FILEMODE_WRITEONLY)); in CopyToMediaLibrary() local
1867 const UniqueFd& destFd, bool isMovingPhotoVideo = false) in WriteCacheByArrayBuffer()
1886 const UniqueFd& destFd, bool isMovingPhotoVideo = false) in SendToCacheFile()
1936 … AddPhotoProxyResourceExecute(MediaAssetChangeRequestAsyncContext& context, const UniqueFd& destFd) in AddPhotoProxyResourceExecute()
H A Dmedia_asset_manager_napi.cpp1293 int destFd = GetFdFromSandBoxUri(responseUri); in WriteDataToDestPath() local
1307 void MediaAssetManagerNapi::SendFile(napi_env env, int srcFd, int destFd, napi_value &result, off_t… in SendFile()
H A Dmedia_library_napi.cpp4311 int32_t destFd = UserFileClient::OpenFile(openFileUri, MEDIA_FILEMODE_READWRITE); in JSGetStoreMediaAssetExecute() local
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/extend_resource/
H A Dextend_resource_manager_proxy.cpp321 int32_t destFd = -1; in CopyFiles() local
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/media_library_manager_test/src/
H A Dmedia_library_manager_test.cpp272 int32_t destFd = sDataShareHelper_->OpenFile(openFileUriDest, MEDIA_FILEMODE_READWRITE); in CreateFile() local
293 int32_t destFd = mediaLibraryManager->OpenAsset(uri, MEDIA_FILEMODE_READWRITE); in CreatePhotoAsset() local
394 int32_t destFd = mediaLibraryManager->OpenAsset(uri, MEDIA_FILEMODE_READWRITE); variable
418 int32_t destFd = mediaLibraryManager->OpenAsset(uri, MEDIA_FILEMODE_READWRITE); variable
450 int32_t destFd = mediaLibraryManager->OpenAsset(uri, MEDIA_FILEMODE_READWRITE); variable
496 int32_t destFd = mediaLibraryManager->OpenAsset(uri, MEDIA_FILEMODE_READWRITE); variable
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/
H A Dmoving_photo_file_utils.cpp125 static int32_t WriteContentTofile(const UniqueFd& destFd, const UniqueFd& srcFd) in WriteContentTofile()
148 static int32_t AddStringToFile(const UniqueFd& destFd, const string& temp) in AddStringToFile()
491 UniqueFd destFd(open(absDestPath.c_str(), O_WRONLY)); in SendLivePhoto() local
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialib_statistic_test/src/
H A Dmedia_space_statistics_test.cpp325 int32_t destFd = sDataShareHelper_->OpenFile(openFileUriDest, MEDIA_FILEMODE_READWRITE); in CreateFile() local
366 int32_t destFd = sDataShareHelper_->OpenFile(openFileUriDest, MEDIA_FILEMODE_READWRITE); in CopyFile() local
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_object_test/src/
H A Dmedialibrary_object_test.cpp563 int32_t destFd = 1; variable
/ohos5.0/base/hiviewdfx/hiview/service/
H A Dhiview_service.cpp247 int destFd = open(destFilePath.c_str(), O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR | S_IROTH); in CopyFile() local
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/
H A Dwifi_hdi_wpa_proxy.c519 int destFd = -1; in CopyUserFile() local
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/src/
H A Dzip.cpp117 ZipParams::ZipParams(const std::vector<FilePath> &srcDir, int destFd) : srcDir_(srcDir), destFd_(de… in ZipParams()
/ohos5.0/foundation/multimedia/media_library/frameworks/native/media_library_asset_manager/src/
H A Dmedia_asset_manager_impl.cpp792 int destFd = GetFdFromSandBoxUri(destUri); in WriteFileToPath() local
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_object_utils.cpp1473 int32_t destFd = OpenAsset(destPath, MEDIA_FILEMODE_READWRITE, destFileId); in CopyAsset() local
1477 int32_t MediaLibraryObjectUtils::CopyAssetByFd(int32_t srcFd, int32_t srcId, int32_t destFd, int32_… in CopyAssetByFd()
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/
H A Dcopy.cpp256 auto destFd = open(dest.c_str(), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP); in CopyFile() local
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_util.cpp710 int32_t destFd = open( in CopyFileFast() local
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/config/
H A Dwifi_settings.cpp1907 int destFd = open(BACKUP_CONFIG_FILE_PATH, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in GetConfigbyBackupFile() local