Home
last modified time | relevance | path

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

/ohos5.0/docs/zh-cn/application-dev/dfx/
H A Dhiappevent-watcher-app-events-ndk.md18 | int OH_HiAppEvent_AddWatcher (HiAppEvent_Watcher \*watcher) | 添加应用事件观察者,以添加对应用事件的订阅。 |
107 OH_HiAppEvent_AddWatcher(appEventWatcher);
159 OH_HiAppEvent_AddWatcher(appEventWatcher);
H A Dhiappevent-watcher-address-sanitizer-events-ndk.md11 | int OH_HiAppEvent_AddWatcher (HiAppEvent_Watcher \*watcher) | 添加应用事件观察者,以添加对应用事件的订阅。 |
117 OH_HiAppEvent_AddWatcher(systemEventWatcher);
183 OH_HiAppEvent_AddWatcher(systemEventWatcher);
H A Dhiappevent-watcher-crash-events-ndk.md15 | int OH_HiAppEvent_AddWatcher(HiAppEvent_Watcher \*watcher) | 添加应用事件观察者,以添加对应用事件的订阅。 |
128 OH_HiAppEvent_AddWatcher(systemEventWatcher);
202 OH_HiAppEvent_AddWatcher(systemEventWatcher);
H A Dhiappevent-watcher-resourceleak-events-ndk.md11 | int OH_HiAppEvent_AddWatcher(HiAppEvent_Watcher *watcher) | 添加应用事件观察者,以添加对应用事件的订阅。 |
116 OH_HiAppEvent_AddWatcher(systemEventWatcher);
181 OH_HiAppEvent_AddWatcher(systemEventWatcher);
H A Dhiappevent-watcher-mainthreadjank-events-ndk.md11 | int OH_HiAppEvent_AddWatcher(HiAppEvent_Watcher *watcher) | 添加应用事件观察者,以添加对应用事件的订阅。 |
123 OH_HiAppEvent_AddWatcher(systemEventWatcher);
H A Dhiappevent-watcher-freeze-events-ndk.md11 | int OH_HiAppEvent_AddWatcher (HiAppEvent_Watcher \*watcher) | 添加应用事件观察者,以添加对应用事件的订阅。 |
136 OH_HiAppEvent_AddWatcher(systemEventWatcher);
222 OH_HiAppEvent_AddWatcher(systemEventWatcher);
/ohos5.0/docs/zh-cn/application-dev/reference/apis-performance-analysis-kit/
H A D_hi_app_event.md109 | int [OH_HiAppEvent_AddWatcher](#oh_hiappevent_addwatcher) ([HiAppEvent_Watcher](#hiappevent_watch…
813 ### OH_HiAppEvent_AddWatcher()
816 int OH_HiAppEvent_AddWatcher (HiAppEvent_Watcher * watcher)
973 0:接口调用成功;-5:watcher入参空指针;-6:还未调用OH_HiAppEvent_AddWatcher,操作顺序有误。
1101 0:接口调用成功;-5:watcher入参空指针;-6:还未调用OH_HiAppEvent_AddWatcher,操作顺序有误。
H A Dhiappevent_8h.md117 | int [OH_HiAppEvent_AddWatcher](_hi_app_event.md#oh_hiappevent_addwatcher) ([HiAppEvent_Watcher](_…
/ohos5.0/docs/en/application-dev/dfx/
H A Dhiappevent-watcher-app-events-ndk.md18 | int OH_HiAppEvent_AddWatcher (HiAppEvent_Watcher \*watcher) | Adds a watcher to listen for appli…
107 OH_HiAppEvent_AddWatcher(appEventWatcher);
159 OH_HiAppEvent_AddWatcher(appEventWatcher);
H A Dhiappevent-watcher-address-sanitizer-events-ndk.md11 | int OH_HiAppEvent_AddWatcher (HiAppEvent_Watcher \*watcher) | Adds a watcher to listen for appl…
117 OH_HiAppEvent_AddWatcher(systemEventWatcher);
183 OH_HiAppEvent_AddWatcher(systemEventWatcher);
H A Dhiappevent-watcher-resourceleak-events-ndk.md11 | int OH_HiAppEvent_AddWatcher(HiAppEvent_Watcher *watcher) | Adds a watcher to listen for applic…
116 OH_HiAppEvent_AddWatcher(systemEventWatcher);
181 OH_HiAppEvent_AddWatcher(systemEventWatcher);
H A Dhiappevent-watcher-crash-events-ndk.md15 | int OH_HiAppEvent_AddWatcher(HiAppEvent_Watcher \*watcher) | Adds a watcher to listen for appli…
128 OH_HiAppEvent_AddWatcher(systemEventWatcher);
202 OH_HiAppEvent_AddWatcher(systemEventWatcher);
H A Dhiappevent-watcher-mainthreadjank-events-ndk.md11 | int OH_HiAppEvent_AddWatcher(HiAppEvent_Watcher *watcher) | Adds a watcher to listen for applic…
123 OH_HiAppEvent_AddWatcher(systemEventWatcher);
H A Dhiappevent-watcher-freeze-events-ndk.md11 | int OH_HiAppEvent_AddWatcher (HiAppEvent_Watcher \*watcher) | Adds a watcher to listen for appli…
136 OH_HiAppEvent_AddWatcher(systemEventWatcher);
222 OH_HiAppEvent_AddWatcher(systemEventWatcher);
/ohos5.0/base/hiviewdfx/hiappevent/interfaces/native/kits/include/hiappevent/
H A Dhiappevent.h562 int OH_HiAppEvent_AddWatcher(HiAppEvent_Watcher* watcher);
/ohos5.0/base/hiviewdfx/hiappevent/test/unittest/common/native/
H A Dhiappevent_native_test.cpp649 ASSERT_EQ(OH_HiAppEvent_AddWatcher(nullptr), ErrorCode::ERROR_INVALID_WATCHER);
650 ASSERT_EQ(OH_HiAppEvent_AddWatcher(g_onTriggerWatcher), 0);
651 ASSERT_EQ(OH_HiAppEvent_AddWatcher(g_onReceiveWatcher), 0);
/ohos5.0/docs/en/application-dev/reference/apis-performance-analysis-kit/
H A D_hi_app_event.md109 | int [OH_HiAppEvent_AddWatcher](#oh_hiappevent_addwatcher) ([HiAppEvent_Watcher](#hiappevent_watch…
813 ### OH_HiAppEvent_AddWatcher()
816 int OH_HiAppEvent_AddWatcher (HiAppEvent_Watcher * watcher)
973 …*-5** if the pointer of an input parameter is null; **-6** if **OH_HiAppEvent_AddWatcher** has not…
1101 …*-5** if the pointer of an input parameter is null; **-6** if **OH_HiAppEvent_AddWatcher** has not…
H A Dhiappevent_8h.md117 | int [OH_HiAppEvent_AddWatcher](_hi_app_event.md#oh_hiappevent_addwatcher) ([HiAppEvent_Watcher](_…
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/ndk/
H A Dhiappevent_ndk.c319 int OH_HiAppEvent_AddWatcher(struct HiAppEvent_Watcher* watcher) in OH_HiAppEvent_AddWatcher() function