Home
last modified time | relevance | path

Searched refs:devNode (Results 1 - 9 of 9) sorted by relevance

/foundation/multimodalinput/input/intention/services/device_manager/src/
H A Denumerator.cpp54 const std::string devNode { dent->d_name }; in ScanAndAddDevices()
55 const std::string devPath { DEV_INPUT_PATH + devNode }; in ScanAndAddDevices()
64 AddDevice(devNode); in ScanAndAddDevices()
70 void Enumerator::AddDevice(const std::string &devNode) const in AddDevice()
74 devMgr_->AddDevice(devNode); in AddDevice()
H A Dmonitor.cpp147 std::string devNode { event->name }; in HandleInotifyEvent()
150 AddDevice(devNode); in HandleInotifyEvent()
152 RemoveDevice(devNode); in HandleInotifyEvent()
156 void Monitor::AddDevice(const std::string &devNode) const in AddDevice()
160 devMgr_->AddDevice(devNode); in AddDevice()
163 void Monitor::RemoveDevice(const std::string &devNode) const in RemoveDevice()
167 devMgr_->RemoveDevice(devNode); in RemoveDevice()
H A Ddevice_manager.cpp50 void DeviceManager::HotplugHandler::AddDevice(const std::string &devNode) in AddDevice() argument
52 devMgr_.AddDevice(devNode); in AddDevice()
55 void DeviceManager::HotplugHandler::RemoveDevice(const std::string &devNode) in RemoveDevice() argument
57 devMgr_.RemoveDevice(devNode); in RemoveDevice()
158 int32_t DeviceManager::ParseDeviceId(const std::string &devNode) in ParseDeviceId() argument
164 if (std::regex_match(devNode, mr, pattern)) { in ParseDeviceId()
172 std::shared_ptr<IDevice> DeviceManager::AddDevice(const std::string &devNode) in AddDevice() argument
176 const std::string devPath { DEV_INPUT_PATH + devNode }; in AddDevice()
188 int32_t deviceId = ParseDeviceId(devNode); in AddDevice()
190 FI_HILOGE("Parsing device name failed:%{public}s", devNode in AddDevice()
222 RemoveDevice(const std::string &devNode) RemoveDevice() argument
[all...]
/foundation/multimodalinput/input/intention/services/test/unittest/src/
H A Denumerator_test.cpp62 void AddDevice(const std::string &devNode) override
64 devMgr_.DeviceManager::AddDevice(devNode);
66 void RemoveDevice(const std::string &devNode) override
68 devMgr_.DeviceManager::RemoveDevice(devNode);
H A Dmonitor_test.cpp62 void AddDevice(const std::string &devNode) override
64 devMgr_.DeviceManager::AddDevice(devNode);
66 void RemoveDevice(const std::string &devNode) override
68 devMgr_.DeviceManager::RemoveDevice(devNode);
/foundation/multimodalinput/input/intention/services/device_manager/include/
H A Ddevice_manager.h64 void AddDevice(const std::string &devNode) override;
65 void RemoveDevice(const std::string &devNode) override;
76 int32_t ParseDeviceId(const std::string &devNode);
84 std::shared_ptr<IDevice> AddDevice(const std::string &devNode);
85 std::shared_ptr<IDevice> RemoveDevice(const std::string &devNode);
H A Di_device_mgr.h24 virtual void AddDevice(const std::string &devNode) = 0;
25 virtual void RemoveDevice(const std::string &devNode) = 0;
H A Dmonitor.h50 void AddDevice(const std::string &devNode) const;
51 void RemoveDevice(const std::string &devNode) const;
H A Denumerator.h39 void AddDevice(const std::string &devNode) const;

Completed in 3 milliseconds