/foundation/multimodalinput/input/service/subscriber/src/ |
H A D | key_subscriber_handler.cpp | 591 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 D | switch_subscriber_handler.cpp | 119 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 D | key_shortcut_manager.cpp | 595 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 D | aams_accessibility_keyevent_filter_test.cpp | 148 * @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 D | mock_aams_accessibility_keyevent_filter.cpp | 148 * @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 D | mock_accessible_ability_channel_proxy.cpp | 138 void AccessibleAbilityChannelProxy::SetOnKeyPressEventResult(const bool handled, const int32_t sequence) in SetOnKeyPressEventResult() argument 140 (void)handled; in SetOnKeyPressEventResult()
|
H A D | mock_accessible_ability_connection.cpp | 156 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 D | mock_accessible_ability_channel_proxy.cpp | 150 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 D | mock_mt_accessible_ability_channel_proxy.cpp | 138 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 D | key_subscriber_handler.h | 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);
|
/foundation/multimodalinput/input/service/subscriber/test/ |
H A D | key_subscriber_handler_test.cpp | 479 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 D | accessible_ability_channel_client.h | 47 * @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 D | mock_accessible_ability_channel_stub.h | 53 MOCK_METHOD2(SetOnKeyPressEventResult, void(const bool handled, const int32_t sequence));
|
H A D | mock_accessible_ability_channel_proxy.h | 51 MOCK_METHOD2(SetOnKeyPressEventResult, void(const bool handled, const int32_t sequence));
|
/foundation/barrierfree/accessibility/common/interface/include/ |
H A D | i_accessible_ability_channel.h | 149 * @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 D | accessible_ability_channel_proxy.h | 154 * @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 D | accessible_ability_channel_proxy.cpp | 440 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 D | accessible_ability_channel_stub.cpp | 384 bool handled = data.ReadBool(); in HandleSetOnKeyPressEventResult() local 386 SetOnKeyPressEventResult(handled, sequence); in HandleSetOnKeyPressEventResult()
|
/foundation/barrierfree/accessibility/common/interface/test/unittest/mock/ |
H A D | mock_accessible_ability_channel_proxy.cpp | 440 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 D | mock_accessible_ability_channel_stub.cpp | 384 bool handled = data.ReadBool(); in HandleSetOnKeyPressEventResult() local 386 SetOnKeyPressEventResult(handled, sequence); in HandleSetOnKeyPressEventResult()
|
/foundation/barrierfree/accessibility/services/aams/test/mock/include/ |
H A D | mock_accessible_ability_connection.h | 49 MOCK_METHOD2(SetOnKeyPressEventResult, void(const bool handled, const int32_t sequence));
|
/foundation/barrierfree/accessibility/services/aams/include/ |
H A D | accessible_ability_channel.h | 59 void SetOnKeyPressEventResult(const bool handled, const int32_t sequence) override;
|
/foundation/barrierfree/accessibility/frameworks/aafwk/src/ |
H A D | accessible_ability_channel_client.cpp | 45 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 D | asac_ability_channel_benchmark.cpp | 512 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 D | accessible_ability_channel.cpp | 512 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()
|