/ohos5.0/foundation/multimodalinput/input/service/touch_event_normalize/test/src/ |
H A D | touchpad_transform_processor_test.cpp | 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(); 768 auto iter = INPUT_DEV_MGR->inputDevice_.begin(); [all …]
|
/ohos5.0/foundation/multimodalinput/input/service/device_manager/src/ |
H A D | input_device_manager.cpp | 99 if (iter == inputDevice_.end()) { in GetInputDevice() 179 if (iter == inputDevice_.end()) { in SupportKeys() 211 if (auto iter = inputDevice_.find(deviceId); iter == inputDevice_.end()) { in GetDeviceConfig() 291 if (iter == inputDevice_.end()) { in GetKeyboardType() 328 for (auto it = inputDevice_.begin(); it != inputDevice_.end(); ++it) { in HasPointerDevice() 350 for (auto it = inputDevice_.begin(); it != inputDevice_.end(); ++it) { in HasTouchDevice() 437 inputDevice_[deviceId] = info; in OnInputDeviceAdded() 486 for (auto it = inputDevice_.begin(); it != inputDevice_.end(); ++it) { in OnInputDeviceRemoved() 491 inputDevice_.erase(it); in OnInputDeviceRemoved() 525 for (auto it = inputDevice_.begin(); it != inputDevice_.end(); ++it) { in ScanPointerDevice() [all …]
|
/ohos5.0/foundation/multimodalinput/input/service/device_manager/test/ |
H A D | input_device_manager_test.cpp | 67 manager.inputDevice_[1] = info1; 71 manager.inputDevice_[2] = info2; 75 manager.inputDevice_[3] = info3; 95 manager.inputDevice_[1] = info; 119 manager.inputDevice_[1] = info; 428 inputDeviceManager.inputDevice_[deviceId].enable = false; 1308 inputDevice.inputDevice_.insert(std::make_pair(deviceId, inDevice)); 1355 INPUT_DEV_MGR->inputDevice_.clear(); 1383 INPUT_DEV_MGR->inputDevice_.clear(); 1421 inputDevice.inputDevice_.clear(); [all …]
|
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/ |
H A D | res_config_impl.cpp | 51 inputDevice_(INPUTDEVICE_NOT_SET), in ResConfigImpl() 177 this->inputDevice_ = inputDevice; in SetInputDevice() 264 return this->inputDevice_; in GetInputDevice() 445 if (!IsInputDeviceMatch(other->inputDevice_)) { in Match() 499 if (this->inputDevice_ == INPUTDEVICE_NOT_SET && inputDevice != INPUTDEVICE_NOT_SET) { in IsInputDeviceMatch() 504 if (this->inputDevice_ != inputDevice) { in IsInputDeviceMatch() 557 if (this->inputDevice_ != other->inputDevice_ && in IsMoreSuitable() 558 request->inputDevice_ != InputDevice::INPUTDEVICE_NOT_SET) { in IsMoreSuitable() 559 return this->inputDevice_ != InputDevice::INPUTDEVICE_NOT_SET; in IsMoreSuitable() 719 if (this->inputDevice_ != other->inputDevice_) { in IsMoreSpecificThan() [all …]
|
/ohos5.0/foundation/multimodalinput/input/service/mouse_event_normalize/test/src/ |
H A D | mouse_event_normalize_test.cpp | 180 auto iter = INPUT_DEV_MGR->inputDevice_.begin(); 181 for (; iter != INPUT_DEV_MGR->inputDevice_.end(); ++iter) { 186 ASSERT_TRUE(iter != INPUT_DEV_MGR->inputDevice_.end()); 189 INPUT_DEV_MGR->inputDevice_.erase(iter); 194 INPUT_DEV_MGR->inputDevice_[deviceId] = info; 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); 544 INPUT_DEV_MGR->inputDevice_[deviceId] = info;
|
/ohos5.0/foundation/distributedhardware/distributed_input/services/source/sourcemanager/src/ |
H A D | distributed_input_source_manager.cpp | 177 for (auto iter = inputDevice_.begin(); iter != inputDevice_.end(); ++iter) { in Release() 188 inputDevice_.clear(); in Release() 283 auto it = std::find(inputDevice_.begin(), inputDevice_.end(), inputDeviceId); in RegisterDistributedHardware() 284 if (it != inputDevice_.end()) { in RegisterDistributedHardware() 322 for (auto iter = inputDevice_.begin(); iter != inputDevice_.end(); ++iter) { in handleStartServerCallback() 394 if (it == inputDevice_.end()) { in CheckDeviceIsExists() 416 inputDevice_.erase(it); in DeleteInputDeviceNodeInfo() 453 auto it = inputDevice_.begin(); in UnregisterDistributedHardware() 1488 return inputDevice_; in GetInputDeviceId() 1495 auto it = std::find(inputDevice_.begin(), inputDevice_.end(), inputDeviceId); in RemoveInputDeviceId() [all …]
|
/ohos5.0/base/global/resource_management/frameworks/resmgr/include/ |
H A D | res_config_impl.h | 257 InputDevice inputDevice_; variable
|
/ohos5.0/foundation/multimodalinput/input/service/device_manager/include/ |
H A D | input_device_manager.h | 113 std::map<int32_t, struct InputDeviceInfo> inputDevice_;
|
/ohos5.0/foundation/distributedhardware/distributed_input/services/source/sourcemanager/test/sourcemanagerunittest/ |
H A D | distributed_input_sourcemanager_test.cpp | 226 EXPECT_EQ(0, sourceManager_->inputDevice_.size()); 230 EXPECT_EQ(0, sourceManager_->inputDevice_.size()); 314 sourceManager_->inputDevice_.push_back(inputDeviceId); 324 sourceManager_->inputDevice_.push_back(inputDeviceId); 326 EXPECT_EQ(1, sourceManager_->inputDevice_.size()); 390 sourceManager_->inputDevice_.push_back(inputDeviceId); 391 auto it = sourceManager_->inputDevice_.begin(); 1603 EXPECT_EQ(0, sourceManager_->inputDevice_.size()); 1606 sourceManager_->inputDevice_.push_back(inputDeviceId); 1608 EXPECT_EQ(0, sourceManager_->inputDevice_.size());
|
/ohos5.0/foundation/multimodalinput/input/service/event_handler/test/ |
H A D | event_normalize_handler_ex_test.cpp | 210 inputDevice.inputDevice_.insert(std::make_pair(deviceId, inDevice));
|
/ohos5.0/foundation/distributedhardware/distributed_input/services/source/sourcemanager/include/ |
H A D | distributed_input_source_manager.h | 454 std::vector<InputDeviceId> inputDevice_; variable
|
/ohos5.0/foundation/multimodalinput/input/service/window_manager/test/ |
H A D | input_windows_manager_test.cpp | 3481 INPUT_DEV_MGR->inputDevice_.insert(std::make_pair(deviceId, inputDeviceInfo)); 3523 INPUT_DEV_MGR->inputDevice_.insert(std::make_pair(deviceId, inputDeviceInfo));
|