Home
last modified time | relevance | path

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

/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/
H A Dkvstore_sync_manager.cpp77 auto &syncOps = scheduleSyncOps_; in RemoveSyncOperation() local
78 for (auto it = syncOps.begin(); it != syncOps.end();) { in RemoveSyncOperation()
81 it = syncOps.erase(it); in RemoveSyncOperation()
124 …reSyncManager::GetTimeoutSyncOps(const TimePoint &currentTime, std::list<KvSyncOperation> &syncOps) in GetTimeoutSyncOps() argument
142 syncOps.push_back(op); in GetTimeoutSyncOps()
166 std::list<KvSyncOperation> syncOps; in Schedule() local
167 bool delaySchedule = GetTimeoutSyncOps(time, syncOps); in Schedule()
169 for (const auto &op : syncOps) { in Schedule()
H A Dkvstore_sync_manager.h65 bool GetTimeoutSyncOps(const TimePoint &currentTime, std::list<KvSyncOperation> &syncOps);
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dkvdb_service_test.cpp280 std::list<DistributedKv::KvStoreSyncManager::KvSyncOperation> syncOps; variable
284 auto kvStatus = syncManager.GetTimeoutSyncOps(currentTime, syncOps);
287 kvStatus = syncManager.GetTimeoutSyncOps(currentTime, syncOps);
289 syncManager.realtimeSyncingOps_ = syncOps;
291 kvStatus = syncManager.GetTimeoutSyncOps(currentTime, syncOps);
298 kvStatus = syncManager.GetTimeoutSyncOps(currentTime, syncOps);