Searched defs:Watcher (Results 1 – 6 of 6) sorted by relevance
425 pub struct Watcher { struct427 native: *mut HiSysEventRustWatcherC, argument436 impl Watcher { argument505 unsafe impl AsRawPtr<HiSysEventRustWatcherC> for Watcher { implementation516 pub(crate) fn add_watcher(watcher: &Watcher, watch_rules: &[WatchRule]) -> i32 { in add_watcher()
117 pub fn add_watcher(watcher: &Watcher, watch_rules: &[WatchRule]) -> i32 { in add_watcher()
44 class Watcher : public HiSysEventListener { class46 explicit Watcher(std::function<void(std::shared_ptr<HiSysEventRecord>)> func) : func_(func) {} in Watcher() function in __anon226137f70111::Watcher
52 class Watcher : public HiSysEventListener { class54 explicit Watcher(const std::string &operateInfo) : operateInfo_(operateInfo) in Watcher() function in OHOS::MiscServices::Watcher
56 class Watcher : public HiSysEventListener { class58 explicit Watcher(std::function<bool(std::shared_ptr<HiSysEventRecord>)> assertFunc) in Watcher() function in __anon6d5fb9390111::Watcher
58 class Watcher : public HiSysEventListener { class60 Watcher() {} in Watcher() function in __anon47561dd40111::Watcher