Home
last modified time | relevance | path

Searched refs:StartFileCache (Results 1 - 17 of 17) sorted by relevance

/foundation/filemanagement/dfs_service/interfaces/inner_api/native/cloudsync_kit_inner/
H A Dcloud_sync_manager.h107 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 Di_cloud_sync_service.h44 virtual int32_t StartFileCache(const std::vector<std::string> &pathVec,
/foundation/filemanagement/dfs_service/frameworks/native/cloudsync_kit_inner/include/
H A Dcloud_sync_manager_impl.h49 int32_t StartFileCache(const std::string &uri) override;
50 int32_t StartFileCache(const std::vector<std::string> &uriVec, int64_t &downloadId) override;
H A Dcloud_sync_service_proxy.h45 int32_t StartFileCache(const std::vector<std::string> &uriVec,
/foundation/filemanagement/dfs_service/frameworks/native/cloudsync_kit_inner/src/
H A Dcloud_sync_manager_impl.cpp229 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 Dcloud_sync_service_proxy.cpp603 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 Dcloud_file_cache_napi.cpp131 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 Dcloud_file_cache_napi.h35 static napi_value StartFileCache(napi_env env, napi_callback_info info);
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_api/cloudsync_impl/include/
H A Di_cloud_sync_service_mock.h104 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 Dcloud_sync_service_proxy_lite.cpp210 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 Dcloud_sync_service.h55 int32_t StartFileCache(const std::vector<std::string> &uriVec,
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_api/cloudsync_impl/
H A Dcloud_sync_manager_impl_test.cpp373 * @tc.desc: Verify the StartFileCache function.
382 auto res = CloudSyncManagerImpl::GetInstance().StartFileCache(uri); in HWTEST_F()
H A Dcloud_sync_service_proxy_test.cpp570 * @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 Dcloudsyncmanager_fuzzer.cpp133 CloudSyncManager::GetInstance().StartFileCache(uri); in StartFileCacheFuzzTest()
/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/ipc/
H A Dcloud_sync_service_stub.cpp391 int32_t res = StartFileCache(pathVec, downloadId); in HandleStartFileCache()
H A Dcloud_sync_service.cpp538 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 Dcloud_sync_service_stub_test.cpp47 MOCK_METHOD2(StartFileCache, int32_t(const std::vector<std::string> &pathVec, int64_t &downloadId));

Completed in 16 milliseconds