Home
last modified time | relevance | path

Searched refs:SingleVerKvSyncTaskContext (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/singlever/
H A Dsingle_ver_kv_sync_task_context.cpp19 SingleVerKvSyncTaskContext::SingleVerKvSyncTaskContext() in SingleVerKvSyncTaskContext() function in DistributedDB::SingleVerKvSyncTaskContext
23 SingleVerKvSyncTaskContext::~SingleVerKvSyncTaskContext() in ~SingleVerKvSyncTaskContext()
27 std::string SingleVerKvSyncTaskContext::GetQuerySyncId() const in GetQuerySyncId()
33 std::string SingleVerKvSyncTaskContext::GetDeleteSyncId() const in GetDeleteSyncId()
38 void SingleVerKvSyncTaskContext::SetSyncStrategy(const SyncStrategy &strategy, bool isSchemaSync) in SetSyncStrategy()
48 std::pair<bool, bool> SingleVerKvSyncTaskContext::GetSchemaSyncStatus(QuerySyncObject &querySyncObj… in GetSchemaSyncStatus()
H A Dsingle_ver_kv_sync_task_context.h22 class SingleVerKvSyncTaskContext : public SingleVerSyncTaskContext {
25 explicit SingleVerKvSyncTaskContext();
27 DISABLE_COPY_ASSIGN_MOVE(SingleVerKvSyncTaskContext);
35 ~SingleVerKvSyncTaskContext() override;
H A Dsingle_ver_sync_engine.cpp29 context = new (std::nothrow) SingleVerKvSyncTaskContext(); in CreateSyncTaskContext()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Dmock_sync_task_context.h23 class MockSyncTaskContext : public SingleVerKvSyncTaskContext {
27 return SingleVerKvSyncTaskContext::IsCurrentSyncTaskCanBeSkipped(); in CallIsCurrentSyncTaskCanBeSkipped()
32 SingleVerKvSyncTaskContext::SetMode(mode); in CallSetSyncMode()
93 return SingleVerKvSyncTaskContext::GetDeviceId(); in GetDeviceId()
103 return SingleVerKvSyncTaskContext::TimeOut(id); in CallTimeout()
H A Ddistributeddb_single_ver_msg_schedule_test.cpp69 auto *context = new SingleVerKvSyncTaskContext();
119 auto *context = new SingleVerKvSyncTaskContext();
162 auto *context = new SingleVerKvSyncTaskContext();
229 auto *context = new SingleVerKvSyncTaskContext();
288 auto *context = new SingleVerKvSyncTaskContext();
345 auto *context = new SingleVerKvSyncTaskContext();
411 auto *context = new SingleVerKvSyncTaskContext();
H A Ddistributeddb_ability_sync_test.cpp439 SingleVerSyncTaskContext *context = new (std::nothrow) SingleVerKvSyncTaskContext();
508 SingleVerSyncTaskContext *context = new (std::nothrow) SingleVerKvSyncTaskContext();
H A Dgeneric_virtual_device.cpp96 context_ = new (std::nothrow) SingleVerKvSyncTaskContext; in Initialize()
H A Ddistributeddb_time_sync_test.cpp93 g_syncTaskContext = new (std::nothrow) SingleVerKvSyncTaskContext(); in SetUp()
H A Ddistributeddb_mock_sync_module_test.cpp239 auto *context = new (std::nothrow) SingleVerKvSyncTaskContext(); in AbilitySync004()
812 auto *context = new (std::nothrow) SingleVerKvSyncTaskContext();
1193 .WillRepeatedly(Return(new (std::nothrow) SingleVerKvSyncTaskContext()));
1253 return new (std::nothrow) SingleVerKvSyncTaskContext(); in __anon34a84a721502()
H A Ddistributeddb_single_ver_p2p_complex_sync_test.cpp37 class TestSingleVerKvSyncTaskContext : public SingleVerKvSyncTaskContext {
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/
H A Dability_sync.cpp1223 (static_cast<SingleVerKvSyncTaskContext *>(context))->SetSyncStrategy(localStrategy, true); in MakeKvSyncOpinion()
1249 (static_cast<SingleVerKvSyncTaskContext *>(context))->SetSyncStrategy(localStrategy, true); in HandleKvAckSchemaParam()