Home
last modified time | relevance | path

Searched refs:handled (Results 1 - 25 of 28) sorted by relevance

12

/foundation/multimodalinput/input/service/subscriber/src/
H A Dkey_subscriber_handler.cpp591 bool handled = false; in OnSubscribeKeyEvent() local
593 handled = HandleKeyDown(keyEvent); in OnSubscribeKeyEvent()
596 handled = HandleKeyUp(keyEvent); in OnSubscribeKeyEvent()
599 handled = HandleKeyCancel(keyEvent); in OnSubscribeKeyEvent()
603 return handled; in OnSubscribeKeyEvent()
709 std::shared_ptr<KeyOption> keyOption, std::list<std::shared_ptr<Subscriber>> &subscribers, bool &handled) in NotifyKeyDownSubscriber()
716 NotifyKeyDownRightNow(keyEvent, subscribers, keyOption->IsRepeat(), handled); in NotifyKeyDownSubscriber()
718 NotifyKeyDownDelay(keyEvent, subscribers, handled); in NotifyKeyDownSubscriber()
722 std::list<std::shared_ptr<Subscriber>> &subscribers, bool isRepeat, bool &handled) in NotifyKeyDownRightNow()
735 handled in NotifyKeyDownRightNow()
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
937 bool handled = false; HandleKeyDown() local
999 bool handled = false; HandleKeyUp() local
[all...]
H A Dswitch_subscriber_handler.cpp119 bool handled = false; in OnSubscribeSwitchEvent() local
125 handled = true; in OnSubscribeSwitchEvent()
136 MMI_HILOGD("%{public}s", handled ? "true" : "false"); in OnSubscribeSwitchEvent()
138 return handled; in OnSubscribeSwitchEvent()
H A Dkey_shortcut_manager.cpp595 bool handled = false; in HandleKeyDown() local
615 handled = true; in HandleKeyDown()
617 return handled; in HandleKeyDown()
622 bool handled = false; in HandleKeyUp() local
640 handled = true; in HandleKeyUp()
642 return handled; in HandleKeyUp()
/foundation/barrierfree/accessibility/services/test/moduletest/aamstest/aams_accessibility_keyevent_filter_test/
H A Daams_accessibility_keyevent_filter_test.cpp148 * @tc.desc: AccessibleAbility responds the keyevent within 500 ms.(handled is true)
165 bool handled = true; in HWTEST_F() local
174 aacs_->SetOnKeyPressEventResult(handled, sequence); in HWTEST_F()
185 * @tc.desc: AccessibleAbility responds the keyevent within 500 ms.(handled is false)
202 bool handled = false; in HWTEST_F() local
211 aacs_->SetOnKeyPressEventResult(handled, sequence); in HWTEST_F()
/foundation/barrierfree/accessibility/services/test/mock/
H A Dmock_aams_accessibility_keyevent_filter.cpp148 * @tc.desc: AccessibleAbility responds the keyevent within 500 ms.(handled is true)
165 bool handled = true; in HWTEST_F() local
174 aacs_->SetOnKeyPressEventResult(handled, sequence); in HWTEST_F()
185 * @tc.desc: AccessibleAbility responds the keyevent within 500 ms.(handled is false)
202 bool handled = false; in HWTEST_F() local
211 aacs_->SetOnKeyPressEventResult(handled, sequence); in HWTEST_F()
/foundation/barrierfree/accessibility/services/aams/test/mock/src/
H A Dmock_accessible_ability_channel_proxy.cpp138 void AccessibleAbilityChannelProxy::SetOnKeyPressEventResult(const bool handled, const int32_t sequence) in SetOnKeyPressEventResult() argument
140 (void)handled; in SetOnKeyPressEventResult()
H A Dmock_accessible_ability_connection.cpp156 void AccessibleAbilityChannel::SetOnKeyPressEventResult(const bool handled, const int32_t sequence) in SetOnKeyPressEventResult() argument
159 (void)handled; in SetOnKeyPressEventResult()
/foundation/barrierfree/accessibility/frameworks/aafwk/test/mock/src/
H A Dmock_accessible_ability_channel_proxy.cpp150 void AccessibleAbilityChannelProxy::SetOnKeyPressEventResult(const bool handled, const int32_t sequence) in SetOnKeyPressEventResult() argument
153 (void)handled; in SetOnKeyPressEventResult()
/foundation/barrierfree/accessibility/services/test/moduletest/mock/src/
H A Dmock_mt_accessible_ability_channel_proxy.cpp138 void AccessibleAbilityChannelProxy::SetOnKeyPressEventResult(const bool handled, const int32_t sequence) in SetOnKeyPressEventResult() argument
140 (void)handled; in SetOnKeyPressEventResult()
/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);
/foundation/multimodalinput/input/service/subscriber/test/
H A Dkey_subscriber_handler_test.cpp479 bool handled = false; 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()
497 bool handled = false; in HWTEST_F() local
498 handler.NotifyKeyDownRightNow(keyEvent, subscribers, true, handled); in HWTEST_F()
499 ASSERT_FALSE(handled); in HWTEST_F()
519 bool handled = false; in HWTEST_F() local
520 handler.NotifyKeyDownDelay(keyEvent, subscribers, handled); in HWTEST_F()
521 ASSERT_FALSE(handled); in HWTEST_F()
656 bool handled in HWTEST_F() local
824 bool handled = handler.HandleKeyUp(keyEvent); HWTEST_F() local
1453 bool handled = false; HWTEST_F() local
1477 bool handled = false; HWTEST_F() local
1506 bool handled = false; HWTEST_F() local
1536 bool handled = false; HWTEST_F() local
[all...]
/foundation/barrierfree/accessibility/frameworks/aafwk/include/
H A Daccessible_ability_channel_client.h47 * @param handled The result of OnKeyPressEvent.
50 void SetOnKeyPressEventResult(const bool handled, const int32_t sequence);
/foundation/barrierfree/accessibility/frameworks/aafwk/test/mock/include/
H A Dmock_accessible_ability_channel_stub.h53 MOCK_METHOD2(SetOnKeyPressEventResult, void(const bool handled, const int32_t sequence));
H A Dmock_accessible_ability_channel_proxy.h51 MOCK_METHOD2(SetOnKeyPressEventResult, void(const bool handled, const int32_t sequence));
/foundation/barrierfree/accessibility/common/interface/include/
H A Di_accessible_ability_channel.h149 * @param handled The result of key press event, true if the event has been consumed, otherwise false.
152 virtual void SetOnKeyPressEventResult(const bool handled, const int32_t sequence) = 0;
H A Daccessible_ability_channel_proxy.h154 * @param handled The result of key press event, true if the event has been consumed, otherwise false.
157 virtual void SetOnKeyPressEventResult(const bool handled, const int32_t sequence) override;
/foundation/barrierfree/accessibility/common/interface/src/
H A Daccessible_ability_channel_proxy.cpp440 void AccessibleAbilityChannelProxy::SetOnKeyPressEventResult(const bool handled, const int32_t sequence) in SetOnKeyPressEventResult() argument
451 if (!data.WriteBool(handled)) { in SetOnKeyPressEventResult()
452 HILOG_ERROR("handled write error: %{public}d, ", handled); in SetOnKeyPressEventResult()
H A Daccessible_ability_channel_stub.cpp384 bool handled = data.ReadBool(); in HandleSetOnKeyPressEventResult() local
386 SetOnKeyPressEventResult(handled, sequence); in HandleSetOnKeyPressEventResult()
/foundation/barrierfree/accessibility/common/interface/test/unittest/mock/
H A Dmock_accessible_ability_channel_proxy.cpp440 void AccessibleAbilityChannelProxyMock::SetOnKeyPressEventResult(const bool handled, const int32_t sequence) in SetOnKeyPressEventResult() argument
451 if (!data.WriteBool(handled)) { in SetOnKeyPressEventResult()
452 HILOG_ERROR("handled write error: %{public}d, ", handled); in SetOnKeyPressEventResult()
H A Dmock_accessible_ability_channel_stub.cpp384 bool handled = data.ReadBool(); in HandleSetOnKeyPressEventResult() local
386 SetOnKeyPressEventResult(handled, sequence); in HandleSetOnKeyPressEventResult()
/foundation/barrierfree/accessibility/services/aams/test/mock/include/
H A Dmock_accessible_ability_connection.h49 MOCK_METHOD2(SetOnKeyPressEventResult, void(const bool handled, const int32_t sequence));
/foundation/barrierfree/accessibility/services/aams/include/
H A Daccessible_ability_channel.h59 void SetOnKeyPressEventResult(const bool handled, const int32_t sequence) override;
/foundation/barrierfree/accessibility/frameworks/aafwk/src/
H A Daccessible_ability_channel_client.cpp45 void AccessibleAbilityChannelClient::SetOnKeyPressEventResult(const bool handled, const int32_t sequence) in SetOnKeyPressEventResult() argument
49 proxy_->SetOnKeyPressEventResult(handled, sequence); in SetOnKeyPressEventResult()
/foundation/barrierfree/accessibility/services/test/xts/src/asac_register_elemnt_operator_test/
H A Dasac_ability_channel_benchmark.cpp512 void AccessibleAbilityChannel::SetOnKeyPressEventResult(const bool handled, const int32_t sequence) in SetOnKeyPressEventResult() argument
523 eventHandler_->PostTask([accountId, clientName, handled, sequence]() { in SetOnKeyPressEventResult()
535 keyEventFilter->SetServiceOnKeyEventResult(*clientConnection, handled, sequence); in SetOnKeyPressEventResult()
/foundation/barrierfree/accessibility/services/aams/src/
H A Daccessible_ability_channel.cpp512 void AccessibleAbilityChannel::SetOnKeyPressEventResult(const bool handled, const int32_t sequence) in SetOnKeyPressEventResult() argument
523 eventHandler_->PostTask([accountId, clientName, handled, sequence]() { in SetOnKeyPressEventResult()
535 keyEventFilter->SetServiceOnKeyEventResult(*clientConnection, handled, sequence); in SetOnKeyPressEventResult()

Completed in 17 milliseconds

12