/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/ |
H A D | mock_change_notification.cpp | 20 ChangeNotification::ChangeNotification(std::vector<Entry> &&insertEntries, std::vector<Entry> &&upd… in ChangeNotification() function in OHOS::DistributedKv::ChangeNotification 29 ChangeNotification::~ChangeNotification() in ~ChangeNotification() 32 const std::vector<Entry> &ChangeNotification::GetInsertEntries() const in GetInsertEntries() 37 const std::vector<Entry> &ChangeNotification::GetUpdateEntries() const in GetUpdateEntries() 42 const std::vector<Entry> &ChangeNotification::GetDeleteEntries() const in GetDeleteEntries() 47 const std::string &ChangeNotification::GetDeviceId() const in GetDeviceId() 52 bool ChangeNotification::IsClear() const in IsClear() 57 bool ChangeNotification::Marshalling(Parcel &parcel) const in Marshalling()
|
H A D | mock_single_kv_store.cpp | 59 ChangeNotification change( in InsertDataToDoCallback() 76 ChangeNotification change( in UpdateDataToDoCallback() 95 ChangeNotification change( in DeleteDataToDoCallback()
|
/ohos5.0/base/notification/distributed_notification_service/services/distributed/test/unittest/mock/ |
H A D | mock_change_notification.cpp | 20 ChangeNotification::ChangeNotification(std::vector<Entry> &&insertEntries, std::vector<Entry> &&upd… in ChangeNotification() function in OHOS::DistributedKv::ChangeNotification 29 ChangeNotification::~ChangeNotification() in ~ChangeNotification() 32 const std::vector<Entry> &ChangeNotification::GetInsertEntries() const in GetInsertEntries() 37 const std::vector<Entry> &ChangeNotification::GetUpdateEntries() const in GetUpdateEntries() 42 const std::vector<Entry> &ChangeNotification::GetDeleteEntries() const in GetDeleteEntries() 47 const std::string &ChangeNotification::GetDeviceId() const in GetDeviceId() 52 bool ChangeNotification::IsClear() const in IsClear()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/src/ |
H A D | change_notification.cpp | 24 ChangeNotification::ChangeNotification(std::vector<Entry> &&insertEntries, std::vector<Entry> &&upd… in ChangeNotification() function in OHOS::DistributedKv::ChangeNotification 30 ChangeNotification::~ChangeNotification() in ~ChangeNotification() 33 const std::vector<Entry> &ChangeNotification::GetInsertEntries() const in GetInsertEntries() 38 const std::vector<Entry> &ChangeNotification::GetUpdateEntries() const in GetUpdateEntries() 43 const std::vector<Entry> &ChangeNotification::GetDeleteEntries() const in GetDeleteEntries() 48 const std::string &ChangeNotification::GetDeviceId() const in GetDeviceId() 53 bool ChangeNotification::IsClear() const in IsClear()
|
H A D | ikvstore_observer.cpp | 48 void KvStoreObserverProxy::OnChange(const ChangeNotification &changeNotification) in OnChange() 119 ChangeNotification notification({}, {}, {}, "", false); in OnRemoteRequest() 137 … ChangeNotification change(std::move(inserts), std::move(updates), std::move(deletes), deviceId, in OnRemoteRequest()
|
H A D | kvstore_observer_client.h | 33 void OnChange(const ChangeNotification &changeNotification) override;
|
H A D | kvstore_observer_client.cpp | 34 void KvStoreObserverClient::OnChange(const ChangeNotification &changeNotification) in OnChange()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include/ |
H A D | change_notification.h | 24 class ChangeNotification final { 34 …API_EXPORT ChangeNotification(std::vector<Entry> &&insertEntries, std::vector<Entry> &&updateEntri… 40 API_EXPORT ~ChangeNotification();
|
H A D | kvstore_observer.h | 50 API_EXPORT virtual void OnChange(const ChangeNotification &changeNotification) {} in OnChange()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/include/ |
H A D | kv_types_util.h | 30 using ChangeNotification = DistributedKv::ChangeNotification; variable 69 API_EXPORT bool Marshalling(const ChangeNotification ¬ification, MessageParcel &parcel); 71 API_EXPORT bool Unmarshalling(ChangeNotification &output, MessageParcel &parcel);
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/include/ |
H A D | ikvstore_observer.h | 38 virtual void OnChange(const ChangeNotification &changeNotification) = 0; 55 void OnChange(const ChangeNotification &changeNotification) override;
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/ |
H A D | observer_bridge.cpp | 88 …ChangeNotification notice(std::move(inserted), std::move(updated), std::move(deleted), deviceId, f… in OnChange() 97 void ObserverBridge::ObserverClient::OnChange(const ChangeNotification &data) in OnChange() 106 …ChangeNotification notice(std::move(inserted), std::move(updated), std::move(deleted), deviceId, f… in OnChange()
|
H A D | kv_types_util.cpp | 84 bool Marshalling(const ChangeNotification ¬ification, MessageParcel &parcel) in Marshalling() 91 bool Unmarshalling(ChangeNotification &output, MessageParcel &parcel) in Unmarshalling() 101 …output = ChangeNotification(std::move(inserts), std::move(updates), std::move(deletes), deviceId, … in Unmarshalling()
|
/ohos5.0/base/notification/distributed_notification_service/services/distributed/test/unittest/ |
H A D | distributed_database_callback_test.cpp | 83 DistributedKv::ChangeNotification changeNotification( 119 DistributedKv::ChangeNotification changeNotification( 155 DistributedKv::ChangeNotification changeNotification(
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/include/ |
H A D | js_util.h | 44 using ChangeNotification = OHOS::DistributedKv::ChangeNotification; variable 119 … static napi_status GetValue(napi_env env, napi_value in, ChangeNotification& out, bool hasSchema); 120 …static napi_status SetValue(napi_env env, const ChangeNotification& in, napi_value& out, bool hasS…
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/fuzztest/capabilityinfomanager_fuzzer/ |
H A D | capabilityinfomanager_fuzzer.cpp | 26 if ((data == nullptr) || (size <= sizeof(DistributedKv::ChangeNotification))) { in CapabilityInfoManagerFuzzTest() 47 …DistributedKv::ChangeNotification changeIn(std::move(inserts), std::move(updates), std::move(delet… in CapabilityInfoManagerFuzzTest()
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/mission/ |
H A D | distributed_mission_info_test.cpp | 160 …DistributedKv::ChangeNotification changeNotification(std::move(insertEntries), std::move(updateEnt… 174 …DistributedKv::ChangeNotification changeNotification1(std::move(insertEntries), std::move(updateEn… 210 …DistributedKv::ChangeNotification changeNotification(std::move(insertEntries), std::move(updateEnt… 461 DistributedKv::ChangeNotification changeNotification(std::move(insertEntries),
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/include/ |
H A D | js_util.h | 68 using ChangeNotification = OHOS::DistributedKv::ChangeNotification; variable 147 static StatusMsg GetValue(napi_env env, napi_value in, ChangeNotification& out, bool hasSchema); 148 …static StatusMsg SetValue(napi_env env, const ChangeNotification& in, napi_value& out, bool hasSch…
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/dbadapter/src/ |
H A D | mock_db_change_listener.cpp | 27 void MockDBChangeListener::OnChange(const DistributedKv::ChangeNotification &changeNotification) in OnChange()
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta2/ |
H A D | js-apidiff-distributed-data.md | 76 …ata | DeviceKVStore | off(event:'dataChange', listener?: Callback\<ChangeNotification>): void; | 新… 77 …| on(event: 'dataChange', type: SubscribeType, listener: Callback\<ChangeNotification>): void; | 新… 78 …ta | SingleKVStore | off(event: 'dataChange', listener?: Callback\<ChangeNotification>): void; | 新… 79 …| on(event: 'dataChange', type: SubscribeType, listener: Callback\<ChangeNotification>): void; | 新…
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/include/mission/ |
H A D | distributed_data_change_listener.h | 29 void OnChange(const DistributedKv::ChangeNotification &changeNotification) override;
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/dbadapter/include/ |
H A D | mock_db_change_listener.h | 29 void OnChange(const DistributedKv::ChangeNotification &changeNotification) override;
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/test/unittest/ |
H A D | types_util_test.cpp | 91 HWTEST_F(TypesUtilTest, ChangeNotification, TestSize.Level1) 105 …ChangeNotification changeIn(std::move(inserts), std::move(updates), std::move(deleteds), std::stri… 108 ChangeNotification changeOut({}, {}, {}, "", false);
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta2/ |
H A D | js-apidiff-distributed-data.md | 76 …ata | DeviceKVStore | off(event:'dataChange', listener?: Callback\<ChangeNotification>): void; | A… 77 …| on(event: 'dataChange', type: SubscribeType, listener: Callback\<ChangeNotification>): void; | A… 78 …ata | SingleKVStore | off(event:'dataChange', listener?: Callback\<ChangeNotification>): void; | A… 79 …| on(event: 'dataChange', type: SubscribeType, listener: Callback\<ChangeNotification>): void; | A…
|
/ohos5.0/foundation/distributeddatamgr/kv_store/test/fuzztest/typesutil_fuzzer/ |
H A D | typesutil_fuzzer.cpp | 113 …ChangeNotification changeIn(std::move(inserts), std::move(updates), std::move(deleteds), strBase, … in ChangeNotificationFuzz() 117 ChangeNotification changeOut(std::move(empty), {}, {}, "", !boolBase); in ChangeNotificationFuzz()
|