Home
last modified time | relevance | path

Searched refs:SyncInfo (Results 1 – 24 of 24) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/cloud/
H A Dsync_manager.h46 class SyncInfo final {
60 explicit SyncInfo(int32_t user, const std::string &bundleName = "", const Store &store = "",
62 SyncInfo(int32_t user, const std::string &bundleName, const Stores &stores);
63 SyncInfo(int32_t user, const std::string &bundleName, const MutliStoreTables &tables);
64 explicit SyncInfo(const Param &param);
95 int32_t DoCloudSync(SyncInfo syncInfo);
132 Task GetSyncTask(int32_t times, bool retry, RefCount ref, SyncInfo &&syncInfo);
133 void UpdateSchema(const SyncInfo &syncInfo);
136 Retryer GetRetryer(int32_t times, const SyncInfo &syncInfo, int32_t user);
139 GeneralError IsValid(SyncInfo &info, CloudInfo &cloud);
[all …]
H A Dsync_manager.cpp47 SyncManager::SyncInfo::SyncInfo( in SyncInfo() function in OHOS::CloudData::SyncManager::SyncInfo
57 SyncManager::SyncInfo::SyncInfo(int32_t user, const std::string &bundleName, const Stores &stores) in SyncInfo() function in OHOS::CloudData::SyncManager::SyncInfo
66 SyncManager::SyncInfo::SyncInfo(int32_t user, const std::string &bundleName, const MutliStoreTables… in SyncInfo() function in OHOS::CloudData::SyncManager::SyncInfo
73 SyncManager::SyncInfo::SyncInfo(const Param &param) in SyncInfo() function in OHOS::CloudData::SyncManager::SyncInfo
83 void SyncManager::SyncInfo::SetMode(int32_t mode) in SetMode()
88 void SyncManager::SyncInfo::SetWait(int32_t wait) in SetWait()
113 void SyncManager::SyncInfo::SetError(int32_t code) const in SetError()
224 int32_t SyncManager::DoCloudSync(SyncInfo syncInfo) in DoCloudSync()
280 SyncInfo &info, bool retry, const TraceIds &traceIds) in GetPostEventTask()
384 auto &detail = details[SyncInfo::DEFAULT_ID]; in GetSyncHandler()
[all …]
H A Dcloud_service_impl.cpp180 SyncManager::SyncInfo info(cloudInfo.user, bundleName); in ChangeAppSwitch()
362 … syncManager_.DoCloudSync(SyncManager::SyncInfo(user, store.bundleName, store.storeId, {}, mode)); in DoKvCloudSync()
376 syncManager_.DoCloudSync(SyncManager::SyncInfo(cloudInfo.user, bundleName)); in NotifyDataChange()
420 syncManager_.DoCloudSync(SyncManager::SyncInfo( in NotifyDataChange()
1015 SyncManager::SyncInfo info(user); in DoCloudSync()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/
H A Dkvdb_service_impl.h51 Status CloudSync(const AppId &appId, const StoreId &storeId, const SyncInfo &syncInfo) override;
52 Status Sync(const AppId &appId, const StoreId &storeId, SyncInfo &syncInfo) override;
61 …Status AddSubscribeInfo(const AppId &appId, const StoreId &storeId, const SyncInfo &syncInfo) over…
62 …Status RmvSubscribeInfo(const AppId &appId, const StoreId &storeId, const SyncInfo &syncInfo) over…
123 Status DoCloudSync(const StoreMetaData &meta, const SyncInfo &syncInfo);
125 …Status DoSync(const StoreMetaData &meta, const SyncInfo &info, const SyncEnd &complete, int32_t ty…
126 …Status DoSyncInOrder(const StoreMetaData &meta, const SyncInfo &info, const SyncEnd &complete, int…
128 const SyncInfo &info, const SyncEnd &complete, int32_t type);
129 …Status DoComplete(const StoreMetaData &meta, const SyncInfo &info, RefCount refCount, const DBResu…
H A Dkvdb_service_stub.cpp191 SyncInfo syncInfo; in OnSync()
209 SyncInfo syncInfo; in OnCloudSync()
350 SyncInfo syncInfo; in OnAddSubInfo()
368 SyncInfo syncInfo; in OnRmvSubInfo()
H A Dkvdb_service_impl.cpp226 Status KVDBServiceImpl::CloudSync(const AppId &appId, const StoreId &storeId, const SyncInfo &syncI… in CloudSync()
246 Status KVDBServiceImpl::Sync(const AppId &appId, const StoreId &storeId, SyncInfo &syncInfo) in Sync()
525 Status KVDBServiceImpl::AddSubscribeInfo(const AppId &appId, const StoreId &storeId, const SyncInfo in AddSubscribeInfo()
535 Status KVDBServiceImpl::RmvSubscribeInfo(const AppId &appId, const StoreId &storeId, const SyncInfo in RmvSubscribeInfo()
948 Status KVDBServiceImpl::DoCloudSync(const StoreMetaData &meta, const SyncInfo &syncInfo) in DoCloudSync()
994 Status KVDBServiceImpl::DoSync(const StoreMetaData &meta, const SyncInfo &info, const SyncEnd &comp… in DoSync()
1009 const StoreMetaData &meta, const SyncInfo &info, const SyncEnd &complete, int32_t type) in DoSyncInOrder()
1104 const SyncInfo &info, const SyncEnd &complete, int32_t type) in DoSyncBegin()
1156 Status KVDBServiceImpl::DoComplete(const StoreMetaData &meta, const SyncInfo &info, RefCount refCou… in DoComplete()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/include/
H A Dkvdb_service.h29 struct SyncInfo { struct
55 virtual Status Sync(const AppId &appId, const StoreId &storeId, SyncInfo &syncInfo) = 0; argument
64 …virtual Status AddSubscribeInfo(const AppId &appId, const StoreId &storeId, const SyncInfo &syncIn…
65 …virtual Status RmvSubscribeInfo(const AppId &appId, const StoreId &storeId, const SyncInfo &syncIn…
70 …virtual Status CloudSync(const AppId &appId, const StoreId &storeId, const SyncInfo &syncInfo) = 0;
H A Dkvdb_service_client.h39 Status Sync(const AppId &appId, const StoreId &storeId, SyncInfo &syncInfo) override;
48 …Status AddSubscribeInfo(const AppId &appId, const StoreId &storeId, const SyncInfo &syncInfo) over…
49 …Status RmvSubscribeInfo(const AppId &appId, const StoreId &storeId, const SyncInfo &syncInfo) over…
54 Status CloudSync(const AppId &appId, const StoreId &storeId, const SyncInfo &syncInfo) override;
H A Dsingle_store_impl.h45 using SyncInfo = KVDBService::SyncInfo; variable
129 Status DoSync(SyncInfo &syncInfo, std::shared_ptr<SyncCallback> observer);
130 Status DoClientSync(SyncInfo &syncInfo, std::shared_ptr<SyncCallback> observer);
/ohos5.0/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/include/
H A Dkvdb_service.h26 struct SyncInfo { struct
43 virtual Status Sync(const AppId &appId, const StoreId &storeId, const SyncInfo &syncInfo) = 0; argument
51 …virtual Status AddSubscribeInfo(const AppId &appId, const StoreId &storeId, const SyncInfo &syncIn…
52 …virtual Status RmvSubscribeInfo(const AppId &appId, const StoreId &storeId, const SyncInfo &syncIn…
H A Dsingle_store_impl.h36 using SyncInfo = KVDBService::SyncInfo; variable
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/include/
H A Drelational_store_connection.h34 struct SyncInfo { struct
52 virtual int SyncToDevice(SyncInfo &info) = 0; argument
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dkvdb_service_impl_test.cpp48 using SyncInfo = OHOS::DistributedKv::KVDBService::SyncInfo; typedef
161 SyncInfo syncInfo;
267 SyncInfo syncInfo;
409 SyncInfo syncInfo;
427 SyncInfo syncInfo;
663 SyncInfo syncInfo;
H A Dcloud_data_test.cpp1439 CloudData::SyncManager::SyncInfo info(user);
1470 CloudData::SyncManager::SyncInfo info(user);
1490 CloudData::SyncManager::SyncInfo info(user);
1514 CloudData::SyncManager::SyncInfo info(user);
1570 CloudData::SyncManager::SyncInfo info(cloudInfo_.user);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/
H A Dkvdb_service_client.cpp167 Status KVDBServiceClient::Sync(const AppId &appId, const StoreId &storeId, SyncInfo &syncInfo) in Sync()
179 Status KVDBServiceClient::CloudSync(const AppId &appId, const StoreId &storeId, const SyncInfo &syn… in CloudSync()
289 …rviceClient::AddSubscribeInfo(const AppId &appId, const StoreId &storeId, const SyncInfo &syncInfo) in AddSubscribeInfo()
302 …rviceClient::RmvSubscribeInfo(const AppId &appId, const StoreId &storeId, const SyncInfo &syncInfo) in RmvSubscribeInfo()
H A Dsingle_store_impl.cpp580 KVDBService::SyncInfo syncInfo; in Sync()
592 KVDBService::SyncInfo syncInfo; in Sync()
614 KVDBService::SyncInfo syncInfo; in CloudSync()
694 SyncInfo syncInfo; in SubscribeWithQuery()
716 SyncInfo syncInfo; in UnsubscribeWithQuery()
916 Status SingleStoreImpl::DoClientSync(SyncInfo &syncInfo, std::shared_ptr<SyncCallback> observer) in DoClientSync()
937 Status SingleStoreImpl::DoSync(SyncInfo &syncInfo, std::shared_ptr<SyncCallback> observer) in DoSync()
H A Dauto_sync_timer_mock.cpp109 KVDBService::SyncInfo syncInfo; in ProcessTask()
H A Dauto_sync_timer.cpp109 KVDBService::SyncInfo syncInfo; in ProcessTask()
/ohos5.0/foundation/multimedia/media_lite/services/player_lite/impl/player_control/sink/
H A Dplayer_sink_manager.h31 struct SyncInfo { struct
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dsqlite_relational_store_connection.h37 int SyncToDevice(SyncInfo &info) override;
H A Dsqlite_relational_store_connection.cpp230 int SQLiteRelationalStoreConnection::SyncToDevice(SyncInfo &info) in SyncToDevice()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/relational/
H A Drelational_store_delegate_impl.cpp121 RelationalStoreConnection::SyncInfo syncInfo{devices, mode, in Sync()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkdata/
H A Djs-apis-data-cloudData-sys.md91 ## SyncInfo<sup>12+</sup>
730 …Info(accountId: string, bundleName: string, storeId?: string): Promise&lt;Record<string, SyncInfo>>
750 | Promise&lt;Record&lt;string, [SyncInfo](#syncinfo12)&gt;&gt; | 返回数据库名以及上一次端云同步的信息结果集。 |
/ohos5.0/docs/en/application-dev/reference/apis-arkdata/
H A Djs-apis-data-cloudData-sys.md91 ## SyncInfo<sup>12+</sup>
730 …Info(accountId: string, bundleName: string, storeId?: string): Promise&lt;Record<string, SyncInfo>>
750 | Promise&lt;Record&lt;string, [SyncInfo](#syncinfo12)&gt;&gt; | Promise used to return the databas…