/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() 207 EXPECT_TRUE(IsValidHandlerId(interceptorId)); in HWTEST_F() 209 EXPECT_EQ(interceptorId, ERROR_UNSUPPORT); in HWTEST_F() 213 if (IsValidHandlerId(interceptorId)) { in HWTEST_F() 214 InputManager::GetInstance()->RemoveInterceptor(interceptorId); in HWTEST_F() 244 int32_t interceptorId = InputManager::GetInstance()->AddInterceptor(interceptor); in HWTEST_F() local 246 EXPECT_TRUE(IsValidHandlerId(interceptorId)); in HWTEST_F() 248 EXPECT_EQ(interceptorId, ERROR_UNSUPPORT); in HWTEST_F() 261 if (IsValidHandlerId(interceptorId)) { in HWTEST_F() 262 InputManager::GetInstance()->RemoveInterceptor(interceptorId); in HWTEST_F() 292 int32_t interceptorId = InputManager::GetInstance()->AddInterceptor(interceptor); HWTEST_F() local 382 int32_t interceptorId = HWTEST_F() local 533 int32_t interceptorId = InputManager::GetInstance()->AddInterceptor(fun); HWTEST_F() local [all...] |
/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() local 155 ASSERT_FALSE(interceptorId > 0); in HWTEST_F() 156 inputAdapter->RemoveInterceptor(interceptorId); in HWTEST_F() 174 int32_t interceptorId = inputAdapter->AddInterceptor(callback); in HWTEST_F() local 175 ASSERT_FALSE(interceptorId > 0); in HWTEST_F() 176 inputAdapter->RemoveInterceptor(interceptorId); in HWTEST_F() 197 int32_t interceptorId = inputAdapter->AddInterceptor(pointerCallback, keyCallback); in HWTEST_F() local 198 ASSERT_FALSE(interceptorId > 0); in HWTEST_F() 199 inputAdapter->RemoveInterceptor(interceptorId); in HWTEST_F()
|
/foundation/multimodalinput/input/test/fuzztest/removeinterceptor_fuzzer/ |
H A D | removeinterceptor_fuzzer.cpp | 33 int32_t interceptorId = *(reinterpret_cast<const int32_t*>(data)); in RemoveInterceptorFuzzTest() local 34 InputManager::GetInstance()->RemoveInterceptor(interceptorId); in RemoveInterceptorFuzzTest()
|
/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/ |
H A D | input_interceptor_manager.cpp | 43 int32_t InputInterceptorManager::RemoveInterceptor(int32_t interceptorId) in RemoveInterceptor() argument 45 return RemoveHandler(interceptorId, InputHandlerType::INTERCEPTOR); in RemoveInterceptor()
|
H A D | input_manager_impl.cpp | 972 int32_t InputManagerImpl::RemoveInterceptor(int32_t interceptorId) in RemoveInterceptor() argument 981 return InputInterMgr->RemoveInterceptor(interceptorId); in RemoveInterceptor()
|
/foundation/multimodalinput/input/intention/adapters/input_adapter/src/ |
H A D | input_adapter.cpp | 126 int32_t interceptorId = MMI::InputManager::GetInstance()->AddInterceptor(interceptor, DEFAULT_PRIORITY, tags); in AddInterceptor() local 127 if (interceptorId < 0) { in AddInterceptor() 130 return interceptorId; in AddInterceptor() 133 void InputAdapter::RemoveInterceptor(int32_t interceptorId) in RemoveInterceptor() argument 135 MMI::InputManager::GetInstance()->RemoveInterceptor(interceptorId); in RemoveInterceptor()
|
/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() argument 101 mockInputEventConsumer = interceptorId; in AddInterceptor() 118 void InputManager::RemoveInterceptor(int32_t interceptorId) in RemoveInterceptor() argument
|
/foundation/multimodalinput/input/frameworks/proxy/event_handler/include/ |
H A D | input_interceptor_manager.h | 35 int32_t RemoveInterceptor(int32_t interceptorId);
|
H A D | input_manager_impl.h | 117 int32_t RemoveInterceptor(int32_t interceptorId);
|
/foundation/multimodalinput/input/intention/prototype/include/ |
H A D | i_input_adapter.h | 42 virtual void RemoveInterceptor(int32_t interceptorId) = 0;
|
/foundation/multimodalinput/input/intention/adapters/input_adapter/include/ |
H A D | input_adapter.h | 40 void RemoveInterceptor(int32_t interceptorId) override;
|
/foundation/multimodalinput/input/intention/cooperate/test/src/ |
H A D | test_context.cpp | 68 void MockInputAdapter::RemoveInterceptor(int32_t interceptorId) in RemoveInterceptor() argument
|
/foundation/multimodalinput/input/intention/cooperate/test/include/ |
H A D | test_context.h | 45 void RemoveInterceptor(int32_t interceptorId) override;
|
/foundation/multimodalinput/input/frameworks/proxy/events/include/ |
H A D | input_manager_util.h | 80 static void TestInterceptorIdAndPointerEvent(int32_t interceptorId, std::shared_ptr<PointerEvent> pointerEvent);
|
/foundation/multimodalinput/input/frameworks/proxy/events/src/ |
H A D | input_manager_util.cpp | 981 int32_t interceptorId, std::shared_ptr<PointerEvent> pointerEvent) in TestInterceptorIdAndPointerEvent() 984 EXPECT_TRUE(IsValidHandlerId(interceptorId)); in TestInterceptorIdAndPointerEvent() 986 EXPECT_EQ(interceptorId, ERROR_UNSUPPORT); in TestInterceptorIdAndPointerEvent() 994 if (IsValidHandlerId(interceptorId)) { in TestInterceptorIdAndPointerEvent() 995 InputManager::GetInstance()->RemoveInterceptor(interceptorId); in TestInterceptorIdAndPointerEvent() 980 TestInterceptorIdAndPointerEvent( int32_t interceptorId, std::shared_ptr<PointerEvent> pointerEvent) TestInterceptorIdAndPointerEvent() argument
|
H A D | input_manager.cpp | 194 void InputManager::RemoveInterceptor(int32_t interceptorId) in RemoveInterceptor() argument 196 InputMgrImpl.RemoveInterceptor(interceptorId); in RemoveInterceptor()
|
/foundation/multimodalinput/input/interfaces/native/innerkits/proxy/include/ |
H A D | input_manager.h | 265 * @param interceptorId Indicates the interceptor ID, which is the return value of <b>AddInterceptor</b>. 269 void RemoveInterceptor(int32_t interceptorId);
|