Home
last modified time | relevance | path

Searched refs:SyncDirectionFlag (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/
H A Dsync_state_machine.h68 bool StartFeedDogForSync(uint32_t time, SyncDirectionFlag flag) override;
73 void StopFeedDogForSync(SyncDirectionFlag flag) override;
147 void StopFeedDogForSyncNoLock(SyncDirectionFlag flag);
149 void DecRefCountOfFeedDogTimer(SyncDirectionFlag flag);
153 void DoFeedDogForSync(SyncDirectionFlag flag);
H A Dsync_state_machine.cpp286 bool SyncStateMachine::StartFeedDogForSync(uint32_t time, SyncDirectionFlag flag) in StartFeedDogForSync()
288 if (flag != SyncDirectionFlag::SEND && flag != SyncDirectionFlag::RECEIVE) { in StartFeedDogForSync()
345 void SyncStateMachine::StopFeedDogForSync(SyncDirectionFlag flag) in StopFeedDogForSync()
347 if (flag != SyncDirectionFlag::SEND && flag != SyncDirectionFlag::RECEIVE) { in StopFeedDogForSync()
355 void SyncStateMachine::StopFeedDogForSyncNoLock(SyncDirectionFlag flag) in StopFeedDogForSyncNoLock()
357 if (flag != SyncDirectionFlag::SEND && flag != SyncDirectionFlag::RECEIVE) { in StopFeedDogForSyncNoLock()
375 void SyncStateMachine::DecRefCountOfFeedDogTimer(SyncDirectionFlag flag) in DecRefCountOfFeedDogTimer()
412 void SyncStateMachine::DoFeedDogForSync(SyncDirectionFlag flag) in DoFeedDogForSync()
H A Disync_state_machine.h58 virtual bool StartFeedDogForSync(uint32_t time, SyncDirectionFlag flag) = 0;
61 virtual void StopFeedDogForSync(SyncDirectionFlag flag) = 0;
H A Dsync_task_context.h33 enum SyncDirectionFlag { enum
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/singlever/
H A Dsingle_ver_sync_task_context.h86 bool StartFeedDogForSync(uint32_t time, SyncDirectionFlag flag);
89 void StopFeedDogForSync(SyncDirectionFlag flag);
H A Dsingle_ver_sync_task_context.cpp243 StopFeedDogForSync(SyncDirectionFlag::SEND); in Abort()
244 StopFeedDogForSync(SyncDirectionFlag::RECEIVE); in Abort()
312 bool SingleVerSyncTaskContext::StartFeedDogForSync(uint32_t time, SyncDirectionFlag flag) in StartFeedDogForSync()
317 void SingleVerSyncTaskContext::StopFeedDogForSync(SyncDirectionFlag flag) in StopFeedDogForSync()
H A Dsingle_ver_sync_state_machine.cpp648 DecRefCountOfFeedDogTimer(SyncDirectionFlag::RECEIVE); in HandleDataRequestRecv()
722 DecRefCountOfFeedDogTimer(SyncDirectionFlag::SEND); in HandleDataAckRecv()
749 StopFeedDogForSync(SyncDirectionFlag::SEND); in HandleDataAckRecv()
H A Dsingle_ver_data_sync.cpp243 startFeedDogRet = context->StartFeedDogForSync(time, SyncDirectionFlag::SEND); in Send()
251 context->StopFeedDogForSync(SyncDirectionFlag::SEND); in Send()
1212 context->StartFeedDogForSync(static_cast<uint32_t>(data), SyncDirectionFlag::RECEIVE); in AckRecv()