Searched refs:isLocalLastest (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/ |
H A D | distributeddb_interfaces_nb_publish_test.cpp | 58 void ResetCallbackArg(bool isLocalLastest = false) in ResetCallbackArg() argument 65 g_isLocalLastest = isLocalLastest; in ResetCallbackArg() 70 void ConflictCallback(const Entry &local, const Entry *sync, bool isLocalLastest) in ConflictCallback() argument 80 g_isLocalLastest = isLocalLastest; in ConflictCallback()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/include/ |
H A D | types_export.h | 86 …NbPublishAction = std::function<void (const Entry &local, const Entry *sync, bool isLocalLastest)>;
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/include/ |
H A D | kv_store_nb_delegate.h | 34 …blishOnConflict = std::function<void (const Entry &local, const Entry *sync, bool isLocalLastest)>;
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_single_ver_natural_store_connection.cpp | 1461 …bool isLocalLastest = updateTimestamp ? true : (localRecord.timestamp > syncRecord.writeTimestamp); in PublishLocalCallback() local 1463 onConflict({localRecord.key, localRecord.value}, nullptr, isLocalLastest); in PublishLocalCallback() 1466 onConflict({localRecord.key, localRecord.value}, &syncEntry, isLocalLastest); in PublishLocalCallback()
|