Home
last modified time | relevance | path

Searched refs:AddInterceptor (Results 1 - 25 of 33) sorted by relevance

12

/foundation/multimodalinput/input/intention/adapters/input_adapter/src/
H A Dinput_adapter.cpp100 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 Di_input_adapter.h38 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 Dinput_adapter.h36 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 Dinput_interceptor_manager.h32 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 Dinput_interceptor_manager.cpp29 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 Daddinterceptor_fuzzer.cpp39 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 Dability_interceptor_third_test.cpp62 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 Dtest_context.cpp52 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 Dtest_context.h41 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 Dability_interceptor_test.cpp99 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 Dinput_manager_simulate_test.cpp205 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 Dmock_input_manager.cpp98 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 Doh_input_interceptor.cpp38 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 Dmock_ability_interceptor_executer.h38 void AddInterceptor(std::string interceptorName, const std::shared_ptr<IAbilityInterceptor> &interceptor);
/foundation/ability/ability_runtime/services/abilitymgr/include/interceptor/
H A Dability_interceptor_executer.h38 void AddInterceptor(std::string interceptorName, const std::shared_ptr<IAbilityInterceptor> &interceptor);
/foundation/multimodalinput/input/frameworks/proxy/events/src/
H A Dinput_manager.cpp178 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 Dability_interceptor_executer.cpp21 void AbilityInterceptorExecuter::AddInterceptor(std::string interceptorName, in AddInterceptor() function in OHOS::AAFwk::AbilityInterceptorExecuter
/foundation/multimodalinput/input/intention/adapters/test/unittest/src/
H A Dinput_adapter_test.cpp154 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 Devent_interceptor_handler_test.cpp193 * @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 Dinput_manager.h259 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 Dabilitymgrinterceptorexecuter_fuzzer.cpp70 executer->AddInterceptor(jsonStr, interceptor); in DoSomethingInterestingWithMyAPI()
/foundation/multimodalinput/input/service/interceptor/include/
H A Devent_interceptor_handler.h87 int32_t AddInterceptor(const SessionHandler& interceptor);
/foundation/barrierfree/accessibility/services/aams/src/
H A Daccessibility_input_interceptor.cpp245 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 Dinput_event_interceptor.cpp61 interceptorId_ = env_->GetInput().AddInterceptor( in Enable()
65 FI_HILOGE("Input::AddInterceptor fail"); in Enable()
/foundation/multimodalinput/input/service/interceptor/src/
H A Devent_interceptor_handler.cpp98 return interceptors_.AddInterceptor(interceptor); in AddInputHandler()
307 int32_t EventInterceptorHandler::InterceptorCollection::AddInterceptor(const SessionHandler& interceptor) in AddInterceptor() function in OHOS::MMI::EventInterceptorHandler::InterceptorCollection

Completed in 13 milliseconds

12