Home
last modified time | relevance | path

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

/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/
H A Drdb_watcher.cpp27 RdbWatcher::RdbWatcher() in RdbWatcher() function in OHOS::DistributedRdb::RdbWatcher
31 int32_t RdbWatcher::OnChange(const Origin &origin, const PRIFields &primaryFields, ChangeInfo &&val… in OnChange()
50 int32_t RdbWatcher::OnChange(const Origin &origin, const Fields &fields, ChangeData &&datas) in OnChange()
55 sptr<RdbNotifierProxy> RdbWatcher::GetNotifier() const in GetNotifier()
61 void RdbWatcher::SetNotifier(sptr<RdbNotifierProxy> notifier) in SetNotifier()
H A Drdb_watcher.h25 class RdbWatcher : public DistributedData::GeneralWatcher {
27 RdbWatcher();
H A Drdb_service_impl.h120 std::shared_ptr<RdbWatcher> watcher_ = nullptr;
122 void SetWatcher(std::shared_ptr<RdbWatcher> watcher);
H A Drdb_service_impl.cpp584 it->second.SetWatcher(std::make_shared<RdbWatcher>()); in Subscribe()
964 void RdbServiceImpl::SyncAgent::SetWatcher(std::shared_ptr<RdbWatcher> watcher) in SetWatcher()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Drdb_asset_loader_test.cpp143 HWTEST_F(RdbWatcherTest, RdbWatcher, TestSize.Level0)
148 std::shared_ptr<RdbWatcher> watcher = std::make_shared<RdbWatcher>();