Searched refs:remoteWatcher_ (Results 1 – 3 of 3) sorted by relevance
/base/startup/init/test/unittest/param/ |
D | watcher_agent_unittest.cpp | 171 if (instance.remoteWatcher_ != nullptr) { in TestRecvMessage() 172 instance.remoteWatcher_->OnRemoteRequest(IWatcher::PARAM_CHANGE, data, reply, option); in TestRecvMessage() 173 … instance.remoteWatcher_->OnRemoteRequest(IWatcher::PARAM_CHANGE + 1, data, reply, option); in TestRecvMessage() 174 instance.remoteWatcher_->OnParameterChange(name.c_str(), "testname", "testvalue"); in TestRecvMessage() 176 instance.remoteWatcher_->OnParameterChange(name.c_str(), "testname.2", "testvalue"); in TestRecvMessage() 178 instance.remoteWatcher_->OnParameterChange(name.c_str(), "testname.2", "testvalue"); in TestRecvMessage() 182 … instance.remoteWatcher_->OnParameterChange("44444444444444444444", "testname.2", "testvalue"); in TestRecvMessage()
|
/base/startup/init/services/param/watcher/agent/ |
D | watcher_manager_kits.cpp | 47 remoteWatcher_ = nullptr; in ResetService() 129 if (remoteWatcher_ != nullptr) { in GetRemoteWatcher() 134 remoteWatcher_ = new RemoteWatcher(this); in GetRemoteWatcher() 135 WATCHER_CHECK(remoteWatcher_ != nullptr, return 0, "Failed to create watcher"); in GetRemoteWatcher() 136 remoteWatcherId_ = watcherManager->AddRemoteWatcher(getpid(), remoteWatcher_); in GetRemoteWatcher() 200 remoteWatcher_ = nullptr; in DelWatcher()
|
D | watcher_manager_kits.h | 121 sptr<Watcher> remoteWatcher_ = { nullptr }; variable
|