Home
last modified time | relevance | path

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

/base/hiviewdfx/hiappevent/frameworks/native/ndk/src/
Dndk_app_event_watcher_service.cpp74 int AddWatcher(struct HiAppEvent_Watcher* watcher) in AddWatcher() function
78 return ndkWatcher->AddWatcher(); in AddWatcher()
Dndk_app_event_watcher_proxy.cpp59 int NdkAppEventWatcherProxy::AddWatcher() in AddWatcher() function in OHOS::HiviewDFX::NdkAppEventWatcherProxy
/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/hiviewdfx/hiappevent/frameworks/native/ndk/include/
Dndk_app_event_watcher_service.h36 int AddWatcher(struct HiAppEvent_Watcher* watcher);
Dndk_app_event_watcher_proxy.h37 int AddWatcher();
/base/startup/init/services/param/watcher/include/
Diwatcher_manager.h33 virtual int32_t AddWatcher(const std::string &keyPrefix, uint32_t remoteWatcherId) = 0;
/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.cpp112 int ret = watcherManager->AddWatcher(iter->first, remoteWatcherId); in ReAddWatcher()
142 int32_t WatcherManagerKits::AddWatcher(const std::string &keyPrefix, ParameterChangePtr callback, v… in AddWatcher() function in OHOS::init_param::WatcherManagerKits
160 ret = watcherManager->AddWatcher(keyPrefix, remoteWatcherId); in AddWatcher()
339 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/hiviewdfx/hiappevent/frameworks/js/napi/src/
Dnapi_hiappevent_js_v9.cpp182 static napi_value AddWatcher(napi_env env, napi_callback_info info) in AddWatcher() function
189 return NapiHiAppEventWatch::AddWatcher(env, params[0]); in AddWatcher()
241 DECLARE_NAPI_FUNCTION("addWatcher", AddWatcher), in Init()
Dnapi_hiappevent_watch.cpp277 napi_value AddWatcher(const napi_env env, const napi_value watcher) in AddWatcher() function
/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.cpp90 int32_t WatcherManager::AddWatcher(const std::string &keyPrefix, uint32_t remoteWatcherId) in AddWatcher() function in OHOS::init_param::WatcherManager
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/
Dnapi_hisysevent_js.cpp121 static napi_value AddWatcher(napi_env env, napi_callback_info info) in AddWatcher() function
355 DECLARE_NAPI_FUNCTION("addWatcher", AddWatcher), in Init()
/base/startup/init/test/unittest/param/
Dwatcher_agent_unittest.cpp244 int ret = watcherManager->AddWatcher("test.watcher.proxy", watcherId); in TestWatcherProxy()
/base/hiviewdfx/hiappevent/frameworks/native/ndk/
Dhiappevent_ndk.c320 return AddWatcher(watcher); in OH_HiAppEvent_AddWatcher()