Home
last modified time | relevance | path

Searched refs:needClean (Results 1 - 18 of 18) sorted by relevance

/foundation/filemanagement/dfs_service/interfaces/kits/js/cloudfilesync/
H A Dcloud_file_cache_napi.cpp192 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 Dcloud_file_napi.cpp271 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 Di_cloud_sync_service.h46 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 Dcloud_sync_manager.h109 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 Ddata_sync_manager.cpp77 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 Ddata_sync_manager.h52 bool needClean = false);
55 bool needClean);
/foundation/filemanagement/dfs_service/frameworks/native/cloudsync_kit_inner/include/
H A Dcloud_sync_service_proxy.h47 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 Dcloud_sync_manager_impl.h51 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 Di_cloud_sync_service_mock.h108 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 Dcloud_sync_manager_impl.cpp268 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 Dcloud_sync_service_proxy.cpp660 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 Dcloud_sync_service_proxy_lite.cpp216 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 Dcloud_sync_service.h57 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 Dcloud_sync_service_stub.cpp410 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 Dcloud_sync_service.cpp565 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 Dcloudsyncmanager_fuzzer.cpp139 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 Dcloud_sync_service_test.cpp365 bool needClean = false; in HWTEST_F() local
366 int ret = g_servicePtr_->StopDownloadFile(path, needClean); in HWTEST_F()
H A Dcloud_sync_service_stub_test.cpp48 MOCK_METHOD2(StopDownloadFile, int32_t(const std::string &path, bool needClean));
49 MOCK_METHOD2(StopFileCache, int32_t(const int64_t &downloadId, bool needClean));

Completed in 12 milliseconds