Searched refs:DownloadTaskContext (Results 1 – 5 of 5) sorted by relevance
| /foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/data_sync/ |
| D | data_syncer_test.cpp | 488 shared_ptr<DownloadTaskContext> context = make_shared<DownloadTaskContext>(nullptr, 1); 513 shared_ptr<DownloadTaskContext> context = make_shared<DownloadTaskContext>(dataHandler_, 0); 537 shared_ptr<DownloadTaskContext> context = make_shared<DownloadTaskContext>(dataHandler_, 0); 561 shared_ptr<DownloadTaskContext> context = make_shared<DownloadTaskContext>(dataHandler_, 0); 609 shared_ptr<DownloadTaskContext> context = make_shared<DownloadTaskContext>(nullptr, 0); 615 … shared_ptr<DownloadTaskContext> contextErr = make_shared<DownloadTaskContext>(dataHandler_, 0); 639 … shared_ptr<DownloadTaskContext> contextErr = make_shared<DownloadTaskContext>(dataHandler_, 1); 689 shared_ptr<DownloadTaskContext> context = make_shared<DownloadTaskContext>(nullptr, 0); 695 … shared_ptr<DownloadTaskContext> contextTest = make_shared<DownloadTaskContext>(dataHandler_, 0); 739 shared_ptr<DownloadTaskContext> context = make_shared<DownloadTaskContext>(dataHandler_, 0); [all …]
|
| /foundation/filemanagement/dfs_service/services/cloudsyncservice/src/data_sync/ |
| D | data_syncer.cpp | 168 …shared_ptr<TaskContext> context = make_shared<DownloadTaskContext>(handler, handler->GetBatchNo()); in Pull() 375 int DataSyncer::HandleOnFetchRecords(const std::shared_ptr<DownloadTaskContext> context, in HandleOnFetchRecords() 429 auto ctx = static_pointer_cast<DownloadTaskContext>(context); in OnFetchRecords() 448 …shared_ptr<DownloadTaskContext> nexCtx = make_shared<DownloadTaskContext>(handler, handler->GetBat… in OnFetchRecords() 504 auto ctx = static_pointer_cast<DownloadTaskContext>(context); in OnFetchDatabaseChanges() 536 …shared_ptr<DownloadTaskContext> nexCtx = make_shared<DownloadTaskContext>(handler, handler->GetBat… in OnFetchDatabaseChanges() 562 auto ctx = static_pointer_cast<DownloadTaskContext>(context); in OnFetchCheckRecords() 577 …shared_ptr<DownloadTaskContext> nexCtx = make_shared<DownloadTaskContext>(handler, handler->GetBat… in OnFetchCheckRecords() 597 auto ctx = static_pointer_cast<DownloadTaskContext>(context); in PullRecordsWithId() 639 auto ctx = static_pointer_cast<DownloadTaskContext>(context); in OnFetchRecordWithId()
|
| /foundation/filemanagement/dfs_service/services/cloudsyncservice/include/data_sync/ |
| D | task.h | 66 class DownloadTaskContext : public TaskContext { 68 DownloadTaskContext(std::shared_ptr<DataHandler> handler, int32_t batchNo) in DownloadTaskContext() function
|
| D | data_syncer.h | 171 int HandleOnFetchRecords(const std::shared_ptr<DownloadTaskContext> context,
|
| /foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/mock/ |
| D | data_syncer_mock.cpp | 171 int DataSyncer::HandleOnFetchRecords(const std::shared_ptr<DownloadTaskContext> context, in HandleOnFetchRecords()
|