/foundation/filemanagement/dfs_service/interfaces/inner_api/native/cloudsync_kit_inner/ |
H A D | cloud_sync_manager.h | 107 virtual int32_t StartFileCache(const std::string &path) = 0; 108 virtual int32_t StartFileCache(const std::vector<std::string> &pathVec, int64_t &downloadId) = 0;
|
H A D | i_cloud_sync_service.h | 44 virtual int32_t StartFileCache(const std::vector<std::string> &pathVec,
|
/foundation/filemanagement/dfs_service/frameworks/native/cloudsync_kit_inner/include/ |
H A D | cloud_sync_manager_impl.h | 49 int32_t StartFileCache(const std::string &uri) override; 50 int32_t StartFileCache(const std::vector<std::string> &uriVec, int64_t &downloadId) override;
|
H A D | cloud_sync_service_proxy.h | 45 int32_t StartFileCache(const std::vector<std::string> &uriVec,
|
/foundation/filemanagement/dfs_service/frameworks/native/cloudsync_kit_inner/src/ |
H A D | cloud_sync_manager_impl.cpp | 229 int32_t CloudSyncManagerImpl::StartFileCache(const std::string &uri) in StartFileCache() function in OHOS::FileManagement::CloudSync::CloudSyncManagerImpl 231 LOGI("StartFileCache start"); in StartFileCache() 241 int32_t ret = CloudSyncServiceProxy->StartFileCache(uriVec, downloadId); in StartFileCache() 242 LOGI("StartFileCache ret %{public}d", ret); in StartFileCache() 246 int32_t CloudSyncManagerImpl::StartFileCache(const std::vector<std::string> &uriVec, int64_t &downloadId) in StartFileCache() function in OHOS::FileManagement::CloudSync::CloudSyncManagerImpl 248 LOGI("StartFileCache batch start, uriVec size: %{public}zu", uriVec.size()); in StartFileCache() 250 LOGE("StartFileCache, uri list is empty"); in StartFileCache() 254 LOGE("StartFileCache, the size of uri list exceeded the maximum limit, size: %{public}zu", uriVec.size()); in StartFileCache() 263 int32_t ret = CloudSyncServiceProxy->StartFileCache(uriVec, downloadId); in StartFileCache() 264 LOGI("StartFileCache batc in StartFileCache() [all...] |
H A D | cloud_sync_service_proxy.cpp | 603 int32_t CloudSyncServiceProxy::StartFileCache(const std::vector<std::string> &uriVec, in StartFileCache() function in OHOS::FileManagement::CloudSync::CloudSyncServiceProxy 606 LOGI("StartFileCache Start"); in StartFileCache() 629 LOGI("StartFileCache Start, uriVec[%{public}ld]: %{public}s, path: %{public}s", in StartFileCache() 655 LOGI("StartFileCache Success, downloadId: %{public}lld", static_cast<long long>(downloadId)); in StartFileCache()
|
/foundation/filemanagement/dfs_service/interfaces/kits/js/cloudfilesync/ |
H A D | cloud_file_cache_napi.cpp | 131 NVal::DeclareNapiFunction("start", CloudFileCacheNapi::StartFileCache), in Export() 141 napi_value CloudFileCacheNapi::StartFileCache(napi_env env, napi_callback_info info) in StartFileCache() function in OHOS::FileManagement::CloudSync::CloudFileCacheNapi 157 int32_t ret = CloudSyncManager::GetInstance().StartFileCache(uri); in StartFileCache() 251 int32_t ret = CloudSyncManager::GetInstance().StartFileCache(fileUris->uriList, fileUris->downloadId); in StartBatchFileCache()
|
H A D | cloud_file_cache_napi.h | 35 static napi_value StartFileCache(napi_env env, napi_callback_info info);
|
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_api/cloudsync_impl/include/ |
H A D | i_cloud_sync_service_mock.h | 104 int32_t StartFileCache(const std::vector<std::string> &pathVec, int64_t &downloadId) in StartFileCache() function in OHOS::FileManagement::CloudSync::CloudSyncServiceMock
|
/foundation/filemanagement/dfs_service/frameworks/native/cloudsync_kit_inner_lite/src/ |
H A D | cloud_sync_service_proxy_lite.cpp | 210 int32_t CloudSyncServiceProxy::StartFileCache(const std::vector<std::string> &uriVec,
in StartFileCache() function in OHOS::FileManagement::CloudSync::CloudSyncServiceProxy
|
/foundation/filemanagement/dfs_service/services/cloudsyncservice/include/ipc/ |
H A D | cloud_sync_service.h | 55 int32_t StartFileCache(const std::vector<std::string> &uriVec,
|
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_api/cloudsync_impl/ |
H A D | cloud_sync_manager_impl_test.cpp | 373 * @tc.desc: Verify the StartFileCache function. 382 auto res = CloudSyncManagerImpl::GetInstance().StartFileCache(uri); in HWTEST_F()
|
H A D | cloud_sync_service_proxy_test.cpp | 570 * @tc.desc: Verify the StartFileCache function. 576 GTEST_LOG_(INFO) << "StartFileCache Start"; in HWTEST_F() 581 int result = proxy_->StartFileCache(uriVec, downloadId); in HWTEST_F() 583 GTEST_LOG_(INFO) << "StartFileCache End"; in HWTEST_F()
|
/foundation/filemanagement/dfs_service/test/fuzztest/cloudsyncmanager_fuzzer/ |
H A D | cloudsyncmanager_fuzzer.cpp | 133 CloudSyncManager::GetInstance().StartFileCache(uri); in StartFileCacheFuzzTest()
|
/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/ipc/ |
H A D | cloud_sync_service_stub.cpp | 391 int32_t res = StartFileCache(pathVec, downloadId); in HandleStartFileCache()
|
H A D | cloud_sync_service.cpp | 538 int32_t CloudSyncService::StartFileCache(const std::vector<std::string> &uriVec, in StartFileCache() function in OHOS::FileManagement::CloudSync::CloudSyncService 547 LOGI("start StartFileCache"); in StartFileCache()
|
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/ipc/ |
H A D | cloud_sync_service_stub_test.cpp | 47 MOCK_METHOD2(StartFileCache, int32_t(const std::vector<std::string> &pathVec, int64_t &downloadId));
|