Home
last modified time | relevance | path

Searched refs:VirtualCloudSyncer (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/
H A Dvirtual_cloud_syncer.cpp19 VirtualCloudSyncer::VirtualCloudSyncer(std::shared_ptr<StorageProxy> storageProxy) in VirtualCloudSyncer() function in DistributedDB::VirtualCloudSyncer
24 int VirtualCloudSyncer::DoDownload(CloudSyncer::TaskId taskId, bool isFirstDownload) in DoDownload()
60 void VirtualCloudSyncer::SetSyncAction(bool doDownload, bool doUpload) in SetSyncAction()
66 void VirtualCloudSyncer::SetDownloadFunc(const std::function<int()> &function) in SetDownloadFunc()
71 void VirtualCloudSyncer::SetDownloadInNeedFunc(const std::function<int()> &function) in SetDownloadInNeedFunc()
76 void VirtualCloudSyncer::SetTaskNeedUpload() in SetTaskNeedUpload()
81 void VirtualCloudSyncer::SetUploadFunc(const std::function<int()> &function) in SetUploadFunc()
86 void VirtualCloudSyncer::Notify(bool notifyIfError) in Notify()
93 size_t VirtualCloudSyncer::GetQueueCount() in GetQueueCount()
99 void VirtualCloudSyncer::SetCurrentTaskInfo(const SyncProcessCallback &callback, in SetCurrentTaskInfo()
[all …]
H A Dvirtual_cloud_syncer.h20 class VirtualCloudSyncer final : public CloudSyncer {
22 explicit VirtualCloudSyncer(std::shared_ptr<StorageProxy> storageProxy);
23 ~VirtualCloudSyncer() override = default;
H A Ddistributeddb_cloud_db_proxy_test.cpp302 auto cloudSyncer = new(std::nothrow) VirtualCloudSyncer(StorageProxy::GetCloudDb(iCloud.get()));
394 auto cloudSyncer = new(std::nothrow) VirtualCloudSyncer(StorageProxy::GetCloudDb(iCloud.get()));
637 auto cloudSyncer = new(std::nothrow) VirtualCloudSyncer(StorageProxy::GetCloudDb(iCloud.get()));
677 auto cloudSyncer = new(std::nothrow) VirtualCloudSyncer(StorageProxy::GetCloudDb(iCloud.get()));
716 auto cloudSyncer = new(std::nothrow) VirtualCloudSyncer(StorageProxy::GetCloudDb(iCloud.get()));
H A Ddistributeddb_cloud_strategy_test.cpp324 auto syncer = new(std::nothrow) VirtualCloudSyncer(nullptr);