Home
last modified time | relevance | path

Searched refs:GetUpdateEntries (Results 1 - 24 of 24) sorted by relevance

/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/src/
H A Dchange_notification.cpp38 const std::vector<Entry> &ChangeNotification::GetUpdateEntries() const in GetUpdateEntries() function in OHOS::DistributedKv::ChangeNotification
H A Dikvstore_observer.cpp57 int64_t updateSize = ITypesUtil::GetTotalSize(changeNotification.GetUpdateEntries()); in OnChange()
73 !ITypesUtil::MarshalToBuffer(changeNotification.GetUpdateEntries(), updateSize, data) || in OnChange()
/foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include/
H A Dchange_notification.h50 API_EXPORT const std::vector<Entry> &GetUpdateEntries() const;
/foundation/deviceprofile/device_info_manager/services/core/src/deviceprofilemanager/listener/
H A Dkv_data_change_listener.cpp63 if (!changeNotification.GetUpdateEntries().empty() && in OnChange()
64 changeNotification.GetUpdateEntries().size() <= MAX_DB_RECORD_SIZE) { in OnChange()
65 HandleUpdateChange(changeNotification.GetUpdateEntries()); in OnChange()
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/test/unittest/
H A Dtypes_util_test.cpp113 ASSERT_EQ(changeOut.GetUpdateEntries().size(), 1UL); in HWTEST_F()
114 EXPECT_EQ(changeOut.GetUpdateEntries().front().key.ToString(), std::string("update")); in HWTEST_F()
115 EXPECT_EQ(changeOut.GetUpdateEntries().front().value.ToString(), std::string("update_value")); in HWTEST_F()
H A Dblob_test.cpp326 int64_t updateSize = ITypesUtil::GetTotalSize(changeIn.GetUpdateEntries()); in HWTEST_F()
329 ASSERT_TRUE(ITypesUtil::MarshalToBuffer(changeIn.GetUpdateEntries(), updateSize, parcel)); in HWTEST_F()
H A Dsingle_kvstore_client_test.cpp112 updateEntries_ = changeNotification.GetUpdateEntries(); in OnChange()
H A Ddevice_kvstore_test.cpp129 updateEntries_ = changeNotification.GetUpdateEntries(); in OnChange()
H A Dlocal_subscribe_store_test.cpp124 updateEntries_ = changeNotification.GetUpdateEntries(); in OnChange()
H A Dlocal_subscribe_device_store_test.cpp114 updateEntries_ = changeNotification.GetUpdateEntries(); in OnChange()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/resourcemanager/
H A Dversion_info_manager.cpp266 if (!changeNotification.GetUpdateEntries().empty() && in OnChange()
267 changeNotification.GetUpdateEntries().size() <= MAX_DB_RECORD_SIZE) { in OnChange()
269 HandleVersionUpdateChange(changeNotification.GetUpdateEntries()); in OnChange()
H A Dcapability_info_manager.cpp341 if (!changeNotification.GetUpdateEntries().empty() && in OnChange()
342 changeNotification.GetUpdateEntries().size() <= MAX_DB_RECORD_SIZE) { in OnChange()
344 HandleCapabilityUpdateChange(changeNotification.GetUpdateEntries()); in OnChange()
H A Dmeta_info_manager.cpp379 if (!changeNotification.GetUpdateEntries().empty() && in OnChange()
380 changeNotification.GetUpdateEntries().size() <= MAX_DB_RECORD_SIZE) { in OnChange()
382 HandleMetaCapabilityUpdateChange(changeNotification.GetUpdateEntries()); in OnChange()
/foundation/ability/dmsfwk/services/dtbschedmgr/src/mission/
H A Ddistributed_data_change_listener.cpp91 const vector<Entry>& updates = changeNotification.GetUpdateEntries(); in OnChange()
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/
H A Dobserver_bridge.cpp104 auto updated = ObserverBridge::ConvertDB(data.GetUpdateEntries(), deviceId, convert_); in OnChange()
H A Dkv_types_util.cpp86 return ITypesUtil::Marshal(parcel, notification.GetInsertEntries(), notification.GetUpdateEntries(), in Marshalling()
/foundation/deviceprofile/device_info_manager/old/services/core/src/subscribemanager/
H A Dprofile_change_handler.cpp80 const auto& updatedEntries = changeNotification.GetUpdateEntries(); in OnChange()
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/src/
H A Djs_kv_store.cpp649 notification.GetInsertEntries().size(), notification.GetUpdateEntries().size(), in OnChange()
H A Djs_util.cpp920 status = SetValue(env, in.GetUpdateEntries(), updateEntries, hasSchema); in SetValue()
921 CHECK_RETURN((status == napi_ok) || (updateEntries == nullptr), "GetUpdateEntries failed!", status); in SetValue()
/foundation/distributeddatamgr/kv_store/frameworks/cj/src/
H A Ddistributed_kv_store_impl.cpp401 std::vector<Entry> updateEntries = c.GetUpdateEntries(); in ChangeNotificationToCChangeNotification()
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/test/
H A Dsingle_store_impl_test.cpp48 update_ = notification.GetUpdateEntries();
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/src/
H A Djs_util.cpp990 statusMsg = SetValue(env, in.GetUpdateEntries(), updateEntries, hasSchema); in SetValue()
991 ASSERT((statusMsg.status == napi_ok) || (updateEntries == nullptr), "GetUpdateEntries failed!", statusMsg); in SetValue()
H A Djs_single_kv_store.cpp854 notification.GetInsertEntries().size(), notification.GetUpdateEntries().size(), in OnChange()
/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/jskitsimpl/distributeddata/src/
H A Djs_util.cpp954 status = SetValue(env, in.GetUpdateEntries(), updateEntries, hasSchema); in SetValue()
955 CHECK_RETURN((status == napi_ok) || (updateEntries == nullptr), "GetUpdateEntries failed!", status); in SetValue()

Completed in 32 milliseconds