Home
last modified time | relevance | path

Searched refs:onTake (Results 1 - 6 of 6) sorted by relevance

/base/hiviewdfx/hiappevent/frameworks/native/ndk/src/
H A Dndk_app_event_watcher_proxy.cpp65 int NdkAppEventWatcherProxy::TakeWatcherData(uint32_t size, OH_HiAppEvent_OnTake onTake) in TakeWatcherData() argument
67 if (onTake == nullptr) { in TakeWatcherData()
68 HILOG_WARN(LOG_CORE, "onTake is nullptr"); in TakeWatcherData()
86 onTake(retEvents.data(), static_cast<int32_t>(eventStrs.size())); in TakeWatcherData()
H A Dndk_app_event_watcher_service.cpp81 int TakeWatcherData(struct HiAppEvent_Watcher* watcher, uint32_t size, OH_HiAppEvent_OnTake onTake) in TakeWatcherData() argument
84 return reinterpret_cast<NdkAppEventWatcherProxy *>(watcher)->TakeWatcherData(size, onTake); in TakeWatcherData()
/base/hiviewdfx/hiappevent/frameworks/native/ndk/include/
H A Dndk_app_event_watcher_proxy.h38 int TakeWatcherData(uint32_t size, OH_HiAppEvent_OnTake onTake);
H A Dndk_app_event_watcher_service.h37 int TakeWatcherData(struct HiAppEvent_Watcher* watcher, uint32_t size, OH_HiAppEvent_OnTake onTake);
/base/hiviewdfx/hiappevent/interfaces/native/kits/include/hiappevent/
H A Dhiappevent.h544 * @param onTake The callback of the watcher.
550 int OH_HiAppEvent_TakeWatcherData(HiAppEvent_Watcher* watcher, uint32_t eventNum, OH_HiAppEvent_OnTake onTake);
/base/hiviewdfx/hiappevent/frameworks/native/ndk/
H A Dhiappevent_ndk.c324 int OH_HiAppEvent_TakeWatcherData(struct HiAppEvent_Watcher *watcher, uint32_t size, OH_HiAppEvent_OnTake onTake) in OH_HiAppEvent_TakeWatcherData() argument
326 return TakeWatcherData(watcher, size, onTake); in OH_HiAppEvent_TakeWatcherData()

Completed in 3 milliseconds