/ohos5.0/foundation/multimodalinput/input/test/fuzztest/inputdevicemanager_fuzzer/ |
H A D | inputdevicemanager_fuzzer.cpp | 50 INPUT_DEV_MGR->GetInputDeviceIds(); in InputDeviceManagerFuzzTest() 57 INPUT_DEV_MGR->AddDevListener(session); in InputDeviceManagerFuzzTest() 60 INPUT_DEV_MGR->HasPointerDevice(); in InputDeviceManagerFuzzTest() 62 INPUT_DEV_MGR->HasTouchDevice(); in InputDeviceManagerFuzzTest() 64 INPUT_DEV_MGR->ScanPointerDevice(); in InputDeviceManagerFuzzTest() 66 INPUT_DEV_MGR->Attach(observer); in InputDeviceManagerFuzzTest() 67 INPUT_DEV_MGR->Detach(observer); in InputDeviceManagerFuzzTest() 69 INPUT_DEV_MGR->IsRemote(id); in InputDeviceManagerFuzzTest() 70 INPUT_DEV_MGR->GetVendorConfig(deviceId); in InputDeviceManagerFuzzTest() 79 INPUT_DEV_MGR->OnSessionLost(session); in InputDeviceManagerFuzzTest() [all …]
|
/ohos5.0/foundation/multimodalinput/input/service/touch_event_normalize/test/src/ |
H A D | touchpad_transform_processor_test.cpp | 81 INPUT_DEV_MGR->OnInputDeviceAdded(device); in SetupTouchpad() 420 auto iter = INPUT_DEV_MGR->inputDevice_.begin(); 456 auto iter = INPUT_DEV_MGR->inputDevice_.begin(); 493 auto iter = INPUT_DEV_MGR->inputDevice_.begin(); 533 auto iter = INPUT_DEV_MGR->inputDevice_.begin(); 573 auto iter = INPUT_DEV_MGR->inputDevice_.begin(); 610 auto iter = INPUT_DEV_MGR->inputDevice_.begin(); 648 auto iter = INPUT_DEV_MGR->inputDevice_.begin(); 683 auto iter = INPUT_DEV_MGR->inputDevice_.begin(); 730 auto iter = INPUT_DEV_MGR->inputDevice_.begin(); [all …]
|
/ohos5.0/foundation/multimodalinput/input/service/mouse_event_normalize/test/src/ |
H A D | mouse_event_normalize_test.cpp | 79 INPUT_DEV_MGR->OnInputDeviceAdded(device); in SetupMouse() 180 auto iter = INPUT_DEV_MGR->inputDevice_.begin(); 186 ASSERT_TRUE(iter != INPUT_DEV_MGR->inputDevice_.end()); 189 INPUT_DEV_MGR->inputDevice_.erase(iter); 194 INPUT_DEV_MGR->inputDevice_[deviceId] = info; 216 int32_t deviceId = INPUT_DEV_MGR->FindInputDeviceId(dev); 531 auto it = INPUT_DEV_MGR->inputDevice_.begin(); 532 for (; it != INPUT_DEV_MGR->inputDevice_.end(); ++it) { 537 ASSERT_TRUE(it != INPUT_DEV_MGR->inputDevice_.end()); 540 INPUT_DEV_MGR->inputDevice_.erase(it); [all …]
|
/ohos5.0/foundation/multimodalinput/input/service/device_manager/test/ |
H A D | input_device_manager_test.cpp | 314 int32_t ret = INPUT_DEV_MGR->AddVirtualInputDevice(device, deviceId); 1354 ASSERT_EQ(INPUT_DEV_MGR->OnEnableInputDevice(enable), RET_OK); 1355 INPUT_DEV_MGR->inputDevice_.clear(); 1382 ASSERT_EQ(INPUT_DEV_MGR->OnEnableInputDevice(enable), RET_OK); 1383 INPUT_DEV_MGR->inputDevice_.clear(); 1403 ASSERT_NO_FATAL_FAILURE(INPUT_DEV_MGR->GetTouchPadIds()); 1422 ASSERT_NO_FATAL_FAILURE(INPUT_DEV_MGR->GetTouchPadIds()); 1439 bool ret1 = INPUT_DEV_MGR->IsMatchKeys(device, keyCodes); 1542 bool ret1 = INPUT_DEV_MGR->IsMatchKeys(device, keyCodes); 1562 INPUT_DEV_MGR->inputDevice_.clear(); [all …]
|
/ohos5.0/foundation/multimodalinput/input/service/event_handler/src/ |
H A D | key_map_manager.cpp | 55 int32_t deviceId = INPUT_DEV_MGR->FindInputDeviceId(device); in ParseDeviceConfigFile() 62 int32_t deviceId = INPUT_DEV_MGR->FindInputDeviceId(device); in RemoveKeyValue() 115 int32_t deviceId = INPUT_DEV_MGR->FindInputDeviceId(device); in TransferDeviceKeyValue()
|
H A D | key_auto_repeat.cpp | 66 int32_t deviceId = INPUT_DEV_MGR->FindInputDeviceId(device); in AddDeviceConfig() 214 int32_t deviceId = INPUT_DEV_MGR->FindInputDeviceId(device); in RemoveDeviceConfig()
|
H A D | event_normalize_handler.cpp | 239 INPUT_DEV_MGR->OnInputDeviceAdded(device); in OnEventDeviceAdded() 255 INPUT_DEV_MGR->OnInputDeviceRemoved(device); in OnEventDeviceRemoved() 363 auto device = INPUT_DEV_MGR->GetInputDevice(keyEvent->GetDeviceId()); in HandleKeyboardEvent() 835 auto ids = INPUT_DEV_MGR->GetTouchPadIds(); in RestoreTouchPadStatus()
|
/ohos5.0/foundation/multimodalinput/input/service/mouse_event_normalize/src/ |
H A D | mouse_event_normalize.cpp | 97 int32_t deviceId = INPUT_DEV_MGR->FindInputDeviceId(device); in OnEvent() 145 int32_t deviceId = INPUT_DEV_MGR->FindInputDeviceId(device); in NormalizeRotateEvent() 166 int32_t deviceId = INPUT_DEV_MGR->FindInputDeviceId(device); in CheckAndPackageAxisEvent()
|
H A D | mouse_transform_processor.cpp | 709 bool bHasPointerDevice = INPUT_DEV_MGR->HasPointerDevice(); in NormalizeMoveMouse() 729 auto device = INPUT_DEV_MGR->GetInputDevice(nowId); in DumpInner()
|
/ohos5.0/foundation/multimodalinput/input/service/key_event_normalize/src/ |
H A D | key_event_normalize.cpp | 61 int32_t deviceId = INPUT_DEV_MGR->FindInputDeviceId(device); in Normalize() 135 if (INPUT_DEV_MGR->IsKeyboardDevice(device) || INPUT_DEV_MGR->IsPointerDevice(device)) { in ResetKeyEvent()
|
/ohos5.0/foundation/multimodalinput/input/service/event_dump/src/ |
H A D | event_dump.cpp | 141 INPUT_DEV_MGR->Dump(fd, args); in ParseCommand() 145 INPUT_DEV_MGR->DumpDeviceList(fd, args); in ParseCommand()
|
/ohos5.0/foundation/multimodalinput/input/service/filter/src/ |
H A D | event_filter_handler.cpp | 166 …std::shared_ptr<InputDevice> inputDevice = INPUT_DEV_MGR->GetInputDevice(keyItems.front().GetDevic… in HandleKeyEventFilter() 188 std::shared_ptr<InputDevice> inputDevice = INPUT_DEV_MGR->GetInputDevice(event->GetDeviceId()); in HandlePointerEventFilter()
|
/ohos5.0/foundation/multimodalinput/input/service/crown_transform_processor/src/ |
H A D | crown_transform_processor.cpp | 90 int32_t deviceId = INPUT_DEV_MGR->FindInputDeviceId(device); in NormalizeRotateEvent() 236 auto device = INPUT_DEV_MGR->GetInputDevice(pointerEvent_->GetDeviceId()); in DumpInner()
|
/ohos5.0/foundation/multimodalinput/input/service/event_dump/test/ |
H A D | event_dump_test.cpp | 152 ASSERT_NO_FATAL_FAILURE(INPUT_DEV_MGR->Dump(fd_, args)); 168 ASSERT_NO_FATAL_FAILURE(INPUT_DEV_MGR->DumpDeviceList(fd_, args));
|
/ohos5.0/foundation/multimodalinput/input/service/interceptor/src/ |
H A D | event_interceptor_handler.cpp | 232 …std::shared_ptr<InputDevice> inputDevice = INPUT_DEV_MGR->GetInputDevice(keyItems.front().GetDevic… in HandleEvent() 272 …std::shared_ptr<InputDevice> inputDevice = INPUT_DEV_MGR->GetInputDevice(pointerItem.GetDeviceId()… in HandleEvent()
|
/ohos5.0/foundation/multimodalinput/input/service/touch_event_normalize/src/ |
H A D | touch_event_normalize.cpp | 44 auto deviceId = INPUT_DEV_MGR->FindInputDeviceId(device); in OnLibInput()
|
H A D | touchpad_transform_processor.cpp | 241 auto device = INPUT_DEV_MGR->GetInputDevice(pointerEvent_->GetDeviceId()); in OnEvent() 579 auto originDevice = INPUT_DEV_MGR->GetTouchPadDeviceOrigin(); in SetTouchpadDoubleTapAndDragState()
|
H A D | touch_transform_processor.cpp | 239 auto device = INPUT_DEV_MGR->GetInputDevice(nowId); in DumpInner()
|
/ohos5.0/foundation/multimodalinput/input/service/device_manager/include/ |
H A D | input_device_manager.h | 127 #define INPUT_DEV_MGR ::OHOS::MMI::InputDeviceManager::GetInstance() macro
|
/ohos5.0/foundation/multimodalinput/input/service/module_loader/src/ |
H A D | mmi_service.cpp | 1073 int32_t ret = INPUT_DEV_MGR->SupportKeys(deviceId, keys, keystroke); in OnSupportKeys() 1103 ids = INPUT_DEV_MGR->GetInputDeviceIds(); in OnGetDeviceIds() 1125 if (INPUT_DEV_MGR->GetInputDevice(deviceId) == nullptr) { in OnGetDevice() 1129 auto tmpDevice = INPUT_DEV_MGR->GetInputDevice(deviceId); in OnGetDevice() 1164 INPUT_DEV_MGR->AddDevListener(sess); in OnRegisterDevListener() 1187 INPUT_DEV_MGR->RemoveDevListener(sess); in OnUnregisterDevListener() 1210 int32_t ret = INPUT_DEV_MGR->GetKeyboardType(deviceId, keyboardType); in OnGetKeyboardType() 1932 auto deviceIds = INPUT_DEV_MGR->GetInputDeviceIds(); in AddReloadDeviceTimer()
|
/ohos5.0/foundation/multimodalinput/input/service/window_manager/src/ |
H A D | pointer_drawing_manager.cpp | 178 …if (!WIN_MGR->HasMouseHideFlag() || INPUT_DEV_MGR->HasPointerDevice() || INPUT_DEV_MGR->HasVirtual… in ForceClearPointerVisiableStatus() 1565 INPUT_DEV_MGR->Attach(shared_from_this()); in Init() 1614 if (!(INPUT_DEV_MGR->HasPointerDevice() || WIN_MGR->IsMouseSimulate()) || pid_ == 0) { in IsPointerVisible() 1729 …if (!WIN_MGR->HasMouseHideFlag() || INPUT_DEV_MGR->HasPointerDevice() || INPUT_DEV_MGR->HasVirtual… in SetPointerVisible() 1900 if (!INPUT_DEV_MGR->HasPointerDevice() && !WIN_MGR->IsMouseSimulate()) { in SetPointerStyle()
|
/ohos5.0/foundation/multimodalinput/input/service/crown_transform_processor/test/src/ |
H A D | crown_transform_processor_test.cpp | 77 INPUT_DEV_MGR->OnInputDeviceAdded(device); in SetupCrown()
|
/ohos5.0/foundation/multimodalinput/input/service/dfx/src/ |
H A D | dfx_hisysevent.cpp | 77 std::shared_ptr<InputDevice> dev = INPUT_DEV_MGR->GetInputDevice(id); in OnDeviceConnect() 125 std::shared_ptr dev = INPUT_DEV_MGR->GetInputDevice(id); in OnDeviceDisconnect()
|
/ohos5.0/foundation/multimodalinput/input/service/key_event_normalize/test/ |
H A D | key_event_normalize_test.cpp | 74 INPUT_DEV_MGR->OnInputDeviceAdded(device); in SetupKeyboard()
|
/ohos5.0/foundation/multimodalinput/input/service/event_handler/test/ |
H A D | input_event_handler_test.cpp | 83 INPUT_DEV_MGR->OnInputDeviceAdded(device); in SetupTouchpad()
|