/foundation/multimodalinput/input/intention/adapters/input_adapter/src/ |
H A D | input_adapter.cpp | 100 int32_t InputAdapter::AddInterceptor(std::function<void(std::shared_ptr<MMI::PointerEvent>)> pointerCb) in AddInterceptor() function in OHOS::Msdp::DeviceStatus::InputAdapter 102 return AddInterceptor(pointerCb, nullptr); in AddInterceptor() 105 int32_t InputAdapter::AddInterceptor(std::function<void(std::shared_ptr<MMI::KeyEvent>)> keyCb) in AddInterceptor() function in OHOS::Msdp::DeviceStatus::InputAdapter 107 return AddInterceptor(nullptr, keyCb); in AddInterceptor() 110 int32_t InputAdapter::AddInterceptor(std::function<void(std::shared_ptr<MMI::PointerEvent>)> pointerCb, in AddInterceptor() function in OHOS::Msdp::DeviceStatus::InputAdapter 126 int32_t interceptorId = MMI::InputManager::GetInstance()->AddInterceptor(interceptor, DEFAULT_PRIORITY, tags); in AddInterceptor() 128 FI_HILOGE("AddInterceptor fail"); in AddInterceptor()
|
/foundation/multimodalinput/input/intention/prototype/include/ |
H A D | i_input_adapter.h | 38 virtual int32_t AddInterceptor(std::function<void(std::shared_ptr<MMI::PointerEvent>)> pointerCb) = 0; 39 virtual int32_t AddInterceptor(std::function<void(std::shared_ptr<MMI::KeyEvent>)> keyCb) = 0; 40 virtual int32_t AddInterceptor(std::function<void(std::shared_ptr<MMI::PointerEvent>)> pointerCb,
|
/foundation/multimodalinput/input/intention/adapters/input_adapter/include/ |
H A D | input_adapter.h | 36 int32_t AddInterceptor(std::function<void(std::shared_ptr<MMI::PointerEvent>)> pointerCb) override; 37 int32_t AddInterceptor(std::function<void(std::shared_ptr<MMI::KeyEvent>)> keyCb) override; 38 int32_t AddInterceptor(std::function<void(std::shared_ptr<MMI::PointerEvent>)> pointerCb,
|
/foundation/multimodalinput/input/frameworks/proxy/event_handler/include/ |
H A D | input_interceptor_manager.h | 32 int32_t AddInterceptor(std::shared_ptr<IInputEventConsumer> interceptor, HandleEventType eventType); 33 int32_t AddInterceptor(std::shared_ptr<IInputEventConsumer> interceptor, HandleEventType eventType,
|
/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/ |
H A D | input_interceptor_manager.cpp | 29 int32_t InputInterceptorManager::AddInterceptor(std::shared_ptr<IInputEventConsumer> interceptor, in AddInterceptor() function in OHOS::MMI::InputInterceptorManager 36 int32_t InputInterceptorManager::AddInterceptor(std::shared_ptr<IInputEventConsumer> interceptor, in AddInterceptor() function in OHOS::MMI::InputInterceptorManager
|
/foundation/multimodalinput/input/test/fuzztest/addinterceptor_fuzzer/ |
H A D | addinterceptor_fuzzer.cpp | 39 int32_t inceptorId = InputManager::GetInstance()->AddInterceptor(consumer); in AddInterceptorFuzzTest() 45 inceptorId = InputManager::GetInstance()->AddInterceptor(fun); in AddInterceptorFuzzTest()
|
/foundation/ability/ability_runtime/test/unittest/ability_interceptor_third_test/ |
H A D | ability_interceptor_third_test.cpp | 62 executer->AddInterceptor("CrowdTest", std::make_shared<CrowdTestInterceptor>()); in HWTEST_F() 80 executer->AddInterceptor("CrowdTest", std::make_shared<CrowdTestInterceptor>()); in HWTEST_F()
|
/foundation/multimodalinput/input/intention/cooperate/test/src/ |
H A D | test_context.cpp | 52 int32_t MockInputAdapter::AddInterceptor(std::function<void(std::shared_ptr<MMI::PointerEvent>)> pointerCb) in AddInterceptor() function in OHOS::Msdp::DeviceStatus::MockInputAdapter 57 int32_t MockInputAdapter::AddInterceptor(std::function<void(std::shared_ptr<MMI::KeyEvent>)> keyCb) in AddInterceptor() function in OHOS::Msdp::DeviceStatus::MockInputAdapter 62 int32_t MockInputAdapter::AddInterceptor(std::function<void(std::shared_ptr<MMI::PointerEvent>)> pointerCb, in AddInterceptor() function in OHOS::Msdp::DeviceStatus::MockInputAdapter
|
/foundation/multimodalinput/input/intention/cooperate/test/include/ |
H A D | test_context.h | 41 int32_t AddInterceptor(std::function<void(std::shared_ptr<MMI::PointerEvent>)> pointerCb) override; 42 int32_t AddInterceptor(std::function<void(std::shared_ptr<MMI::KeyEvent>)> keyCb) override; 43 int32_t AddInterceptor(std::function<void(std::shared_ptr<MMI::PointerEvent>)> pointerCb,
|
/foundation/ability/ability_runtime/test/unittest/ability_interceptor_test/ |
H A D | ability_interceptor_test.cpp | 99 executer->AddInterceptor("CrowdTest", std::make_shared<CrowdTestInterceptor>()); in HWTEST_F() 120 executer->AddInterceptor("CrowdTest", std::make_shared<CrowdTestInterceptor>()); in HWTEST_F() 142 executer->AddInterceptor("Control", std::make_shared<ControlInterceptor>()); in HWTEST_F() 163 executer->AddInterceptor("Control", std::make_shared<ControlInterceptor>()); in HWTEST_F() 184 executer->AddInterceptor("Control", std::make_shared<ControlInterceptor>()); in HWTEST_F() 205 executer->AddInterceptor("Control", std::make_shared<ControlInterceptor>()); in HWTEST_F() 228 executer->AddInterceptor("CrowdTest", std::make_shared<CrowdTestInterceptor>()); in HWTEST_F() 229 executer->AddInterceptor("Control", std::make_shared<ControlInterceptor>()); in HWTEST_F() 251 executer->AddInterceptor("DisposedRule", std::make_shared<DisposedRuleInterceptor>()); in HWTEST_F() 273 executer->AddInterceptor("Dispose in HWTEST_F() [all...] |
/foundation/multimodalinput/input/frameworks/proxy/events/test/ |
H A D | input_manager_simulate_test.cpp | 205 int32_t interceptorId{InputManager::GetInstance()->AddInterceptor(interceptor)}; in HWTEST_F() 244 int32_t interceptorId = InputManager::GetInstance()->AddInterceptor(interceptor); in HWTEST_F() 292 int32_t interceptorId = InputManager::GetInstance()->AddInterceptor(interceptor); in HWTEST_F() 338 int32_t interceptorId{InputManager::GetInstance()->AddInterceptor(interceptor)}; in HWTEST_F() 383 InputManager::GetInstance()->AddInterceptor(interceptor, INTERCEPTOR_PRIORITY_ONE, touchTags); in HWTEST_F() 432 InputManager::GetInstance()->AddInterceptor(interceptor2, INTERCEPTOR_PRIORITY_TWO, touchTags)}; in HWTEST_F() 434 InputManager::GetInstance()->AddInterceptor(interceptor1, INTERCEPTOR_PRIORITY_ONE, touchTags)}; in HWTEST_F() 485 int32_t interceptorId1{InputManager::GetInstance()->AddInterceptor( in HWTEST_F() 487 int32_t interceptorId2{InputManager::GetInstance()->AddInterceptor( in HWTEST_F() 533 int32_t interceptorId = InputManager::GetInstance()->AddInterceptor(fu in HWTEST_F() [all...] |
/foundation/barrierfree/accessibility/services/test/mock/multimodalinput/src/ |
H A D | mock_input_manager.cpp | 98 int32_t InputManager::AddInterceptor(std::shared_ptr<IInputEventConsumer> interceptorId) in AddInterceptor() function in OHOS::MMI::InputManager 105 int32_t InputManager::AddInterceptor(std::function<void(std::shared_ptr<KeyEvent>)> interceptor) in AddInterceptor() function in OHOS::MMI::InputManager
|
/foundation/multimodalinput/input/frameworks/native/input/ |
H A D | oh_input_interceptor.cpp | 38 keyInterceptorId_ = InputMgrImpl.AddInterceptor(shared_from_this(), DEFUALT_INTERCEPTOR_PRIORITY, in Start() 46 pointerInterceptorId_ = InputMgrImpl.AddInterceptor(shared_from_this(), in Start()
|
/foundation/ability/ability_runtime/test/unittest/ability_manager_service_fourth_test/mock/include/ |
H A D | mock_ability_interceptor_executer.h | 38 void AddInterceptor(std::string interceptorName, const std::shared_ptr<IAbilityInterceptor> &interceptor);
|
/foundation/ability/ability_runtime/services/abilitymgr/include/interceptor/ |
H A D | ability_interceptor_executer.h | 38 void AddInterceptor(std::string interceptorName, const std::shared_ptr<IAbilityInterceptor> &interceptor);
|
/foundation/multimodalinput/input/frameworks/proxy/events/src/ |
H A D | input_manager.cpp | 178 int32_t InputManager::AddInterceptor(std::shared_ptr<IInputEventConsumer> interceptor) in AddInterceptor() function in OHOS::MMI::InputManager 180 return InputMgrImpl.AddInterceptor(interceptor); in AddInterceptor() 183 int32_t InputManager::AddInterceptor(std::function<void(std::shared_ptr<KeyEvent>)> interceptor) in AddInterceptor() function in OHOS::MMI::InputManager 185 return InputMgrImpl.AddInterceptor(interceptor); in AddInterceptor() 188 int32_t InputManager::AddInterceptor(std::shared_ptr<IInputEventConsumer> interceptor, int32_t priority, in AddInterceptor() function in OHOS::MMI::InputManager 191 return InputMgrImpl.AddInterceptor(interceptor, priority, deviceTags); in AddInterceptor()
|
/foundation/ability/ability_runtime/services/abilitymgr/src/interceptor/ |
H A D | ability_interceptor_executer.cpp | 21 void AbilityInterceptorExecuter::AddInterceptor(std::string interceptorName, in AddInterceptor() function in OHOS::AAFwk::AbilityInterceptorExecuter
|
/foundation/multimodalinput/input/intention/adapters/test/unittest/src/ |
H A D | input_adapter_test.cpp | 154 int32_t interceptorId = inputAdapter->AddInterceptor(callback); in HWTEST_F() 174 int32_t interceptorId = inputAdapter->AddInterceptor(callback); in HWTEST_F() 197 int32_t interceptorId = inputAdapter->AddInterceptor(pointerCallback, keyCallback); in HWTEST_F()
|
/foundation/multimodalinput/input/service/interceptor/test/ |
H A D | event_interceptor_handler_test.cpp | 193 * @tc.desc: Test AddInterceptor 221 ASSERT_NO_FATAL_FAILURE(interceptorHandler.AddInterceptor(interceptorFirst)); in HWTEST_F() 226 * @tc.desc: Test AddInterceptor 245 ASSERT_NO_FATAL_FAILURE(interceptorHandler.AddInterceptor(interceptorFirst)); in HWTEST_F() 250 * @tc.desc: Test AddInterceptor 276 ASSERT_NO_FATAL_FAILURE(interceptorHandler.AddInterceptor(interceptorFirst)); in HWTEST_F() 281 * @tc.desc: Test AddInterceptor 307 ASSERT_NO_FATAL_FAILURE(interceptorHandler.AddInterceptor(interceptorFirst)); in HWTEST_F()
|
/foundation/multimodalinput/input/interfaces/native/innerkits/proxy/include/ |
H A D | input_manager.h | 259 int32_t AddInterceptor(std::shared_ptr<IInputEventConsumer> interceptor); 260 int32_t AddInterceptor(std::function<void(std::shared_ptr<KeyEvent>)> interceptor); 261 int32_t AddInterceptor(std::shared_ptr<IInputEventConsumer> interceptor, int32_t priority, uint32_t deviceTags); 265 * @param interceptorId Indicates the interceptor ID, which is the return value of <b>AddInterceptor</b>.
|
/foundation/ability/ability_runtime/test/fuzztest/abilitymgrinterceptorexecuter_fuzzer/ |
H A D | abilitymgrinterceptorexecuter_fuzzer.cpp | 70 executer->AddInterceptor(jsonStr, interceptor); in DoSomethingInterestingWithMyAPI()
|
/foundation/multimodalinput/input/service/interceptor/include/ |
H A D | event_interceptor_handler.h | 87 int32_t AddInterceptor(const SessionHandler& interceptor);
|
/foundation/barrierfree/accessibility/services/aams/src/ |
H A D | accessibility_input_interceptor.cpp | 245 interceptorId_ = inputManager_->AddInterceptor(inputEventConsumer_); in UpdateInterceptor() 248 interceptorId_ = inputManager_->AddInterceptor(inputEventConsumer_, PRIORITY_EVENT, in UpdateInterceptor()
|
/foundation/multimodalinput/input/intention/cooperate/plugin/src/input_event_transmission/ |
H A D | input_event_interceptor.cpp | 61 interceptorId_ = env_->GetInput().AddInterceptor( in Enable() 65 FI_HILOGE("Input::AddInterceptor fail"); in Enable()
|
/foundation/multimodalinput/input/service/interceptor/src/ |
H A D | event_interceptor_handler.cpp | 98 return interceptors_.AddInterceptor(interceptor); in AddInputHandler() 307 int32_t EventInterceptorHandler::InterceptorCollection::AddInterceptor(const SessionHandler& interceptor) in AddInterceptor() function in OHOS::MMI::EventInterceptorHandler::InterceptorCollection
|