Home
last modified time | relevance | path

Searched defs:watcher (Results 1 – 25 of 68) sorted by relevance

123

/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/ndk/src/
H A Dndk_app_event_watcher_service.cpp45 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()
/ohos5.0/base/hiviewdfx/hisysevent/test/moduletest/common/
H A Dhisysevent_wrote_result_check_test.cpp93 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 __anon1cb05ef20202() variable
165 auto watcher = std::make_shared<Watcher>([val] (std::shared_ptr<HiSysEventRecord> sysEvent) { in __anon1cb05ef20302() variable
186 auto watcher = std::make_shared<Watcher>([val] (std::shared_ptr<HiSysEventRecord> sysEvent) { in __anon1cb05ef20402() variable
207 auto watcher = std::make_shared<Watcher>([val] (std::shared_ptr<HiSysEventRecord> sysEvent) { in __anon1cb05ef20502() variable
227 auto watcher = std::make_shared<Watcher>([val] (std::shared_ptr<HiSysEventRecord> sysEvent) { in __anon1cb05ef20602() variable
252 auto watcher = std::make_shared<Watcher>([&val] (std::shared_ptr<HiSysEventRecord> sysEvent) { in __anon1cb05ef20702() variable
278 auto watcher = std::make_shared<Watcher>([&val] (std::shared_ptr<HiSysEventRecord> sysEvent) { in __anon1cb05ef20802() variable
304 auto watcher = std::make_shared<Watcher>([&val] (std::shared_ptr<HiSysEventRecord> sysEvent) { in __anon1cb05ef20902() variable
376 auto watcher = std::make_shared<Watcher>([val] (std::shared_ptr<HiSysEventRecord> sysEvent) { in __anon1cb05ef20c02() variable
[all …]
/ohos5.0/base/startup/init/interfaces/kits/jskits/src/
H A Dnative_parameters_watch.cpp191 static bool GetFristRefence(ParamWatcherPtr watcher, uint32_t &next) in GetFristRefence()
212 static uint32_t GetNextRefence(ParamWatcherPtr watcher, uint32_t &next) in GetNextRefence()
233 static void DelWatcherCallback(ParamWatcherPtr watcher, uint32_t next) in DelWatcherCallback()
304 ParamWatcherPtr watcher = new ParamWatcher(); in ParamWatchConstructor() local
313 ParamWatcherPtr watcher = static_cast<ParamWatcherPtr>(data); in ParamWatchConstructor() local
334 ParamWatcherPtr watcher = nullptr; in GetWatcher() local
378 ParamWatcherPtr watcher = nullptr; in GetWatcherInfo() local
435 ParamWatcherPtr watcher = static_cast<ParamWatcherPtr>(context); in ProcessParamChange() local
458 static void WatchCallbackWork(napi_env env, ParamWatcherPtr watcher) in WatchCallbackWork()
492 ParamWatcherPtr watcher = GetWatcherInfo(env, info, &callback); in SwithWatchOn() local
[all …]
/ohos5.0/base/inputmethod/imf/test/unittest/cpp_test/src/
H A Dinput_method_dfx_test.cpp162 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 …]
/ohos5.0/base/hiviewdfx/hisysevent/frameworks/native/c_wrapper/source/
H A Dhisysevent_rust_listener.cpp31 HiSysEventRustListener::HiSysEventRustListener(HiSysEventRustWatcherC* watcher) in HiSysEventRustListener()
62 void HiSysEventRustListener::RecycleWatcher(HiSysEventRustWatcherC* watcher) in RecycleWatcher()
H A Dhisysevent_rust_manager.cpp84 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()
H A Dhisysevent_c_wrapper.cpp107 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()
/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()
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()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/src/
H A Dkvstore_service_death_notifier.cpp107 … KvStoreServiceDeathNotifier::AddServiceDeathWatcher(std::shared_ptr<KvStoreDeathRecipient> watche… in AddServiceDeathWatcher()
119 …StoreServiceDeathNotifier::RemoveServiceDeathWatcher(std::shared_ptr<KvStoreDeathRecipient> watche… in RemoveServiceDeathWatcher()
140 for (const auto &watcher : instance.serviceDeathWatchers_) { in OnRemoteDied() local
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Ddistributeddb_thread_pool_test.cpp110const std::shared_ptr<DistributedDBThreadPoolTest::TimerWatcher> &watcher, std::atomic<TaskId> &ta… in MockSchedule()
216 std::shared_ptr<TimerWatcher> watcher = std::make_shared<TimerWatcher>(); variable
259 std::shared_ptr<TimerWatcher> watcher = std::make_shared<TimerWatcher>(); variable
292 std::shared_ptr<TimerWatcher> watcher = std::make_shared<TimerWatcher>(); variable
319 std::shared_ptr<TimerWatcher> watcher = std::make_shared<TimerWatcher>(); variable
359 std::shared_ptr<TimerWatcher> watcher = std::make_shared<TimerWatcher>(); variable
404 std::shared_ptr<TimerWatcher> watcher = std::make_shared<TimerWatcher>(); variable
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/adaptor/
H A Dasset_change_timer.cpp44 … const std::string &sessionId, const std::string &assetKey, std::shared_ptr<ObjectWatcher> watcher) in OnAssetChanged()
50 … const std::string &sessionId, const std::string &assetKey, std::shared_ptr<ObjectWatcher> watcher) in StartTimer()
63 … const std::string &sessionId, const std::string &assetKey, std::shared_ptr<ObjectWatcher> watcher) in ProcessTask()
/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()
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()
/ohos5.0/base/hiviewdfx/hisysevent/frameworks/native/test/unittest/common/
H A Dhisysevent_c_wrapper_test.cpp155 …HiSysEventRustWatcherC* watcher = CreateRustEventWatcher(reinterpret_cast<const void*>(TestCallbac… variable
254 HiSysEventRustWatcherC* watcher = nullptr; variable
308 HiSysEventRustWatcherC* watcher = CreateRustEventWatcher(nullptr, nullptr, nullptr, nullptr); variable
/ohos5.0/base/hiviewdfx/hisysevent/test/unittest/rust/src/
H A Dmain.rs62 let watcher = Watcher::new(|record: HiSysEventRecord| { in test_hisysevent_add_remove_watcher_001() localVariable
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/cloud/
H A Dcloud_db.cpp63 int32_t CloudDB::Watch(int32_t origin, Watcher &watcher) in Watch()
68 int32_t CloudDB::Unwatch(int32_t origin, Watcher &watcher) in Unwatch()
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/ndk/
H A Dhiappevent_ndk.c298 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()
/ohos5.0/base/hiviewdfx/hiappevent/test/unittest/common/napi/
H A Dnapi_hiappevent.test.js1086 function addWatcherTypeTest(watcher) { argument
1093 function removeWatcherTypeTest(watcher) { argument
1425 let watcher = { class in AnonymousFunction7ac93c2c0100.AnonymousFunction7ac93c2c3800
1470 let watcher = { class in AnonymousFunction7ac93c2c0100.AnonymousFunction7ac93c2c3900
1519 let watcher = { class in AnonymousFunction7ac93c2c0100.AnonymousFunction7ac93c2c3a00
1561 let watcher = { class in AnonymousFunction7ac93c2c0100.AnonymousFunction7ac93c2c3b00
1592 let watcher = { class in AnonymousFunction7ac93c2c0100.AnonymousFunction7ac93c2c3c00
1636 let watcher = { class in AnonymousFunction7ac93c2c0100.AnonymousFunction7ac93c2c3d00
1681 let watcher = { class in AnonymousFunction7ac93c2c0100.AnonymousFunction7ac93c2c3e00
1738 let watcher = { class in AnonymousFunction7ac93c2c0100.AnonymousFunction7ac93c2c3f00
[all …]
/ohos5.0/base/startup/init/services/param/watcher/proxy/
H A Dwatcher_manager_stub.cpp57 sptr<IWatcher> watcher = new WatcherProxy(remote); in OnRemoteRequest() local
H A Dwatcher_manager.cpp40 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
/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()
/ohos5.0/base/hiviewdfx/hiappevent/test/unittest/common/native/
H A Dhiappevent_watcher_test.cpp234 auto watcher = BuildSimpleWatcher(); variable
289 auto watcher = BuildSimpleOsWatcher(); variable
/ohos5.0/base/startup/init/services/param/watcher/agent/
H A Dwatcher_manager_kits.cpp150 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
/ohos5.0/base/startup/init/services/loopevent/task/
H A Dle_watchtask.c29 WatcherTask *watcher = (WatcherTask *)taskHandle; in HandleWatcherEvent_() local
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/base/
H A Dlazy_load_manager.cpp103 LazyLoadWatcher *watcher = new LazyLoadWatcher(nativeElement, attrName, getter, keyId); in AddLazyLoadWatcher() local
/ohos5.0/base/startup/init/services/param/linux/
H A Dparam_service.c39 ParamWatcher *watcher = (ParamWatcher *)ParamGetTaskUserData(client); in OnClose() local
186 ParamWatcher *watcher = NULL; in AddWatchNode() local
375 ParamWatcher *watcher = (ParamWatcher *)ParamGetTaskUserData(client); in OnIncomingConnect() local

123