Home
last modified time | relevance | path

Searched refs:subscribers (Results 1 - 3 of 3) sorted by relevance

/foundation/multimodalinput/input/service/subscriber/src/
H A Dkey_subscriber_handler.cpp161 auto &subscribers = iter->second; in RemoveSubscriber() local
162 for (auto it = subscribers.begin(); it != subscribers.end(); it++) { in RemoveSubscriber()
177 subscribers.erase(it); in RemoveSubscriber()
215 auto &subscribers = iter->second; in RemoveKeyGestureSubscriber() local
217 for (auto innerIter = subscribers.begin(); innerIter != subscribers.end(); ++innerIter) { in RemoveKeyGestureSubscriber()
229 subscribers.erase(innerIter); in RemoveKeyGestureSubscriber()
611 auto &subscribers = iter->second; in OnSessionDelete() local
612 for (auto it = subscribers in OnSessionDelete()
625 auto &subscribers = iter->second; OnSessionDelete() local
708 NotifyKeyDownSubscriber(const std::shared_ptr<KeyEvent> &keyEvent, std::shared_ptr<KeyOption> keyOption, std::list<std::shared_ptr<Subscriber>> &subscribers, bool &handled) NotifyKeyDownSubscriber() argument
721 NotifyKeyDownRightNow(const std::shared_ptr<KeyEvent> &keyEvent, std::list<std::shared_ptr<Subscriber>> &subscribers, bool isRepeat, bool &handled) NotifyKeyDownRightNow() argument
744 NotifyKeyDownDelay(const std::shared_ptr<KeyEvent> &keyEvent, std::list<std::shared_ptr<Subscriber>> &subscribers, bool &handled) NotifyKeyDownDelay() argument
765 NotifyKeyUpSubscriber(const std::shared_ptr<KeyEvent> &keyEvent, std::list<std::shared_ptr<Subscriber>> subscribers, bool &handled) NotifyKeyUpSubscriber() argument
871 ClearSubscriberTimer(std::list<std::shared_ptr<Subscriber>> subscribers) ClearSubscriberTimer() argument
946 auto subscribers = iter.second; HandleKeyDown() local
1007 auto subscribers = iter.second; HandleKeyUp() local
1046 auto subscribers = iter.second; HandleKeyCancel() local
1061 auto subscribers = iter.second; IsKeyEventSubscribed() local
1139 auto &subscribers = iter->second; RemoveSubscriberKeyUpTimer() local
1219 auto &subscribers = iter->second; DumpSubscribers() local
1383 auto subscribers = iter.second; RemoveSubscriberTimer() local
[all...]
/foundation/multimodalinput/input/service/subscriber/test/
H A Dkey_subscriber_handler_test.cpp478 std::list<std::shared_ptr<OHOS::MMI::KeySubscriberHandler::Subscriber>> subscribers; in HWTEST_F() local
480 ASSERT_NO_FATAL_FAILURE(handler.NotifyKeyDownSubscriber(keyEvent, keyOption, subscribers, handled)); in HWTEST_F()
482 ASSERT_NO_FATAL_FAILURE(handler.NotifyKeyDownSubscriber(keyEvent, keyOption, subscribers, handled)); in HWTEST_F()
496 std::list<std::shared_ptr<OHOS::MMI::KeySubscriberHandler::Subscriber>> subscribers; in HWTEST_F() local
498 handler.NotifyKeyDownRightNow(keyEvent, subscribers, true, handled); in HWTEST_F()
518 std::list<std::shared_ptr<OHOS::MMI::KeySubscriberHandler::Subscriber>> subscribers; in HWTEST_F() local
520 handler.NotifyKeyDownDelay(keyEvent, subscribers, handled); in HWTEST_F()
655 std::list<std::shared_ptr<OHOS::MMI::KeySubscriberHandler::Subscriber>> subscribers; in HWTEST_F() local
657 handler.NotifyKeyUpSubscriber(keyEvent, subscribers, handled); in HWTEST_F()
660 handler.NotifyKeyUpSubscriber(keyEvent, subscribers, handle in HWTEST_F()
766 std::list<std::shared_ptr<OHOS::MMI::KeySubscriberHandler::Subscriber>> subscribers; HWTEST_F() local
1786 std::list<std::shared_ptr<OHOS::MMI::KeySubscriberHandler::Subscriber>> subscribers; HWTEST_F() local
1829 std::list<std::shared_ptr<OHOS::MMI::KeySubscriberHandler::Subscriber>> subscribers; HWTEST_F() local
2157 std::list<std::shared_ptr<OHOS::MMI::KeySubscriberHandler::Subscriber>> subscribers; HWTEST_F() local
2193 std::list<std::shared_ptr<OHOS::MMI::KeySubscriberHandler::Subscriber>> subscribers; HWTEST_F() local
2227 std::list<std::shared_ptr<OHOS::MMI::KeySubscriberHandler::Subscriber>> subscribers; HWTEST_F() local
2437 std::list<std::shared_ptr<OHOS::MMI::KeySubscriberHandler::Subscriber>> subscribers; HWTEST_F() local
[all...]
/foundation/multimodalinput/input/service/subscriber/include/
H A Dkey_subscriber_handler.h119 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);

Completed in 5 milliseconds