Home
last modified time | relevance | path

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 Ddistributeddb_interfaces_nb_publish_test.cpp58 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 Dtypes_export.h86 …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 Dkv_store_nb_delegate.h34 …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 Dsqlite_single_ver_natural_store_connection.cpp1461 …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()