Lines Matching defs:Subscriber
61 struct Subscriber {
62 Subscriber(int32_t id, SessionPtr sess, std::shared_ptr<KeyOption> keyOption)
74 using SubscriberCollection = std::map<std::shared_ptr<KeyOption>, std::list<std::shared_ptr<Subscriber>>>;
78 void DumpSubscriber(int32_t fd, std::shared_ptr<Subscriber> subscriber) const;
79 void InsertSubScriber(std::shared_ptr<Subscriber> subs);
87 const std::shared_ptr<Subscriber> &subscriber);
88 bool AddTimer(const std::shared_ptr<Subscriber> &subscriber, const std::shared_ptr<KeyEvent> &keyEvent);
89 void ClearTimer(const std::shared_ptr<Subscriber> &subscriber);
90 void OnTimer(const std::shared_ptr<Subscriber> subscriber);
99 void HandleKeyUpWithDelay(std::shared_ptr<KeyEvent> keyEvent, const std::shared_ptr<Subscriber> &subscriber);
100 void PrintKeyUpLog(const std::shared_ptr<Subscriber> &subscriber);
101 void SubscriberNotifyNap(const std::shared_ptr<Subscriber> subscriber);
104 int32_t AddKeyGestureSubscriber(std::shared_ptr<Subscriber> subscriber, std::shared_ptr<KeyOption> option);
113 void DeleteShortcutId(std::shared_ptr<Subscriber> subscriber);
115 int32_t AddSubscriber(std::shared_ptr<Subscriber> subscriber, std::shared_ptr<KeyOption> option, bool isSystem);
117 bool IsMatchForegroundPid(std::list<std::shared_ptr<Subscriber>> subs, std::set<int32_t> foregroundPids);
119 std::list<std::shared_ptr<Subscriber>> &subscribers, bool &handled);
121 std::list<std::shared_ptr<Subscriber>> &subscribers, bool isRepeat, bool &handled);
123 std::list<std::shared_ptr<Subscriber>> &subscribers, bool &handled);
125 std::list<std::shared_ptr<Subscriber>> subscribers, bool &handled);
127 void ClearSubscriberTimer(std::list<std::shared_ptr<Subscriber>> subscribers);