Home
last modified time | relevance | path

Searched refs:syncFunc (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/
H A Dkvstore_sync_manager.cpp24 … KvStoreSyncManager::AddSyncOperation(uintptr_t syncId, uint32_t delayMs, const SyncFunc &syncFunc, in AddSyncOperation() argument
27 if (syncId == 0 || syncFunc == nullptr) { in AddSyncOperation()
40 KvSyncOperation syncOp{ syncId, opSeq, delayMs, syncFunc, endFunc, beginTime }; in AddSyncOperation()
46 auto status = syncFunc(endFunc); in AddSyncOperation()
170 op.syncFunc(op.syncEnd); in Schedule()
H A Dkvstore_sync_manager.h48 SyncFunc syncFunc; member
54 …Status AddSyncOperation(uintptr_t syncId, uint32_t delayMs, const SyncFunc &syncFunc, const SyncEn…
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dkvdb_service_test.cpp236 DistributedKv::KvStoreSyncManager::SyncFunc syncFunc = nullptr; variable
238 auto kvStatus = syncManager.AddSyncOperation(syncId, 0, syncFunc, syncEnd);
241 kvStatus = syncManager.AddSyncOperation(syncId, 0, syncFunc, syncEnd);
243 syncFunc = [](const DistributedKv::KvStoreSyncManager::SyncEnd &callback) -> Status { in __anon5631c79e0502()
249 kvStatus = syncManager.AddSyncOperation(0, 0, syncFunc, syncEnd);