Home
last modified time | relevance | path

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

/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/src/
H A Dchange_notification.cpp33 const std::vector<Entry> &ChangeNotification::GetInsertEntries() const in GetInsertEntries() function in OHOS::DistributedKv::ChangeNotification
H A Dikvstore_observer.cpp56 int64_t insertSize = ITypesUtil::GetTotalSize(changeNotification.GetInsertEntries()); in OnChange()
72 !ITypesUtil::MarshalToBuffer(changeNotification.GetInsertEntries(), insertSize, data) || in OnChange()
/foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include/
H A Dchange_notification.h45 API_EXPORT const std::vector<Entry> &GetInsertEntries() const;
/foundation/deviceprofile/device_info_manager/services/core/src/deviceprofilemanager/listener/
H A Dkv_data_change_listener.cpp59 if (!changeNotification.GetInsertEntries().empty() && in OnChange()
60 changeNotification.GetInsertEntries().size() <= MAX_DB_RECORD_SIZE) { in OnChange()
61 HandleAddChange(changeNotification.GetInsertEntries()); in OnChange()
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/test/unittest/
H A Dtypes_util_test.cpp110 ASSERT_EQ(changeOut.GetInsertEntries().size(), 1UL); in HWTEST_F()
111 EXPECT_EQ(changeOut.GetInsertEntries().front().key.ToString(), std::string("insert")); in HWTEST_F()
112 EXPECT_EQ(changeOut.GetInsertEntries().front().value.ToString(), std::string("insert_value")); in HWTEST_F()
H A Dblob_test.cpp325 int64_t insertSize = ITypesUtil::GetTotalSize(changeIn.GetInsertEntries()); in HWTEST_F()
328 ASSERT_TRUE(ITypesUtil::MarshalToBuffer(changeIn.GetInsertEntries(), insertSize, parcel)); in HWTEST_F()
H A Dsingle_kvstore_client_test.cpp111 insertEntries_ = changeNotification.GetInsertEntries(); in OnChange()
H A Ddevice_kvstore_test.cpp128 insertEntries_ = changeNotification.GetInsertEntries(); in OnChange()
H A Dlocal_subscribe_store_test.cpp123 insertEntries_ = changeNotification.GetInsertEntries(); in OnChange()
H A Dlocal_subscribe_device_store_test.cpp113 insertEntries_ = changeNotification.GetInsertEntries(); in OnChange()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/resourcemanager/
H A Dversion_info_manager.cpp261 if (!changeNotification.GetInsertEntries().empty() && in OnChange()
262 changeNotification.GetInsertEntries().size() <= MAX_DB_RECORD_SIZE) { in OnChange()
264 HandleVersionAddChange(changeNotification.GetInsertEntries()); in OnChange()
H A Dcapability_info_manager.cpp336 if (!changeNotification.GetInsertEntries().empty() && in OnChange()
337 changeNotification.GetInsertEntries().size() <= MAX_DB_RECORD_SIZE) { in OnChange()
339 HandleCapabilityAddChange(changeNotification.GetInsertEntries()); in OnChange()
H A Dmeta_info_manager.cpp374 if (!changeNotification.GetInsertEntries().empty() && in OnChange()
375 changeNotification.GetInsertEntries().size() <= MAX_DB_RECORD_SIZE) { in OnChange()
377 HandleMetaCapabilityAddChange(changeNotification.GetInsertEntries()); in OnChange()
/foundation/ability/dmsfwk/services/dtbschedmgr/src/mission/
H A Ddistributed_data_change_listener.cpp65 const vector<Entry>& inserts = changeNotification.GetInsertEntries(); in OnChange()
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/
H A Dobserver_bridge.cpp103 auto inserted = ObserverBridge::ConvertDB(data.GetInsertEntries(), 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.cpp79 const auto& insertedEntries = changeNotification.GetInsertEntries(); 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.cpp914 status = SetValue(env, in.GetInsertEntries(), insertEntries, hasSchema); in SetValue()
915 CHECK_RETURN((status == napi_ok) || (insertEntries == nullptr), "GetInsertEntries failed!", status); in SetValue()
/foundation/distributeddatamgr/kv_store/frameworks/cj/src/
H A Ddistributed_kv_store_impl.cpp400 std::vector<Entry> insertEntries = c.GetInsertEntries(); in ChangeNotificationToCChangeNotification()
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/test/
H A Dsingle_store_impl_test.cpp47 insert_ = notification.GetInsertEntries();
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/src/
H A Djs_util.cpp984 statusMsg = SetValue(env, in.GetInsertEntries(), insertEntries, hasSchema); in SetValue()
985 ASSERT((statusMsg.status == napi_ok) || (insertEntries == nullptr), "GetInsertEntries 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.cpp948 status = SetValue(env, in.GetInsertEntries(), insertEntries, hasSchema); in SetValue()
949 CHECK_RETURN((status == napi_ok) || (insertEntries == nullptr), "GetInsertEntries failed!", status); in SetValue()

Completed in 42 milliseconds