/foundation/filemanagement/dfs_service/interfaces/kits/js/cloudfilesync/ |
H A D | cloud_file_cache_napi.cpp | 192 bool needClean = false; in StopFileCache() local 197 tie(succ, needClean) = option.ToBool(); in StopFileCache() 206 auto cbExec = [uri = string(uri.get()), env = env, needClean]() -> NError { in StopFileCache() 207 int32_t ret = CloudSyncManager::GetInstance().StopDownloadFile(uri, needClean); in StopFileCache() 288 bool needClean = false; in StopBatchFileCache() local 293 tie(succ, needClean) = option.ToBool(); in StopBatchFileCache() 303 auto cbExec = [downloadId = downloadId, needClean]() -> NError { in StopBatchFileCache() 304 int32_t ret = CloudSyncManager::GetInstance().StopFileCache(downloadId, needClean); in StopBatchFileCache()
|
H A D | cloud_file_napi.cpp | 271 bool needClean = false; in Stop() local 277 std::tie(needCleanIgnore, needClean) = NVal(env, funcArg[NARG_POS::SECOND]).ToBool(); in Stop() 281 auto cbExec = [uri = string(uri.get()), env = env, needClean]() -> NError { in Stop() 282 int32_t ret = CloudSyncManager::GetInstance().StopDownloadFile(uri, needClean); in Stop()
|
/foundation/filemanagement/dfs_service/interfaces/inner_api/native/cloudsync_kit_inner/ |
H A D | i_cloud_sync_service.h | 46 virtual int32_t StopDownloadFile(const std::string &path, bool needClean = false) = 0; 47 virtual int32_t StopFileCache(const int64_t &downloadId, bool needClean = false) = 0;
|
H A D | cloud_sync_manager.h | 109 virtual int32_t StopDownloadFile(const std::string &path, bool needClean = false) = 0; 110 virtual int32_t StopFileCache(const int64_t &downloadId, bool needClean = false) = 0;
|
/foundation/filemanagement/dfs_service/frameworks/native/cloud_file_kit_inner/src/ |
H A D | data_sync_manager.cpp | 77 bool needClean) in StopDownloadFile() 84 bool needClean) in StopFileCache() 75 StopDownloadFile(const BundleNameUserInfo &bundleNameUserInfo, const std::string path, bool needClean) StopDownloadFile() argument 82 StopFileCache(const BundleNameUserInfo &bundleNameUserInfo, const int64_t &downloadId, bool needClean) StopFileCache() argument
|
/foundation/filemanagement/dfs_service/interfaces/inner_api/native/cloud_file_kit_inner/ |
H A D | data_sync_manager.h | 52 bool needClean = false); 55 bool needClean);
|
/foundation/filemanagement/dfs_service/frameworks/native/cloudsync_kit_inner/include/ |
H A D | cloud_sync_service_proxy.h | 47 int32_t StopDownloadFile(const std::string &uri, bool needClean = false) override; 48 int32_t StopFileCache(const int64_t &downloadId, bool needClean = false) override;
|
H A D | cloud_sync_manager_impl.h | 51 int32_t StopDownloadFile(const std::string &uri, bool needClean = false) override; 52 int32_t StopFileCache(const int64_t &downloadId, bool needClean = false) override;
|
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_api/cloudsync_impl/include/ |
H A D | i_cloud_sync_service_mock.h | 108 int32_t StopDownloadFile(const std::string &path, bool needClean = false) in StopDownloadFile() 112 int32_t StopFileCache(const int64_t &downloadId, bool needClean = false) in StopFileCache()
|
/foundation/filemanagement/dfs_service/frameworks/native/cloudsync_kit_inner/src/ |
H A D | cloud_sync_manager_impl.cpp | 268 int32_t CloudSyncManagerImpl::StopDownloadFile(const std::string &uri, bool needClean) in StopDownloadFile() argument 277 int32_t ret = CloudSyncServiceProxy->StopDownloadFile(uri, needClean); in StopDownloadFile() 282 int32_t CloudSyncManagerImpl::StopFileCache(const int64_t &downloadId, bool needClean) in StopFileCache() argument 291 int32_t ret = CloudSyncServiceProxy->StopFileCache(downloadId, needClean); in StopFileCache()
|
H A D | cloud_sync_service_proxy.cpp | 660 int32_t CloudSyncServiceProxy::StopDownloadFile(const std::string &uri, bool needClean) in StopDownloadFile() argument 687 if (!data.WriteBool(needClean)) { in StopDownloadFile() 688 LOGE("Failed to send the needClean flag"); in StopDownloadFile() 709 int32_t CloudSyncServiceProxy::StopFileCache(const int64_t &downloadId, bool needClean) in StopFileCache() argument 721 LOGI("StopFileCache Start, downloadId: %{public}lld, needClean: %{public}d", in StopFileCache() 722 static_cast<long long>(downloadId), needClean); in StopFileCache() 729 if (!data.WriteBool(needClean)) { in StopFileCache() 730 LOGE("Failed to send the needClean flag"); in StopFileCache()
|
/foundation/filemanagement/dfs_service/frameworks/native/cloudsync_kit_inner_lite/src/ |
H A D | cloud_sync_service_proxy_lite.cpp | 216 int32_t CloudSyncServiceProxy::StopDownloadFile(const std::string &uri, bool needClean)
in StopDownloadFile() argument 221 int32_t CloudSyncServiceProxy::StopFileCache(const int64_t &downloadId, bool needClean)
in StopFileCache() argument
|
/foundation/filemanagement/dfs_service/services/cloudsyncservice/include/ipc/ |
H A D | cloud_sync_service.h | 57 int32_t StopDownloadFile(const std::string &path, bool needClean = false) override; 58 int32_t StopFileCache(const int64_t &downloadId, bool needClean = false) override;
|
/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/ipc/ |
H A D | cloud_sync_service_stub.cpp | 410 bool needClean = data.ReadBool(); in HandleStopDownloadFile() local 412 int32_t res = StopDownloadFile(path, needClean); in HandleStopDownloadFile() 430 bool needClean = data.ReadBool(); in HandleStopFileCache() local 432 int32_t res = StopFileCache(downloadId, needClean); in HandleStopFileCache()
|
H A D | cloud_sync_service.cpp | 565 int32_t CloudSyncService::StopDownloadFile(const std::string &path, bool needClean) in StopDownloadFile() argument 573 return dataSyncManager_->StopDownloadFile(bundleNameUserInfo, path, needClean); in StopDownloadFile() 576 int32_t CloudSyncService::StopFileCache(const int64_t &downloadId, bool needClean) in StopFileCache() argument 584 return dataSyncManager_->StopFileCache(bundleNameUserInfo, downloadId, needClean); in StopFileCache()
|
/foundation/filemanagement/dfs_service/test/fuzztest/cloudsyncmanager_fuzzer/ |
H A D | cloudsyncmanager_fuzzer.cpp | 139 bool needClean = fuzzData.GetData<bool>(); in StopDownloadFileFuzzTest() local 141 CloudSyncManager::GetInstance().StopDownloadFile(uri, needClean); in StopDownloadFileFuzzTest()
|
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/ipc/ |
H A D | cloud_sync_service_test.cpp | 365 bool needClean = false; in HWTEST_F() local 366 int ret = g_servicePtr_->StopDownloadFile(path, needClean); in HWTEST_F()
|
H A D | cloud_sync_service_stub_test.cpp | 48 MOCK_METHOD2(StopDownloadFile, int32_t(const std::string &path, bool needClean)); 49 MOCK_METHOD2(StopFileCache, int32_t(const int64_t &downloadId, bool needClean));
|