Home
last modified time | relevance | path

Searched refs:AddWatcher (Results 1 – 18 of 18) sorted by relevance

/base/hiviewdfx/hiappevent/test/unittest/common/native/
Dhiappevent_watcher_test.cpp145 watcherMgr->AddWatcher(watcher1);
147 watcherMgr->AddWatcher(watcher2);
149 watcherMgr->AddWatcher(watcher3);
151 watcherMgr->AddWatcher(watcher4);
153 watcherMgr->AddWatcher(watcher5);
197 watcherMgr->AddWatcher(watcher);
222 watcherMgr->AddWatcher(watcher1);
224 watcherMgr->AddWatcher(watcher2);
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
Dnapi_hiappevent_js_v9.cpp88 static napi_value AddWatcher(napi_env env, napi_callback_info info) in AddWatcher() function
95 return NapiHiAppEventWatch::AddWatcher(env, params[0]); in AddWatcher()
115 DECLARE_NAPI_FUNCTION("addWatcher", AddWatcher), in Init()
Dnapi_hiappevent_watch.cpp249 napi_value AddWatcher(const napi_env env, const napi_value watcher) in AddWatcher() function
283 AppEventWatcherMgr::GetInstance()->AddWatcher(watcherPtr); in AddWatcher()
/base/hiviewdfx/hiappevent/frameworks/js/napi/include/
Dnapi_hiappevent_watch.h26 napi_value AddWatcher(const napi_env env, const napi_value watcher);
/base/startup/init/test/fuzztest/addwatcher_fuzzer/
Daddwatcher_fuzzer.cpp29 if (!watcherManager->AddWatcher(str, 0)) { in FuzzAddWatcher()
/base/startup/init/services/param/watcher/include/
Diwatcher_manager.h33 virtual int32_t AddWatcher(const std::string &keyPrefix, uint32_t remoteWatcherId) = 0;
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/watcher/include/
Dapp_event_watcher_mgr.h31 void AddWatcher(const std::shared_ptr<AppEventWatcher>& watcher);
/base/startup/init/services/param/watcher/agent/
Dwatcher_manager_proxy.h31 int32_t AddWatcher(const std::string &keyPrefix, uint32_t remoteWatcherId) override;
Dwatcher_manager_kits.cpp111 int ret = watcherManager->AddWatcher(iter->first, remoteWatcherId); in ReAddWatcher()
141 int32_t WatcherManagerKits::AddWatcher(const std::string &keyPrefix, ParameterChangePtr callback, v… in AddWatcher() function in OHOS::init_param::WatcherManagerKits
159 ret = watcherManager->AddWatcher(keyPrefix, remoteWatcherId); in AddWatcher()
337 ret = instance.AddWatcher(keyPrefix, callback, context); in SystemWatchParameter()
Dwatcher_manager_proxy.cpp64 int32_t WatcherManagerProxy::AddWatcher(const std::string &keyPrefix, uint32_t remoteWatcherId) in AddWatcher() function in OHOS::init_param::WatcherManagerProxy
Dwatcher_manager_kits.h39 int32_t AddWatcher(const std::string &keyPrefix, ParameterChangePtr callback, void *context);
/base/startup/init/services/param/watcher/proxy/
Dwatcher_manager_stub.cpp33 int ret = AddWatcher(key, data.ReadUint32()); in OnRemoteRequest()
Dwatcher_manager.h78 int32_t AddWatcher(const std::string &keyPrefix, uint32_t remoteWatcherId) override;
Dwatcher_manager.cpp85 int32_t WatcherManager::AddWatcher(const std::string &keyPrefix, uint32_t remoteWatcherId) in AddWatcher() function in OHOS::init_param::WatcherManager
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/watcher/
Dapp_event_watcher_mgr.cpp41 void AppEventWatcherMgr::AddWatcher(const std::shared_ptr<AppEventWatcher>& watcher) in AddWatcher() function in OHOS::HiviewDFX::AppEventWatcherMgr
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/
Dnapi_hisysevent_js.cpp113 static napi_value AddWatcher(napi_env env, napi_callback_info info) in AddWatcher() function
337 DECLARE_NAPI_FUNCTION("addWatcher", AddWatcher), in Init()
/base/startup/init/test/unittest/param/
Dwatcher_agent_unittest.cpp241 int ret = watcherManager->AddWatcher("test.watcher.proxy", watcherId); in TestWatcherProxy()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/
Dlibhiappevent_base.map30 …"OHOS::HiviewDFX::AppEventWatcherMgr::AddWatcher(std::__h::shared_ptr<OHOS::HiviewDFX::AppEventWat…
77 …"OHOS::HiviewDFX::AppEventWatcherMgr::AddWatcher(std::__1::shared_ptr<OHOS::HiviewDFX::AppEventWat…