Home
last modified time | relevance | path

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

/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/ndk/src/
H A Dndk_app_event_watcher_service.cpp74 int AddWatcher(struct HiAppEvent_Watcher* watcher) in AddWatcher() function
78 return ndkWatcher->AddWatcher(); in AddWatcher()
H A Dndk_app_event_watcher_proxy.cpp59 int NdkAppEventWatcherProxy::AddWatcher() in AddWatcher() function in OHOS::HiviewDFX::NdkAppEventWatcherProxy
/ohos5.0/base/startup/init/services/param/watcher/agent/
H A 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()
H A Dwatcher_manager_proxy.h31 int32_t AddWatcher(const std::string &keyPrefix, uint32_t remoteWatcherId) override;
H A Dwatcher_manager_proxy.cpp64 int32_t WatcherManagerProxy::AddWatcher(const std::string &keyPrefix, uint32_t remoteWatcherId) in AddWatcher() function in OHOS::init_param::WatcherManagerProxy
H A Dwatcher_manager_kits.h39 int32_t AddWatcher(const std::string &keyPrefix, ParameterChangePtr callback, void *context);
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
H A Dnapi_hiappevent_js_v9.cpp187 static napi_value AddWatcher(napi_env env, napi_callback_info info) in AddWatcher() function
196 return NapiHiAppEventWatch::AddWatcher(env, params[0], beginTime); in AddWatcher()
253 DECLARE_NAPI_FUNCTION("addWatcher", AddWatcher), in Init()
H A Dnapi_hiappevent_watch.cpp291 napi_value AddWatcher(const napi_env env, const napi_value watcher, uint64_t beginTime) in AddWatcher() function
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/js/napi/include/
H A Dnapi_hiappevent_watch.h26 napi_value AddWatcher(const napi_env env, const napi_value watcher, uint64_t beginTime);
/ohos5.0/base/startup/init/test/fuzztest/addwatcher_fuzzer/
H A Daddwatcher_fuzzer.cpp29 if (!watcherManager->AddWatcher(str, 0)) { in FuzzAddWatcher()
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/ndk/include/
H A Dndk_app_event_watcher_service.h36 int AddWatcher(struct HiAppEvent_Watcher* watcher);
H A Dndk_app_event_watcher_proxy.h37 int AddWatcher();
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/include/adaptor/
H A Dnotifier_impl.h28 void AddWatcher(std::string &sessionId, std::weak_ptr<JSWatcher> watcher);
/ohos5.0/base/startup/init/services/param/watcher/include/
H A Diwatcher_manager.h33 virtual int32_t AddWatcher(const std::string &keyPrefix, uint32_t remoteWatcherId) = 0;
/ohos5.0/base/startup/init/services/param/watcher/proxy/
H A Dwatcher_manager_stub.cpp42 int ret = AddWatcher(key, data.ReadUint32()); in OnRemoteRequest()
H A Dwatcher_manager.h78 int32_t AddWatcher(const std::string &keyPrefix, uint32_t remoteWatcherId) override;
H A Dwatcher_manager.cpp90 int32_t WatcherManager::AddWatcher(const std::string &keyPrefix, uint32_t remoteWatcherId) in AddWatcher() function in OHOS::init_param::WatcherManager
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/src/adaptor/
H A Dnotifier_impl.cpp42 void NotifierImpl::AddWatcher(std::string &sessionId, std::weak_ptr<JSWatcher> watcher) in AddWatcher() function in OHOS::ObjectStore::NotifierImpl
H A Djs_watcher.cpp351 NotifierImpl::GetInstance()->AddWatcher(sessionId_, watcher_); in Add()
/ohos5.0/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/
H A Dnapi_hisysevent_js.cpp120 static napi_value AddWatcher(napi_env env, napi_callback_info info) in AddWatcher() function
354 DECLARE_NAPI_FUNCTION("addWatcher", AddWatcher), in Init()
/ohos5.0/base/startup/init/test/unittest/param/
H A Dwatcher_agent_unittest.cpp244 int ret = watcherManager->AddWatcher("test.watcher.proxy", watcherId); in TestWatcherProxy()
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/ndk/
H A Dhiappevent_ndk.c321 return AddWatcher(watcher); in OH_HiAppEvent_AddWatcher()