Home
last modified time | relevance | path

Searched refs:INPUT_DEV_MGR (Results 1 – 25 of 30) sorted by relevance

12

/ohos5.0/foundation/multimodalinput/input/test/fuzztest/inputdevicemanager_fuzzer/
H A Dinputdevicemanager_fuzzer.cpp50 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 Dtouchpad_transform_processor_test.cpp81 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 Dmouse_event_normalize_test.cpp79 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 Dinput_device_manager_test.cpp314 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 Dkey_map_manager.cpp55 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 Dkey_auto_repeat.cpp66 int32_t deviceId = INPUT_DEV_MGR->FindInputDeviceId(device); in AddDeviceConfig()
214 int32_t deviceId = INPUT_DEV_MGR->FindInputDeviceId(device); in RemoveDeviceConfig()
H A Devent_normalize_handler.cpp239 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 Dmouse_event_normalize.cpp97 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 Dmouse_transform_processor.cpp709 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 Dkey_event_normalize.cpp61 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 Devent_dump.cpp141 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 Devent_filter_handler.cpp166 …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 Dcrown_transform_processor.cpp90 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 Devent_dump_test.cpp152 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 Devent_interceptor_handler.cpp232 …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 Dtouch_event_normalize.cpp44 auto deviceId = INPUT_DEV_MGR->FindInputDeviceId(device); in OnLibInput()
H A Dtouchpad_transform_processor.cpp241 auto device = INPUT_DEV_MGR->GetInputDevice(pointerEvent_->GetDeviceId()); in OnEvent()
579 auto originDevice = INPUT_DEV_MGR->GetTouchPadDeviceOrigin(); in SetTouchpadDoubleTapAndDragState()
H A Dtouch_transform_processor.cpp239 auto device = INPUT_DEV_MGR->GetInputDevice(nowId); in DumpInner()
/ohos5.0/foundation/multimodalinput/input/service/device_manager/include/
H A Dinput_device_manager.h127 #define INPUT_DEV_MGR ::OHOS::MMI::InputDeviceManager::GetInstance() macro
/ohos5.0/foundation/multimodalinput/input/service/module_loader/src/
H A Dmmi_service.cpp1073 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 Dpointer_drawing_manager.cpp178 …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 Dcrown_transform_processor_test.cpp77 INPUT_DEV_MGR->OnInputDeviceAdded(device); in SetupCrown()
/ohos5.0/foundation/multimodalinput/input/service/dfx/src/
H A Ddfx_hisysevent.cpp77 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 Dkey_event_normalize_test.cpp74 INPUT_DEV_MGR->OnInputDeviceAdded(device); in SetupKeyboard()
/ohos5.0/foundation/multimodalinput/input/service/event_handler/test/
H A Dinput_event_handler_test.cpp83 INPUT_DEV_MGR->OnInputDeviceAdded(device); in SetupTouchpad()

12