/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/clouddisk_database/ |
H A D | clouddisk_rdbstore_test.cpp | 109 info.parentCloudId = "22222"; 123 const std::string parentCloudId = ""; variable 130 info.parentCloudId = "22222"; 144 const std::string parentCloudId = "100"; variable 151 info.parentCloudId = "22222"; 173 info.parentCloudId = "22222"; 195 info.parentCloudId = "22222"; 215 info.parentCloudId = "22222"; 323 const std::string parentCloudId = ""; variable 562 std::string parentCloudId = "100"; variable [all …]
|
/ohos5.0/foundation/filemanagement/dfs_service/services/clouddisk_database/include/ |
H A D | clouddisk_rdbstore.h | 43 …int32_t LookUp(const std::string &parentCloudId, const std::string &fileName, CloudDiskFileInfo &i… 45 …int32_t SetAttr(const std::string &fileName, const std::string &parentCloudId, const std::string &… 48 int32_t MkDir(const std::string &cloudId, const std::string &parentCloudId, 50 int32_t Create(const std::string &cloudId, const std::string &parentCloudId, 52 …int32_t Write(const std::string &fileName, const std::string &parentCloudId, const std::string &cl… 56 const std::string &name = "", const std::string &parentCloudId = ""); 60 int32_t RecycleSetXattr(const std::string &name, const std::string &parentCloudId, 64 int32_t LocationSetXattr(const std::string &name, const std::string &parentCloudId, 68 const std::string &parentCloudId); 73 int32_t GetParentCloudId(const std::string &cloudId, std::string &parentCloudId); [all …]
|
H A D | clouddisk_db_const.h | 56 std::string parentCloudId; member
|
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/cloud_disk/mock/ |
H A D | clouddisk_rdbstore_mock.cpp | 60 int32_t CloudDiskRdbStore::LookUp(const std::string &parentCloudId, in LookUp() argument 71 int32_t CloudDiskRdbStore::SetAttr(const std::string &fileName, const std::string &parentCloudId, in SetAttr() argument 85 int32_t CloudDiskRdbStore::Create(const std::string &cloudId, const std::string &parentCloudId, in Create() argument 91 int32_t CloudDiskRdbStore::MkDir(const std::string &cloudId, const std::string &parentCloudId, in MkDir() argument 97 int32_t CloudDiskRdbStore::Write(const std::string &fileName, const std::string &parentCloudId, in Write() argument 117 int32_t CloudDiskRdbStore::GetParentCloudId(const std::string &cloudId, std::string &parentCloudId) in GetParentCloudId() argument 122 …t32_t CloudDiskRdbStore::RecycleSetXattr(const std::string &name, const std::string &parentCloudId, in RecycleSetXattr() argument 134 const std::string &parentCloudId) in LocationGetXattr() argument 175 const std::string &name, const std::string &parentCloudId) in SetXAttr() argument 222 int32_t CloudDiskRdbStore::GetParentNode(const std::string parentCloudId, std::string &nextCloudId, in GetParentNode() argument [all …]
|
/ohos5.0/foundation/filemanagement/dfs_service/services/clouddisk_database/src/ |
H A D | clouddisk_rdbstore.cpp | 190 if (fileName.empty() || parentCloudId.empty()) { in LookUp() 756 parentCloudId, rowId); in RecycleSetXattr() 759 parentCloudId, rowId); in RecycleSetXattr() 849 const std::string &parentCloudId) in LocationGetXattr() argument 1058 const std::string &name, const std::string &parentCloudId) in SetXAttr() argument 1115 string oldParentCloudId = oldNode.parentCloudId; in HandleRenameValue() 1117 string newParentCloudId = newNode.parentCloudId; in HandleRenameValue() 1307 if (parentCloudId.empty()) { in GetParentNode() 1312 predicates.EqualTo(FileColumn::CLOUD_ID, parentCloudId); in GetParentNode() 1336 if (parentCloudId.empty() || parentCloudId == rootId_ || parentCloudId == ROOT_CLOUD_ID) { in GetUriFromDB() [all …]
|
H A D | clouddisk_notify_utils.cpp | 165 while (tmpCacheNode.parentCloudId != rootId) { in GetUriFromCache() 166 ret = GetCacheNode(tmpCacheNode.parentCloudId, tmpCacheNode); in GetUriFromCache()
|
H A D | clouddisk_rdb_utils.cpp | 91 rowEntity.Get(FileColumn::PARENT_CLOUD_ID).GetString(info.parentCloudId); in FillFileInfo()
|
/ohos5.0/foundation/filemanagement/dfs_service/services/cloudfiledaemon/src/cloud_disk/ |
H A D | file_operations_cloud.cpp | 589 string parentCloudId = inoPtr->cloudId; in GetChildInfos() local 593 int32_t err = rdbStore->ReadDir(parentCloudId, childInfos); in GetChildInfos() 595 LOGE("Readdir failed cloudId:%{public}s err:%{public}d", parentCloudId.c_str(), err); in GetChildInfos() 764 string parentCloudId; in HandleCloudRecycle() local 769 int32_t ret = rdbStore->GetParentCloudId(inoPtr->cloudId, parentCloudId); in HandleCloudRecycle() 776 parentCloudId = parentInode->cloudId; in HandleCloudRecycle() 785 inoPtr->fileName, parentCloudId); in HandleCloudRecycle() 1276 res = rdbStore->Write(fileName, parentCloudId, inoPtr->cloudId); in UpdateCloudStore() 1312 string parentCloudId = parentInode->cloudId; in UpdateCacheDentrySize() local 1375 ret = rdbStore->Write(fileName, parentCloudId, inoPtr->cloudId); in UploadLocalFile() [all …]
|
/ohos5.0/foundation/filemanagement/dfs_service/utils/dentry/include/ |
H A D | meta_file.h | 49 …xplicit MetaFile(uint32_t userId, const std::string &bundleName, const std::string &parentCloudId); 144 const std::string &name, const std::string &parentCloudId, int64_t rowId); 146 const std::string &name, const std::string &parentCloudId, int64_t rowId);
|
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/clouddisk_database/mock/ |
H A D | clouddisk_notify_utils_mock.cpp | 146 while (tmpCacheNode.parentCloudId != rootId) { in GetUriFromCache() 147 ret = GetCacheNode(tmpCacheNode.parentCloudId, tmpCacheNode); in GetUriFromCache()
|
H A D | clouddisk_rdb_utils_mock.cpp | 59 rowEntity.Get(FileColumn::PARENT_CLOUD_ID).GetString(info.parentCloudId); in FillFileInfo()
|
H A D | meta_file_clouddisk_mock.cpp | 571 const std::string &parentCloudId, int64_t rowId) in MoveIntoRecycleDentryfile() argument 577 const std::string &name, const std::string &parentCloudId, int64_t rowId) in RemoveFromRecycleDentryfile() argument
|
/ohos5.0/foundation/filemanagement/dfs_service/interfaces/inner_api/native/cloud_file_kit_inner/ |
H A D | data_sync_const.h | 50 std::string parentCloudId; member
|
/ohos5.0/foundation/filemanagement/dfs_service/utils/inner_api/ |
H A D | cloud_file_utils.h | 26 std::string parentCloudId; member
|
/ohos5.0/foundation/filemanagement/dfs_service/utils/dentry/src/ |
H A D | meta_file_clouddisk.cpp | 700 const std::string &parentCloudId, int64_t rowId) in MoveIntoRecycleDentryfile() argument 703 …o srcMetaFile = MetaFileMgr::GetInstance().GetCloudDiskMetaFile(userId, bundleName, parentCloudId); in MoveIntoRecycleDentryfile() 729 const std::string &name, const std::string &parentCloudId, int64_t rowId) in RemoveFromRecycleDentryfile() argument 732 …o dstMetaFile = MetaFileMgr::GetInstance().GetCloudDiskMetaFile(userId, bundleName, parentCloudId); in RemoveFromRecycleDentryfile()
|
/ohos5.0/foundation/filemanagement/dfs_service/test/fuzztest/clouddisknotify_fuzzer/ |
H A D | clouddisknotify_fuzzer.cpp | 46 cacheNode.parentCloudId = fuzzData.GetStringFromData(len); in TryNotifyServiceFuzzTest()
|