Home
last modified time | relevance | path

Searched refs:changeNotification (Results 1 – 5 of 5) sorted by relevance

/base/notification/distributed_notification_service/services/distributed/src/
Ddistributed_database_callback.cpp28 … DistributedDatabaseCallback::OnChange(const DistributedKv::ChangeNotification &changeNotification) in OnChange() argument
33 const std::vector<DistributedKv::Entry> &entryList = changeNotification.GetInsertEntries(); in OnChange()
36 …callback_.OnInsert(changeNotification.GetDeviceId(), entry.key.ToString(), entry.value.ToString()); in OnChange()
41 const std::vector<DistributedKv::Entry> &entryList = changeNotification.GetUpdateEntries(); in OnChange()
44 …callback_.OnUpdate(changeNotification.GetDeviceId(), entry.key.ToString(), entry.value.ToString()); in OnChange()
49 const std::vector<DistributedKv::Entry> &entryList = changeNotification.GetDeleteEntries(); in OnChange()
52 …callback_.OnDelete(changeNotification.GetDeviceId(), entry.key.ToString(), entry.value.ToString()); in OnChange()
/base/notification/distributed_notification_service/services/distributed/test/unittest/
Ddistributed_database_callback_test.cpp83 DistributedKv::ChangeNotification changeNotification(
85 databaseCallback_->OnChange(changeNotification);
119 DistributedKv::ChangeNotification changeNotification(
121 databaseCallback_->OnChange(changeNotification);
155 DistributedKv::ChangeNotification changeNotification(
157 databaseCallback_->OnChange(changeNotification);
/base/notification/distributed_notification_service/services/distributed/include/
Ddistributed_database_callback.h49 void OnChange(const DistributedKv::ChangeNotification &changeNotification) override;
/base/msdp/device_status/services/interaction/coordination/include/
Ddevice_profile_adapter.h35 …void OnProfileChanged(const DeviceProfile::ProfileChangeNotification &changeNotification) override;
/base/msdp/device_status/services/interaction/coordination/src/
Ddevice_profile_adapter.cpp208 const ProfileChangeNotification &changeNotification) in OnProfileChanged() argument
211 std::string deviceId = changeNotification.GetDeviceId(); in OnProfileChanged()