Home
last modified time | relevance | path

Searched refs:watcher (Results 1 – 25 of 194) sorted by relevance

12345678

/ohos5.0/base/startup/init/interfaces/kits/jskits/src/
H A Dnative_parameters_watch.cpp63 ParamWatcher *watcher;
311 env, thisVar, watcher, in ParamWatchConstructor()
314 if (watcher) { in ParamWatchConstructor()
317 delete watcher; in ParamWatchConstructor()
344 if (watcher != nullptr) { in GetWatcher()
349 ret = WatchParameter(watcher->keyPrefix, nullptr, watcher); in GetWatcher()
380 return watcher; in GetWatcherInfo()
420 status = napi_get_reference_value(watcher->env, watcher->thisVarRef, &thisVar); in HandleParameterChange()
445 change->watcher = watcher; in ProcessParamChange()
463 worker->watcher = watcher; in WatchCallbackWork()
[all …]
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/ndk/src/
H A Dndk_app_event_watcher_service.cpp48 CHECK_WATCHER_PTR_AND_RETURN(watcher, ErrorCode::ERROR_INVALID_WATCHER) in SetAppEventFilter()
49 auto ndkWatcher = reinterpret_cast<NdkAppEventWatcherProxy *>(watcher); in SetAppEventFilter()
56 auto ndkWatcher = reinterpret_cast<NdkAppEventWatcherProxy *>(watcher); in SetTriggerCondition()
62 CHECK_WATCHER_PTR_AND_RETURN(watcher, ErrorCode::ERROR_INVALID_WATCHER) in SetWatcherOnTrigger()
63 auto ndkWatcher = reinterpret_cast<NdkAppEventWatcherProxy *>(watcher); in SetWatcherOnTrigger()
69 CHECK_WATCHER_PTR_AND_RETURN(watcher, ErrorCode::ERROR_INVALID_WATCHER) in SetWatcherOnReceiver()
70 auto ndkWatcher = reinterpret_cast<NdkAppEventWatcherProxy *>(watcher); in SetWatcherOnReceiver()
74 int AddWatcher(struct HiAppEvent_Watcher* watcher) in AddWatcher() argument
87 int RemoveWatcher(struct HiAppEvent_Watcher *watcher) in RemoveWatcher() argument
93 void DestroyWatcher(struct HiAppEvent_Watcher* watcher) in DestroyWatcher() argument
[all …]
/ohos5.0/base/hiviewdfx/hisysevent/test/moduletest/common/
H A Dhisysevent_wrote_result_check_test.cpp152 WriteAndWatchEvent(watcher, val);
173 WriteAndWatchEvent(watcher, val);
194 WriteAndWatchEvent(watcher, val);
214 WriteAndWatchEvent(watcher, val);
235 WriteAndWatchEvent(watcher, val);
261 WriteAndWatchEvent(watcher, val);
287 WriteAndWatchEvent(watcher, val);
313 WriteAndWatchEvent(watcher, val);
337 WriteAndWatchEvent(watcher, val);
363 WriteAndWatchEvent(watcher, val);
[all …]
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/packages/runtime-core/src/__test__/
H A Dindex.test.js67 const watcher = vm.$watch(
72 watcher.unsubscribe();
89 const watcher = vm.$watch(
111 const watcher = vm.$watch(
130 const watcher = vm.$watch(
148 const watcher = vm.$watch(
166 const watcher = vm.$watch(
184 const watcher = vm.$watch(
202 const watcher = vm.$watch(
244 const watcher = vm.$watch(
[all …]
/ohos5.0/base/hiviewdfx/hisysevent/frameworks/native/c_wrapper/source/
H A Dhisysevent_rust_manager.cpp87 if (watcher == nullptr || watcher->status != STATUS_NORMAL) { in HiSysEventAddWatcher()
103 …g_baseWatchers[std::make_pair(watcher->onEventRustCb, watcher->onServiceDiedRustCb)] = baseListene… in HiSysEventAddWatcher()
107 … g_watchers[std::make_pair(watcher->onEventRustCb, watcher->onServiceDiedRustCb)] = listenerRust; in HiSysEventAddWatcher()
112 int HiSysEventRemoveWatcher(HiSysEventRustWatcherC* watcher) in HiSysEventRemoveWatcher() argument
114 if (watcher == nullptr || watcher->status != STATUS_NORMAL) { in HiSysEventRemoveWatcher()
117 auto watcherKey = std::make_pair(watcher->onEventRustCb, watcher->onServiceDiedRustCb); in HiSysEventRemoveWatcher()
135 if (watcher == nullptr) { in HiSysEventRecycleWatcher()
138 auto watcherKey = std::make_pair(watcher->onEventRustCb, watcher->onServiceDiedRustCb); in HiSysEventRecycleWatcher()
145 listener->RecycleWatcher(watcher); in HiSysEventRecycleWatcher()
186 return HiSysEventRemoveWatcher(watcher); in OhHiSysEventRemoveRustWatcher()
[all …]
H A Dhisysevent_rust_listener.cpp31 HiSysEventRustListener::HiSysEventRustListener(HiSysEventRustWatcherC* watcher) in HiSysEventRustListener() argument
32 : watcher_(watcher) in HiSysEventRustListener()
62 void HiSysEventRustListener::RecycleWatcher(HiSysEventRustWatcherC* watcher) in RecycleWatcher() argument
65 if ((watcher == nullptr) || (watcher->status == STATUS_MEM_FREED)) { in RecycleWatcher()
68 if (watcher->status == STATUS_MEM_NEED_RECYCLE) { in RecycleWatcher()
69 watcher->status = STATUS_MEM_FREED; in RecycleWatcher()
70 delete watcher; in RecycleWatcher()
73 watcher->status = STATUS_MEM_NEED_RECYCLE; in RecycleWatcher()
H A Dhisysevent_c_wrapper.cpp110 return OhHiSysEventAddRustWatcher(watcher, rules, ruleSize); in HiSysEventAddWatcherWrapper()
113 int HiSysEventRemoveWatcherWrapper(HiSysEventRustWatcherC* watcher) in HiSysEventRemoveWatcherWrapper() argument
115 return OhHiSysEventRemoveRustWatcher(watcher); in HiSysEventRemoveWatcherWrapper()
145 watcher->onEventRustCb = onEventRustCb; in CreateRustEventWatcher()
146 watcher->onEventWrapperCb = onEventWrapperCb; in CreateRustEventWatcher()
147 watcher->onServiceDiedRustCb = onServiceDiedRustCb; in CreateRustEventWatcher()
148 watcher->onServiceDiedWrapperCb = onServiceDiedWrapperCb; in CreateRustEventWatcher()
149 watcher->status = STATUS_NORMAL; in CreateRustEventWatcher()
150 return watcher; in CreateRustEventWatcher()
153 void RecycleRustEventWatcher(HiSysEventRustWatcherC* watcher) in RecycleRustEventWatcher() argument
[all …]
/ohos5.0/docs/zh-cn/application-dev/dfx/
H A DReadme-CN.md11 - [订阅应用事件(ArkTS)](hiappevent-watcher-app-events-arkts.md)
12 - [订阅应用事件(C/C++)](hiappevent-watcher-app-events-ndk.md)
15 - [崩溃事件介绍](hiappevent-watcher-crash-events.md)
16 - [订阅崩溃事件(ArkTS)](hiappevent-watcher-crash-events-arkts.md)
17 - [订阅崩溃事件(C/C++)](hiappevent-watcher-crash-events-ndk.md)
19 - [卡死事件介绍](hiappevent-watcher-freeze-events.md)
20 - [订阅卡死事件(ArkTS)](hiappevent-watcher-freeze-events-arkts.md)
21 - [订阅卡死事件(C/C++)](hiappevent-watcher-freeze-events-ndk.md)
23 - [资源泄漏事件介绍](hiappevent-watcher-resourceleak-events.md)
27 - [踩内存事件介绍](hiappevent-watcher-address-sanitizer-events.md)
[all …]
/ohos5.0/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/
H A Dhisysevent_manager_c.cpp63 int HiSysEventAddWatcher(HiSysEventWatcher& watcher, HiSysEventWatchRule rules[], size_t ruleSize) in HiSysEventAddWatcher() argument
71 std::make_shared<HiSysEventListenerC>(watcher.OnEvent, watcher.OnServiceDied)); in HiSysEventAddWatcher()
76 watchers[std::make_pair(watcher.OnEvent, watcher.OnServiceDied)] = listenerC; in HiSysEventAddWatcher()
80 int HiSysEventRemoveWatcher(HiSysEventWatcher& watcher) in HiSysEventRemoveWatcher() argument
82 auto watcherKey = std::make_pair(watcher.OnEvent, watcher.OnServiceDied); in HiSysEventRemoveWatcher()
112 int OH_HiSysEvent_Add_Watcher(HiSysEventWatcher* watcher, HiSysEventWatchRule rules[], size_t ruleS… in OH_HiSysEvent_Add_Watcher() argument
114 if (watcher == nullptr || watcher->OnEvent == nullptr || watcher->OnServiceDied == nullptr) { in OH_HiSysEvent_Add_Watcher()
117 return HiSysEventAddWatcher(*watcher, rules, ruleSize); in OH_HiSysEvent_Add_Watcher()
120 int OH_HiSysEvent_Remove_Watcher(HiSysEventWatcher* watcher) in OH_HiSysEvent_Remove_Watcher() argument
122 if (watcher == nullptr || watcher->OnEvent == nullptr || watcher->OnServiceDied == nullptr) { in OH_HiSysEvent_Remove_Watcher()
[all …]
/ohos5.0/base/inputmethod/imf/test/unittest/cpp_test/src/
H A Dinput_method_dfx_test.cpp173 std::unique_lock<std::mutex> lock(watcher->cvMutex_); in WriteAndWatch()
196 std::unique_lock<std::mutex> lock(watcher->cvMutexImeChange_); in WriteAndWatchImeChange()
310 auto watcher = std::make_shared<Watcher>( variable
313 EXPECT_TRUE(InputMethodDfxTest::WriteAndWatch(watcher, attach));
354 auto watcher = std::make_shared<Watcher>( variable
368 auto watcher = std::make_shared<Watcher>( variable
382 auto watcher = std::make_shared<Watcher>( variable
396 auto watcher = std::make_shared<Watcher>( variable
410 auto watcher = std::make_shared<Watcher>( variable
424 auto watcher = std::make_shared<Watcher>( variable
[all …]
/ohos5.0/docs/en/application-dev/dfx/
H A DReadme-EN.md11 - [Subscribing to Application Events (ArkTS)](hiappevent-watcher-app-events-arkts.md)
12 - [Subscribing to Application Events (C/C++)](hiappevent-watcher-app-events-ndk.md)
15 - [Crash Event Overview](hiappevent-watcher-crash-events.md)
16 - [Subscribing to Crash Events (ArkTS)](hiappevent-watcher-crash-events-arkts.md)
17 - [Subscribing to Crash Events (C/C++)](hiappevent-watcher-crash-events-ndk.md)
19 - [Freeze Event Overview](hiappevent-watcher-freeze-events.md)
20 - [Subscribing to Freeze Events (ArkTS)](hiappevent-watcher-freeze-events-arkts.md)
21 - [Subscribing to Freeze Events (C/C++)](hiappevent-watcher-freeze-events-ndk.md)
23 - [Resource Leak Event Overview](hiappevent-watcher-resourceleak-events.md)
27 - [Address Sanitizer Event Overview](hiappevent-watcher-address-sanitizer-events.md)
[all …]
H A Dhiappevent-watcher-app-events-ndk.md18 | int OH_HiAppEvent_AddWatcher (HiAppEvent_Watcher \*watcher) | Adds a watcher to listen for appli…
19 | int OH_HiAppEvent_RemoveWatcher (HiAppEvent_Watcher \*watcher) | Removes a watcher to unsubscribe…
98 // Set the watcher name. The system identifies different watchers based on their names.
106 // Add a watcher to listen for the specified event.
117 // Define a variable to cache the pointer to the created watcher.
158 // Add a watcher to listen for the specified event.
204 // Register the application event watcher at startup.
227 10. Remove the application event watcher.
231 // Remove the watcher.
237 11. Destroy the application event watcher.
[all …]
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/ndk/include/
H A Dndk_app_event_watcher_service.h28 int SetAppEventFilter(struct HiAppEvent_Watcher* watcher, const char* domain, uint8_t eventTypes,
31 int SetTriggerCondition(struct HiAppEvent_Watcher* watcher, int row, int size, int timeOut);
33 int SetWatcherOnTrigger(struct HiAppEvent_Watcher* watcher, OH_HiAppEvent_OnTrigger onTrigger);
35 int SetWatcherOnReceiver(struct HiAppEvent_Watcher* watcher, OH_HiAppEvent_OnReceive onReceiver);
36 int AddWatcher(struct HiAppEvent_Watcher* watcher);
37 int TakeWatcherData(struct HiAppEvent_Watcher* watcher, uint32_t size, OH_HiAppEvent_OnTake onTake);
38 int RemoveWatcher(struct HiAppEvent_Watcher *watcher);
39 void DestroyWatcher(struct HiAppEvent_Watcher* watcher);
/ohos5.0/base/startup/init/services/loopevent/task/
H A Dle_watchtask.c29 WatcherTask *watcher = (WatcherTask *)taskHandle; in HandleWatcherEvent_() local
33 if (watcher->processEvent != NULL) { in HandleWatcherEvent_()
34 watcher->processEvent(taskHandle, fd, &events, (void *)userData); in HandleWatcherEvent_()
36 watcher = (WatcherTask *)GetTaskByFd((EventLoop *)loopHandle, fd); in HandleWatcherEvent_()
37 LE_ONLY_CHECK(watcher != NULL, return 0); in HandleWatcherEvent_()
38 if (watcher->base.flags & WATCHER_ONCE) { in HandleWatcherEvent_()
39 HandleWatcherTaskClose_((LoopHandle)loop, (TaskHandle)watcher); in HandleWatcherEvent_()
43 HandleWatcherTaskClose_((LoopHandle)loop, (TaskHandle)watcher); in HandleWatcherEvent_()
46 if (events != watcher->events) { in HandleWatcherEvent_()
47 watcher->events = events; in HandleWatcherEvent_()
[all …]
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
H A Dnapi_hiappevent_watch.cpp176 bool IsValidWatcher(const napi_env env, const napi_value watcher, int& errCode) in IsValidWatcher() argument
178 if (!NapiUtil::IsObject(env, watcher)) { in IsValidWatcher()
198 std::string GetName(const napi_env env, const napi_value watcher) in GetName() argument
203 TriggerCondition GetCondition(const napi_env env, const napi_value watcher) in GetCondition() argument
210 napi_value cond = NapiUtil::GetProperty(env, watcher, COND_PROPERTY); in GetCondition()
294 if (!IsValidWatcher(env, watcher, errCode)) { in AddWatcher()
302 GetFilters(env, watcher, filters); in AddWatcher()
303 std::string name = GetName(env, watcher); in AddWatcher()
304 TriggerCondition cond = GetCondition(env, watcher); in AddWatcher()
308 napi_value trigger = NapiUtil::GetProperty(env, watcher, TRIGGER_PROPERTY); in AddWatcher()
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Ddistributeddb_thread_pool_test.cpp112 ASSERT_NE(watcher, nullptr); in MockSchedule()
114 WillRepeatedly([watcher, &taskId](const Task &task, Duration time) { in MockSchedule()
115 watcher->AddCount(); in MockSchedule()
116 std::thread workingThread = std::thread([task, time, watcher]() { in MockSchedule()
119 watcher->DecCount(); in MockSchedule()
244 watcher->SafeExit();
275 watcher->SafeExit();
305 watcher->SafeExit();
345 watcher->SafeExit();
385 watcher->SafeExit();
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-performance-analysis-kit/
H A D_hi_app_event.md816 int OH_HiAppEvent_AddWatcher (HiAppEvent_Watcher * watcher)
829 | watcher | 指向监听器的指针(即OH_HiAppEvent_CreateWatcher接口返回的指针)。 |
833 0:接口调用成功;-5:watcher入参空指针。
948 | watcher | 指向监听器的指针(即OH_HiAppEvent_CreateWatcher接口返回的指针)。 |
954 int OH_HiAppEvent_RemoveWatcher (HiAppEvent_Watcher * watcher)
969 | watcher | 指向监听器的指针(即OH_HiAppEvent_CreateWatcher接口返回的指针)。 |
994 | watcher | 指向监听器的指针(即OH_HiAppEvent_CreateWatcher接口返回的指针)。 |
1002 0:接口调用成功;-1:names参数异常;-4:domain参数异常;-5:watcher入参空指针。
1028 0:接口调用成功;-5:watcher入参空指针。
1052 0:接口调用成功;-5:watcher入参空指针。
[all …]
/ohos5.0/base/hiviewdfx/hisysevent/frameworks/native/test/unittest/common/
H A Dhisysevent_c_wrapper_test.cpp162 watchRet = HiSysEventRemoveWatcherWrapper(watcher);
164 watchRet = HiSysEventRemoveWatcherWrapper(watcher);
166 RecycleRustEventWatcher(watcher);
254 HiSysEventRustWatcherC* watcher = nullptr; variable
255 HiSysEventRustListener listerner1(watcher);
258 ASSERT_TRUE(watcher == nullptr);
261 HiSysEventRustListener listerner2(watcher);
263 ASSERT_TRUE(watcher != nullptr);
309 ASSERT_TRUE(watcher == nullptr);
315 watchRet = HiSysEventRemoveWatcherWrapper(watcher);
[all …]
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/base/
H A Dlazy_load_manager.cpp63 void LazyLoadManager::RenderSingleLazyWatcher(const LazyLoadWatcher &watcher) const in RenderSingleLazyWatcher()
65 jerry_value_t attrName = watcher.GetAttrName(); in RenderSingleLazyWatcher()
66 jerry_value_t attrGetter = watcher.GetAttrGetter(); in RenderSingleLazyWatcher()
67 uint16_t attrKeyID = watcher.GetKeyId(); in RenderSingleLazyWatcher()
68 … Component *component = ComponentUtils::GetComponentFromBindingObject(watcher.GetNativeElement()); in RenderSingleLazyWatcher()
103 LazyLoadWatcher *watcher = new LazyLoadWatcher(nativeElement, attrName, getter, keyId); in AddLazyLoadWatcher() local
104 if (watcher == nullptr) { in AddLazyLoadWatcher()
108 lazyWatchersList_.PushBack(watcher); in AddLazyLoadWatcher()
/ohos5.0/base/hiviewdfx/hiappevent/interfaces/native/kits/include/hiappevent/
H A Dhiappevent.h472 void OH_HiAppEvent_DestroyWatcher(HiAppEvent_Watcher* watcher);
489 int OH_HiAppEvent_SetTriggerCondition(HiAppEvent_Watcher* watcher, int row, int size, int timeOut);
506 int OH_HiAppEvent_SetAppEventFilter(HiAppEvent_Watcher* watcher, const char* domain, uint8_t eventT…
522 int OH_HiAppEvent_SetWatcherOnTrigger(HiAppEvent_Watcher* watcher, OH_HiAppEvent_OnTrigger onTrigge…
536 int OH_HiAppEvent_SetWatcherOnReceive(HiAppEvent_Watcher* watcher, OH_HiAppEvent_OnReceive onReceiv…
550 int OH_HiAppEvent_TakeWatcherData(HiAppEvent_Watcher* watcher, uint32_t eventNum, OH_HiAppEvent_OnT…
562 int OH_HiAppEvent_AddWatcher(HiAppEvent_Watcher* watcher);
574 int OH_HiAppEvent_RemoveWatcher(HiAppEvent_Watcher* watcher);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/src/
H A Dkvstore_service_death_notifier.cpp107 …KvStoreServiceDeathNotifier::AddServiceDeathWatcher(std::shared_ptr<KvStoreDeathRecipient> watcher) in AddServiceDeathWatcher() argument
111 auto ret = instance.serviceDeathWatchers_.insert(std::move(watcher)); in AddServiceDeathWatcher()
119 …toreServiceDeathNotifier::RemoveServiceDeathWatcher(std::shared_ptr<KvStoreDeathRecipient> watcher) in RemoveServiceDeathWatcher() argument
123 auto it = instance.serviceDeathWatchers_.find(std::move(watcher)); in RemoveServiceDeathWatcher()
140 for (const auto &watcher : instance.serviceDeathWatchers_) { in OnRemoteDied() local
141 if (watcher == nullptr) { in OnRemoteDied()
145 TaskExecutor::GetInstance().Execute([watcher] { in OnRemoteDied()
146 watcher->OnRemoteDied(); in OnRemoteDied()
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/ndk/
H A Dhiappevent_ndk.c301 return SetAppEventFilter(watcher, domain, eventTypes, names, namesLen); in OH_HiAppEvent_SetAppEventFilter()
306 return SetTriggerCondition(watcher, row, size, timeOut); in OH_HiAppEvent_SetTriggerCondition()
311 return SetWatcherOnTrigger(watcher, onTrigger); in OH_HiAppEvent_SetWatcherOnTrigger()
316 return SetWatcherOnReceiver(watcher, onReceiver); in OH_HiAppEvent_SetWatcherOnReceive()
319 int OH_HiAppEvent_AddWatcher(struct HiAppEvent_Watcher* watcher) in OH_HiAppEvent_AddWatcher() argument
321 return AddWatcher(watcher); in OH_HiAppEvent_AddWatcher()
326 return TakeWatcherData(watcher, size, onTake); in OH_HiAppEvent_TakeWatcherData()
334 int OH_HiAppEvent_RemoveWatcher(struct HiAppEvent_Watcher *watcher) in OH_HiAppEvent_RemoveWatcher() argument
336 return RemoveWatcher(watcher); in OH_HiAppEvent_RemoveWatcher()
339 void OH_HiAppEvent_DestroyWatcher(struct HiAppEvent_Watcher *watcher) in OH_HiAppEvent_DestroyWatcher() argument
[all …]
/ohos5.0/base/startup/init/services/param/watcher/agent/
H A Dwatcher_manager_kits.cpp150 ParamWatcherKitPtr watcher = nullptr; in AddWatcher() local
156 watcher = std::make_shared<ParamWatcher>(keyPrefix); in AddWatcher()
158 int ret = watcher->AddParameterListener(callback, context); in AddWatcher()
162 watchers_[keyPrefix] = watcher; in AddWatcher()
164 watcher = watchers_[keyPrefix]; in AddWatcher()
165 int ret = watcher->AddParameterListener(callback, context); in AddWatcher()
181 WatcherManagerKits::ParamWatcher *watcher = GetParamWatcher(keyPrefix); in DelWatcher() local
182 WATCHER_CHECK(watcher != nullptr, return -1, "Failed to get watcher"); in DelWatcher()
184 int count = watcher->DelParameterListener(callback, context); in DelWatcher()
281 if (watcher != nullptr) { in OnParameterChange()
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-performance-analysis-kit/
H A D_hi_app_event.md819 Adds a watcher. Once a watcher is added, it starts to listen for system messages.
829 | watcher | Pointer to the watcher (that is, the pointer returned by OH_HiAppEvent_CreateWatcher). …
936 Destroys a created watcher.
948 | watcher | Pointer to the watcher (that is, the pointer returned by OH_HiAppEvent_CreateWatcher). …
957 Removes a watcher. Once a watcher is removed, it stops listening for system messages.
969 | watcher | Pointer to the watcher (that is, the pointer returned by OH_HiAppEvent_CreateWatcher). …
994 | watcher | Pointer to the watcher (that is, the pointer returned by OH_HiAppEvent_CreateWatcher). …
1021 | watcher | Pointer to the watcher (that is, the pointer returned by OH_HiAppEvent_CreateWatcher). …
1047 | watcher | Pointer to the watcher (that is, the pointer returned by OH_HiAppEvent_CreateWatcher). …
1071 | watcher | Pointer to the watcher (that is, the pointer returned by OH_HiAppEvent_CreateWatcher). …
[all …]
H A Dhiappevent_8h.md73 … [HiAppEvent_Watcher](_hi_app_event.md#hiappevent_watcher) | Defines the watcher for application e…
75watcher meets the conditions specified by OH_HiAppEvent_SetTriggerCondition. Specifically, if the …
76 …uint32_t eventLen) | Callback invoked to pass the events received by the watcher to the caller whe…
110 …pp_event.md#oh_hiappevent_createwatcher) (const char \*name) | Creates a watcher for application e…
111 …iAppEvent_Watcher](_hi_app_event.md#hiappevent_watcher) \*watcher) | Destroys a created watcher. |
113 …ventfilter) ([HiAppEvent_Watcher](_hi_app_event.md#hiappevent_watcher) \*watcher, const char \*dom…
114 …rontrigger) ([HiAppEvent_Watcher](_hi_app_event.md#hiappevent_watcher) \*watcher, [OH_HiAppEvent_O…
115 …ronreceive) ([HiAppEvent_Watcher](_hi_app_event.md#hiappevent_watcher) \*watcher, [OH_HiAppEvent_O…
116 …her) \*watcher, uint32_t eventNum, [OH_HiAppEvent_OnTake](_hi_app_event.md#oh_hiappevent_ontake) o…
117 …ppEvent_Watcher](_hi_app_event.md#hiappevent_watcher) \*watcher) | Adds a watcher. Once a watcher
[all …]

12345678