Home
last modified time | relevance | path

Searched refs:inputDevice_ (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/multimodalinput/input/service/touch_event_normalize/test/src/
H A Dtouchpad_transform_processor_test.cpp420 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 Dinput_device_manager.cpp99 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 Dinput_device_manager_test.cpp67 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 Dres_config_impl.cpp51 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 Dmouse_event_normalize_test.cpp180 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 Ddistributed_input_source_manager.cpp177 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 Dres_config_impl.h257 InputDevice inputDevice_; variable
/ohos5.0/foundation/multimodalinput/input/service/device_manager/include/
H A Dinput_device_manager.h113 std::map<int32_t, struct InputDeviceInfo> inputDevice_;
/ohos5.0/foundation/distributedhardware/distributed_input/services/source/sourcemanager/test/sourcemanagerunittest/
H A Ddistributed_input_sourcemanager_test.cpp226 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 Devent_normalize_handler_ex_test.cpp210 inputDevice.inputDevice_.insert(std::make_pair(deviceId, inDevice));
/ohos5.0/foundation/distributedhardware/distributed_input/services/source/sourcemanager/include/
H A Ddistributed_input_source_manager.h454 std::vector<InputDeviceId> inputDevice_; variable
/ohos5.0/foundation/multimodalinput/input/service/window_manager/test/
H A Dinput_windows_manager_test.cpp3481 INPUT_DEV_MGR->inputDevice_.insert(std::make_pair(deviceId, inputDeviceInfo));
3523 INPUT_DEV_MGR->inputDevice_.insert(std::make_pair(deviceId, inputDeviceInfo));