| /base/hiviewdfx/hiappevent/frameworks/native/ndk/src/ |
| D | ndk_app_event_watcher_service.cpp | 45 int SetAppEventFilter(struct HiAppEvent_Watcher* watcher, const char* domain, uint8_t eventTypes, in SetAppEventFilter() 53 int SetTriggerCondition(struct HiAppEvent_Watcher* watcher, int row, int size, int timeOut) in SetTriggerCondition() 60 int SetWatcherOnTrigger(struct HiAppEvent_Watcher* watcher, OH_HiAppEvent_OnTrigger onTrigger) in SetWatcherOnTrigger() 67 int SetWatcherOnReceiver(struct HiAppEvent_Watcher* watcher, OH_HiAppEvent_OnReceive onReceiver) in SetWatcherOnReceiver() 74 int AddWatcher(struct HiAppEvent_Watcher* watcher) in AddWatcher() 81 int TakeWatcherData(struct HiAppEvent_Watcher* watcher, uint32_t size, OH_HiAppEvent_OnTake onTake) in TakeWatcherData() 87 int RemoveWatcher(struct HiAppEvent_Watcher *watcher) in RemoveWatcher() 93 void DestroyWatcher(struct HiAppEvent_Watcher* watcher) in DestroyWatcher()
|
| /base/hiviewdfx/hisysevent/test/moduletest/common/ |
| D | hisysevent_wrote_result_check_test.cpp | 93 void WriteAndWatchEvent(std::shared_ptr<Watcher> watcher, T& val) in WriteAndWatchEvent() 144 auto watcher = std::make_shared<Watcher>([val] (std::shared_ptr<HiSysEventRecord> sysEvent) { in __anon9be669bb0202() variable 165 auto watcher = std::make_shared<Watcher>([val] (std::shared_ptr<HiSysEventRecord> sysEvent) { in __anon9be669bb0302() variable 186 auto watcher = std::make_shared<Watcher>([val] (std::shared_ptr<HiSysEventRecord> sysEvent) { in __anon9be669bb0402() variable 207 auto watcher = std::make_shared<Watcher>([val] (std::shared_ptr<HiSysEventRecord> sysEvent) { in __anon9be669bb0502() variable 227 auto watcher = std::make_shared<Watcher>([val] (std::shared_ptr<HiSysEventRecord> sysEvent) { in __anon9be669bb0602() variable 252 auto watcher = std::make_shared<Watcher>([&val] (std::shared_ptr<HiSysEventRecord> sysEvent) { in __anon9be669bb0702() variable 278 auto watcher = std::make_shared<Watcher>([&val] (std::shared_ptr<HiSysEventRecord> sysEvent) { in __anon9be669bb0802() variable 304 auto watcher = std::make_shared<Watcher>([&val] (std::shared_ptr<HiSysEventRecord> sysEvent) { in __anon9be669bb0902() variable 330 auto watcher = std::make_shared<Watcher>([&val] (std::shared_ptr<HiSysEventRecord> sysEvent) { in __anon9be669bb0a02() variable [all …]
|
| D | hisysevent_native_test.cpp | 191 auto watcher = std::make_shared<Watcher>(); variable 1000 auto watcher = std::make_shared<Watcher>(); variable 1025 auto watcher = std::make_shared<Watcher>(); variable 1053 auto watcher = std::make_shared<Watcher>(); variable 1079 auto watcher = std::make_shared<Watcher>(); variable 1126 auto watcher = std::make_shared<Watcher>(); variable
|
| /base/startup/init/interfaces/kits/jskits/src/ |
| D | native_parameters_watch.cpp | 191 static bool GetFristRefence(ParamWatcherPtr watcher, uint32_t &next) in GetFristRefence() 202 static napi_ref GetWatcherReference(ParamWatcherPtr watcher, uint32_t next) in GetWatcherReference() 212 static uint32_t GetNextRefence(ParamWatcherPtr watcher, uint32_t &next) in GetNextRefence() 223 static void AddWatcherCallback(ParamWatcherPtr watcher, napi_ref callbackRef) in AddWatcherCallback() 233 static void DelWatcherCallback(ParamWatcherPtr watcher, uint32_t next) in DelWatcherCallback() 240 static void DelCallbackRef(napi_env env, ParamWatcherPtr watcher, napi_ref callbackRef, uint32_t id) in DelCallbackRef() 253 static void DelCallback(napi_env env, napi_value callback, ParamWatcherPtr watcher) in DelCallback() 278 static bool CheckCallbackEqual(napi_env env, napi_value callback, ParamWatcherPtr watcher) in CheckCallbackEqual() 304 ParamWatcherPtr watcher = new ParamWatcher(); in ParamWatchConstructor() local 313 ParamWatcherPtr watcher = static_cast<ParamWatcherPtr>(data); in ParamWatchConstructor() local [all …]
|
| /base/inputmethod/imf/test/unittest/cpp_test/src/ |
| D | input_method_dfx_test.cpp | 162 const std::shared_ptr<Watcher> &watcher, const InputMethodDfxTest::ExecFunc &exec) in WriteAndWatch() 185 const std::shared_ptr<WatcherImeChange> &watcher, const InputMethodDfxTest::ExecFunc &exec) in WriteAndWatchImeChange() 310 auto watcher = std::make_shared<Watcher>( variable 326 auto watcher = std::make_shared<Watcher>(InputMethodSysEvent::GetInstance().GetOperateInfo( variable 340 auto watcher = std::make_shared<Watcher>(InputMethodSysEvent::GetInstance().GetOperateInfo( variable 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 [all …]
|
| /base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/ |
| D | hisysevent_manager_c.cpp | 63 int HiSysEventAddWatcher(HiSysEventWatcher& watcher, HiSysEventWatchRule rules[], size_t ruleSize) in HiSysEventAddWatcher() 80 int HiSysEventRemoveWatcher(HiSysEventWatcher& watcher) in HiSysEventRemoveWatcher() 112 int OH_HiSysEvent_Add_Watcher(HiSysEventWatcher* watcher, HiSysEventWatchRule rules[], size_t ruleS… in OH_HiSysEvent_Add_Watcher() 120 int OH_HiSysEvent_Remove_Watcher(HiSysEventWatcher* watcher) in OH_HiSysEvent_Remove_Watcher()
|
| /base/hiviewdfx/hisysevent/frameworks/native/c_wrapper/source/ |
| D | hisysevent_rust_manager.cpp | 84 int HiSysEventAddWatcher(HiSysEventRustWatcherC* watcher, const HiSysEventWatchRule rules[], in HiSysEventAddWatcher() 112 int HiSysEventRemoveWatcher(HiSysEventRustWatcherC* watcher) in HiSysEventRemoveWatcher() 133 void HiSysEventRecycleWatcher(HiSysEventRustWatcherC* watcher) in HiSysEventRecycleWatcher() 178 int OhHiSysEventAddRustWatcher(HiSysEventRustWatcherC* watcher, const HiSysEventWatchRule watchRule… in OhHiSysEventAddRustWatcher() 184 int OhHiSysEventRemoveRustWatcher(HiSysEventRustWatcherC* watcher) in OhHiSysEventRemoveRustWatcher() 195 void OhHiSysEventRecycleRustWatcher(HiSysEventRustWatcherC* watcher) in OhHiSysEventRecycleRustWatcher()
|
| D | hisysevent_rust_listener.cpp | 31 HiSysEventRustListener::HiSysEventRustListener(HiSysEventRustWatcherC* watcher) in HiSysEventRustListener() 62 void HiSysEventRustListener::RecycleWatcher(HiSysEventRustWatcherC* watcher) in RecycleWatcher()
|
| D | hisysevent_c_wrapper.cpp | 107 int HiSysEventAddWatcherWrapper(HiSysEventRustWatcherC* watcher, const HiSysEventWatchRule rules[], in HiSysEventAddWatcherWrapper() 113 int HiSysEventRemoveWatcherWrapper(HiSysEventRustWatcherC* watcher) in HiSysEventRemoveWatcherWrapper() 144 HiSysEventRustWatcherC* watcher = new(std::nothrow) HiSysEventRustWatcherC; in CreateRustEventWatcher() local 153 void RecycleRustEventWatcher(HiSysEventRustWatcherC* watcher) in RecycleRustEventWatcher()
|
| /base/hiviewdfx/hiappevent/frameworks/js/napi/src/ |
| D | napi_hiappevent_watch.cpp | 176 bool IsValidWatcher(const napi_env env, const napi_value watcher, int& errCode) in IsValidWatcher() 198 std::string GetName(const napi_env env, const napi_value watcher) in GetName() 203 TriggerCondition GetCondition(const napi_env env, const napi_value watcher) in GetCondition() 239 void GetFilters(const napi_env env, const napi_value watcher, std::vector<AppEventFilter>& filters) in GetFilters() 291 napi_value AddWatcher(const napi_env env, const napi_value watcher, uint64_t beginTime) in AddWatcher() 339 napi_value RemoveWatcher(const napi_env env, const napi_value watcher, uint64_t beginTime) in RemoveWatcher()
|
| /base/hiviewdfx/hisysevent/frameworks/native/test/unittest/common/ |
| D | hisysevent_c_wrapper_test.cpp | 155 …HiSysEventRustWatcherC* watcher = CreateRustEventWatcher(reinterpret_cast<const void*>(TestCallbac… variable 254 HiSysEventRustWatcherC* watcher = nullptr; variable 308 HiSysEventRustWatcherC* watcher = CreateRustEventWatcher(nullptr, nullptr, nullptr, nullptr); variable
|
| /base/hiviewdfx/hiappevent/frameworks/native/ndk/ |
| D | hiappevent_ndk.c | 298 int OH_HiAppEvent_SetAppEventFilter(struct HiAppEvent_Watcher *watcher, const char *domain, uint8_t… in OH_HiAppEvent_SetAppEventFilter() 304 int OH_HiAppEvent_SetTriggerCondition(struct HiAppEvent_Watcher* watcher, int row, int size, int ti… in OH_HiAppEvent_SetTriggerCondition() 309 int OH_HiAppEvent_SetWatcherOnTrigger(struct HiAppEvent_Watcher *watcher, OH_HiAppEvent_OnTrigger o… in OH_HiAppEvent_SetWatcherOnTrigger() 314 int OH_HiAppEvent_SetWatcherOnReceive(struct HiAppEvent_Watcher *watcher, OH_HiAppEvent_OnReceive o… in OH_HiAppEvent_SetWatcherOnReceive() 319 int OH_HiAppEvent_AddWatcher(struct HiAppEvent_Watcher* watcher) in OH_HiAppEvent_AddWatcher() 324 int OH_HiAppEvent_TakeWatcherData(struct HiAppEvent_Watcher *watcher, uint32_t size, OH_HiAppEvent_… in OH_HiAppEvent_TakeWatcherData() 334 int OH_HiAppEvent_RemoveWatcher(struct HiAppEvent_Watcher *watcher) in OH_HiAppEvent_RemoveWatcher() 339 void OH_HiAppEvent_DestroyWatcher(struct HiAppEvent_Watcher *watcher) in OH_HiAppEvent_DestroyWatcher()
|
| /base/hiviewdfx/hisysevent/test/unittest/rust/src/ |
| D | main.rs | 62 let watcher = Watcher::new(|record: HiSysEventRecord| { in test_hisysevent_add_remove_watcher_001() localVariable
|
| /base/startup/init/services/param/watcher/proxy/ |
| D | watcher_manager.cpp | 40 uint32_t WatcherManager::AddRemoteWatcher(uint32_t id, const sptr<IWatcher> &watcher) in AddRemoteWatcher() 72 sptr<IWatcher> watcher = {0}; in DelRemoteWatcher() local 759 WatcherNodePtr watcher = WatcherNode::ConvertNodeToBase(node); in CompareNode() local 766 WatcherNodePtr watcher = WatcherNode::ConvertNodeToBase(node); in CompareData() local 773 WatcherNodePtr watcher = WatcherNode::ConvertNodeToBase(node); in Greater() local 782 ParamWatcher *watcher = ConvertTo<ParamWatcher>(node); in ~WatcherGroup() local 793 ParamWatcher *watcher = ConvertTo<ParamWatcher>(node); in ~RemoteWatcher() local
|
| D | watcher_manager_stub.cpp | 57 sptr<IWatcher> watcher = new WatcherProxy(remote); in OnRemoteRequest() local
|
| /base/startup/init/services/param/watcher/agent/ |
| D | watcher_manager_kits.cpp | 150 ParamWatcherKitPtr watcher = nullptr; in AddWatcher() local 181 WatcherManagerKits::ParamWatcher *watcher = GetParamWatcher(keyPrefix); in DelWatcher() local 279 WatcherManagerKits::ParamWatcher *watcher = watcherManager_->GetParamWatcher(prefix); in OnParameterChange() local
|
| D | watcher_manager_proxy.cpp | 21 uint32_t WatcherManagerProxy::AddRemoteWatcher(uint32_t id, const sptr<IWatcher> &watcher) in AddRemoteWatcher()
|
| /base/hiviewdfx/hiappevent/test/unittest/common/native/ |
| D | hiappevent_watcher_test.cpp | 234 auto watcher = BuildSimpleWatcher(); variable 289 auto watcher = BuildSimpleOsWatcher(); variable
|
| /base/startup/init/services/loopevent/task/ |
| D | le_watchtask.c | 29 WatcherTask *watcher = (WatcherTask *)taskHandle; in HandleWatcherEvent_() local
|
| /base/startup/init/services/param/linux/ |
| D | param_service.c | 39 ParamWatcher *watcher = (ParamWatcher *)ParamGetTaskUserData(client); in OnClose() local 186 ParamWatcher *watcher = NULL; in AddWatchNode() local 375 ParamWatcher *watcher = (ParamWatcher *)ParamGetTaskUserData(client); in OnIncomingConnect() local
|
| /base/hiviewdfx/hiappevent/test/unittest/common/napi/ |
| D | napi_hiappevent.test.js | 1086 function addWatcherTypeTest(watcher) { argument 1093 function removeWatcherTypeTest(watcher) { argument 1425 let watcher = { variable 1470 let watcher = { variable 1519 let watcher = { variable 1561 let watcher = { variable 1592 let watcher = { variable 1636 let watcher = { variable 1681 let watcher = { variable 1738 let watcher = { variable [all …]
|
| /base/hiviewdfx/hiappevent/frameworks/cj/ffi/src/ |
| D | hiappevent_ffi.cpp | 349 RetDataI64 FfiOHOSHiAppEventAddWatcher(CWatcher watcher) in FfiOHOSHiAppEventAddWatcher() 397 int FfiOHOSHiAppEventRemoveWatcher(CWatcher watcher) in FfiOHOSHiAppEventRemoveWatcher()
|
| /base/startup/init/test/unittest/param/ |
| D | watcher_proxy_unittest.cpp | 77 sptr<IWatcher> watcher = new TestWatcher(); in TestAddRemoteWatcher() local 192 WatcherProxy *watcher = new WatcherProxy(remoteObj); in TestWatchProxy() local
|
| /base/startup/init/services/init/include/ |
| D | init_service_socket.h | 71 ServiceWatcher watcher; member
|
| /base/startup/init/services/init/standard/ |
| D | fd_holder_service.c | 179 WatcherHandle watcher = NULL; in RegisterFdHoldWatcher() local
|