Home
last modified time | relevance | path

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

/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/
H A Drdb_watcher.cpp16 #define LOG_TAG "RdbWatcher"
27 RdbWatcher::RdbWatcher() {} in RdbWatcher() function in OHOS::DistributedRdb::RdbWatcher
29 int32_t RdbWatcher::OnChange(const Origin &origin, const PRIFields &primaryFields, ChangeInfo &&values) in OnChange()
48 int32_t RdbWatcher::OnChange(const Origin &origin, const Fields &fields, ChangeData &&datas) in OnChange()
53 sptr<RdbNotifierProxy> RdbWatcher::GetNotifier() const in GetNotifier()
59 void RdbWatcher::SetNotifier(sptr<RdbNotifierProxy> notifier) in SetNotifier()
H A Drdb_watcher.h26 class RdbWatcher : public DistributedData::GeneralWatcher { class
28 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>());
964 void RdbServiceImpl::SyncAgent::SetWatcher(std::shared_ptr<RdbWatcher> watcher)
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Drdb_asset_loader_test.cpp136 * @tc.name: RdbWatcher
137 * @tc.desc: RdbWatcher function test.
142 HWTEST_F(RdbWatcherTest, RdbWatcher, TestSize.Level0) in HWTEST_F()
147 std::shared_ptr<RdbWatcher> watcher = std::make_shared<RdbWatcher>(); in HWTEST_F()

Completed in 4 milliseconds