Searched refs:isFirstDownload (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/ |
H A D | virtual_cloud_syncer.cpp | 24 int VirtualCloudSyncer::DoDownload(CloudSyncer::TaskId taskId, bool isFirstDownload) in DoDownload() argument 33 return CloudSyncer::DoDownload(taskId, isFirstDownload); in DoDownload() 36 …yncer::DoDownloadInNeed(const CloudTaskInfo &taskInfo, const bool needUpload, bool isFirstDownload) in DoDownloadInNeed() argument 45 return CloudSyncer::DoDownloadInNeed(taskInfo, needUpload, isFirstDownload); in DoDownloadInNeed()
|
H A D | virtual_cloud_syncer.h | 25 int DoDownload(TaskId taskId, bool isFirstDownload) override; 27 …int DoDownloadInNeed(const CloudTaskInfo &taskInfo, const bool needUpload, bool isFirstDownload) o…
|
H A D | cloud_syncer_test.h | 356 int CallDoDownloadInNeed(bool needUpload, bool isFirstDownload) in CallDoDownloadInNeed() argument 363 return DoDownloadInNeed(taskInfo, needUpload, isFirstDownload); in CallDoDownloadInNeed()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/cloud/ |
H A D | cloud_syncer.h | 107 bool isFirstDownload = false; member 152 const bool isFirstDownload); 158 …l int DoDownloadInNeed(const CloudTaskInfo &taskInfo, const bool needUpload, bool isFirstDownload); 162 virtual int DoDownload(CloudSyncer::TaskId taskId, bool isFirstDownload); 164 int DoDownloadInner(CloudSyncer::TaskId taskId, SyncParam ¶m, bool isFirstDownload); 232 void NotifyInDownload(CloudSyncer::TaskId taskId, SyncParam ¶m, bool isFirstDownload); 315 int DownloadOneBatch(TaskId taskId, SyncParam ¶m, bool isFirstDownload); 326 int DownloadDataFromCloud(TaskId taskId, SyncParam ¶m, bool &abort, bool isFirstDownload); 385 … PrepareAndDownload(const std::string &table, const CloudTaskInfo &taskInfo, bool isFirstDownload);
|
H A D | cloud_syncer.cpp | 246 bool isFirstDownload = true; in DoSync() local 265 isFirstDownload = false; in DoSync() 270 currentContext_.isFirstDownload = isFirstDownload; in DoSync() 357 bool isFirstDownload; in SyncMachineDoDownload() local 362 isFirstDownload = currentContext_.isFirstDownload; in SyncMachineDoDownload() 985 if (!isFirstDownload && param.downloadData.data.empty()) { in NotifyInDownload() 1127 errCode = DoDownloadInner(taskId, param, isFirstDownload); in DoDownload() 1956 (void)NotifyInDownload(taskId, param, isFirstDownload); in DownloadOneBatch() 2072 bool isFirstDownload) in DownloadDataFromCloud() argument 2089 if (ret == E_OK || isFirstDownload) { in DownloadDataFromCloud() [all …]
|
H A D | cloud_syncer_extend.cpp | 528 …::PrepareAndDownload(const std::string &table, const CloudTaskInfo &taskInfo, bool isFirstDownload) in PrepareAndDownload() argument 553 errCode = DoDownload(taskInfo.taskId, isFirstDownload); in PrepareAndDownload() 626 const bool isFirstDownload) in DoNotifyInNeed() argument 633 isNeedNotify = isFirstDownload && !currentContext_.isNeedUpload; in DoNotifyInNeed() 687 …yncer::DoDownloadInNeed(const CloudTaskInfo &taskInfo, const bool needUpload, bool isFirstDownload) in DoDownloadInNeed() argument 702 int errCode = PrepareAndDownload(table, taskInfo, isFirstDownload); in DoDownloadInNeed() 731 DoNotifyInNeed(taskInfo.taskId, needNotifyTables, isFirstDownload); in DoDownloadInNeed()
|