/foundation/multimedia/av_session/services/session/adapter/ |
H A D | key_event_adapter.cpp | 28 void KeyEventAdapter::SubscribeKeyEvent(const std::vector<int32_t>& keyCodes, in SubscribeKeyEvent() function in OHOS::AVSession::KeyEventAdapter 41 if (inputManager->SubscribeKeyEvent(keyOption, callback) < 0) { in SubscribeKeyEvent()
|
H A D | key_event_adapter.h | 26 void SubscribeKeyEvent(const std::vector<int32_t>& keyCodes,
|
/foundation/multimodalinput/input/service/subscriber/test/src/ |
H A D | key_shortcut_rules_test.cpp | 122 auto subscribe1 = InputManager::GetInstance()->SubscribeKeyEvent(keyOption1, in HWTEST_F() 136 auto subscribe2 = InputManager::GetInstance()->SubscribeKeyEvent(keyOption2, in HWTEST_F() 190 auto subscribe1 = InputManager::GetInstance()->SubscribeKeyEvent(keyOption1, in HWTEST_F() 204 auto subscribe2 = InputManager::GetInstance()->SubscribeKeyEvent(keyOption2, in HWTEST_F() 288 auto subscribe1 = InputManager::GetInstance()->SubscribeKeyEvent(keyOption1, in HWTEST_F() 300 auto subscribe2 = InputManager::GetInstance()->SubscribeKeyEvent(keyOption2, in HWTEST_F()
|
/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/ |
H A D | multimodal_event_handler.cpp | 66 int32_t MultimodalEventHandler::SubscribeKeyEvent( in SubscribeKeyEvent() function in OHOS::MMI::MultimodalEventHandler 71 return MULTIMODAL_INPUT_CONNECT_MGR->SubscribeKeyEvent(subscribeInfo.GetSubscribeId(), in SubscribeKeyEvent()
|
H A D | key_event_input_subscribe_manager.cpp | 107 int32_t KeyEventInputSubscribeManager::SubscribeKeyEvent(std::shared_ptr<KeyOption> keyOption, in SubscribeKeyEvent() function in OHOS::MMI::KeyEventInputSubscribeManager 130 int32_t ret = MMIEventHdl.SubscribeKeyEvent(*tIter); in SubscribeKeyEvent() 284 if (MMIEventHdl.SubscribeKeyEvent(subscriberInfo) != RET_OK) { in OnConnected()
|
/foundation/barrierfree/accessibility/services/aams/src/ |
H A D | accessibility_short_key.cpp | 47 int32_t subscribeId = MMI::InputManager::GetInstance()->SubscribeKeyEvent(keyOption, keyEventCallBack); in SubscribeShortKey()
|
/foundation/multimodalinput/input/frameworks/proxy/event_handler/include/ |
H A D | multimodal_event_handler.h | 43 int32_t SubscribeKeyEvent(const KeyEventInputSubscribeManager::SubscribeKeyEventInfo& subscribeInfo);
|
H A D | key_event_input_subscribe_manager.h | 69 int32_t SubscribeKeyEvent(std::shared_ptr<KeyOption> keyOption,
|
H A D | input_manager_impl.h | 69 int32_t SubscribeKeyEvent(std::shared_ptr<KeyOption> keyOption,
|
/foundation/multimodalinput/input/test/fuzztest/subscribekeyevent_fuzzer/ |
H A D | subscribekeyevent_fuzzer.cpp | 79 int32_t subscribeId = InputManager::GetInstance()->SubscribeKeyEvent(keyOption, fun); in SubscribeKeyEventFuzzTest()
|
/foundation/multimodalinput/input/frameworks/proxy/events/src/ |
H A D | input_manager.cpp | 99 int32_t InputManager::SubscribeKeyEvent(std::shared_ptr<KeyOption> keyOption, in SubscribeKeyEvent() function in OHOS::MMI::InputManager 102 return InputMgrImpl.SubscribeKeyEvent(keyOption, callback); in SubscribeKeyEvent()
|
/foundation/multimodalinput/input/service/connect_manager/include/ |
H A D | multimodal_input_connect_manager.h | 94 int32_t SubscribeKeyEvent(int32_t subscribeId, const std::shared_ptr<KeyOption> option);
|
H A D | i_multimodal_input_connect.h | 101 virtual int32_t SubscribeKeyEvent(int32_t subscribeId, const std::shared_ptr<KeyOption> option) = 0;
|
H A D | multimodal_input_connect_proxy.h | 86 int32_t SubscribeKeyEvent(int32_t subscribeId, const std::shared_ptr<KeyOption> option) override;
|
/foundation/multimodalinput/input/test/fuzztest/stubhandleallocsocketfd_fuzzer/ |
H A D | stubhandleallocsocketfd_fuzzer.cpp | 99 MMIService::GetInstance()->SubscribeKeyEvent(tmpfd, p_option); in StubHandleAllocSocketFdFuzzTest()
|
/foundation/multimodalinput/input/service/subscriber/include/ |
H A D | key_subscriber_handler.h | 52 int32_t SubscribeKeyEvent(SessionPtr sess, int32_t subscribeId, const std::shared_ptr<KeyOption> keyOption);
|
/foundation/multimodalinput/input/frameworks/proxy/events/test/ |
H A D | input_manager_test.cpp | 345 response = InputManager::GetInstance()->SubscribeKeyEvent(keyOption, nullptr); in HWTEST_F() 367 subscribeId1 = InputManager::GetInstance()->SubscribeKeyEvent(keyOption, [](std::shared_ptr<KeyEvent> keyEvent) { in HWTEST_F() 380 subscribeId2 = InputManager::GetInstance()->SubscribeKeyEvent(keyOption2, [](std::shared_ptr<KeyEvent> keyEvent) { in HWTEST_F() 410 subscribeId1 = InputManager::GetInstance()->SubscribeKeyEvent(keyOption1, [](std::shared_ptr<KeyEvent> keyEvent) { in HWTEST_F() 417 subscribeId2 = InputManager::GetInstance()->SubscribeKeyEvent(keyOption2, [](std::shared_ptr<KeyEvent> keyEvent) { in HWTEST_F() 423 subscribeId3 = InputManager::GetInstance()->SubscribeKeyEvent(keyOption3, [](std::shared_ptr<KeyEvent> keyEvent) { in HWTEST_F() 430 subscribeId4 = InputManager::GetInstance()->SubscribeKeyEvent(keyOption4, [](std::shared_ptr<KeyEvent> keyEvent) { in HWTEST_F() 460 subscribeId = InputManager::GetInstance()->SubscribeKeyEvent(keyOption, [](std::shared_ptr<KeyEvent> keyEvent) { in HWTEST_F()
|
H A D | input_manager_inject_test.cpp | 611 subscribeId = InputManager::GetInstance()->SubscribeKeyEvent(keyOption, keyEventFun); in HWTEST_F() 649 subscribeId = InputManager::GetInstance()->SubscribeKeyEvent(keyOption, keyEventFun); in HWTEST_F()
|
/foundation/multimodalinput/input/service/subscriber/test/ |
H A D | key_subscriber_handler_test.cpp | 270 ASSERT_EQ(keySubscriberHandler.SubscribeKeyEvent(sess, -1, keyOption), -1); in HWTEST_F() 345 int32_t ret = handler.SubscribeKeyEvent(sess, -1, keyOption); in HWTEST_F() 347 ret = handler.SubscribeKeyEvent(nullptr, 1, keyOption); in HWTEST_F() 349 ret = handler.SubscribeKeyEvent(sess, 1, keyOption); in HWTEST_F() 1129 ASSERT_NE(handler.SubscribeKeyEvent(sess, subscribeId, keyOption), RET_OK); in HWTEST_F() 1137 ASSERT_NE(handler.SubscribeKeyEvent(sess, subscribeId, keyOption), RET_OK); in HWTEST_F() 2517 EXPECT_EQ(handler.SubscribeKeyEvent(sess, subscribeId, keyOption), RET_ERR); in HWTEST_F() 2536 EXPECT_NE(handler.SubscribeKeyEvent(sess, subscribeId, keyOption), RET_OK); in HWTEST_F()
|
/foundation/multimodalinput/input/interfaces/native/innerkits/proxy/include/ |
H A D | input_manager.h | 137 int32_t SubscribeKeyEvent(std::shared_ptr<KeyOption> keyOption, 142 * @param subscriberId Indicates the subscription ID, which is the return value of <b>SubscribeKeyEvent</b>. 167 * @param subscriberId Indicates the subscription ID, which is the return value of <b>SubscribeKeyEvent</b>.
|
/foundation/multimodalinput/input/service/connect_manager/src/ |
H A D | multimodal_input_connect_manager.cpp | 401 int32_t MultimodalInputConnectManager::SubscribeKeyEvent(int32_t subscribeId, const std::shared_ptr<KeyOption> option) in SubscribeKeyEvent() function in OHOS::MMI::MultimodalInputConnectManager 405 return multimodalInputConnectService_->SubscribeKeyEvent(subscribeId, option); in SubscribeKeyEvent()
|
/foundation/multimodalinput/input/service/module_loader/include/ |
H A D | mmi_service.h | 100 int32_t SubscribeKeyEvent(int32_t subscribeId, const std::shared_ptr<KeyOption> option) override;
|
/foundation/resourceschedule/resource_schedule_service/ressched/sched_controller/observer/src/ |
H A D | observer_manager.cpp | 442 powerKeySubscribeId_ = MMI::InputManager::GetInstance()->SubscribeKeyEvent(keyOption, in InitMMiEventObserver()
|
/foundation/multimodalinput/input/frameworks/napi/input_consumer/src/ |
H A D | js_register_module.cpp | 381 subscribeId = InputManager::GetInstance()->SubscribeKeyEvent(keyOption, SubKeyEventCallback); in SubscribeKey()
|
/foundation/multimodalinput/input/service/module_loader/test/ |
H A D | mmi_service_test.cpp | 845 * @tc.desc: Test the function SubscribeKeyEvent 854 int32_t ret = mmiService.SubscribeKeyEvent(subscribeId, option); in HWTEST_F()
|