Searched refs:devNode (Results 1 – 13 of 13) sorted by relevance
/base/msdp/device_status/services/device_manager/src/ |
D | enumerator.cpp | 54 const std::string devNode { dent->d_name }; in ScanAndAddDevices() local 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()
|
D | monitor.cpp | 148 std::string devNode { event->name }; in HandleInotifyEvent() local 151 AddDevice(devNode); in HandleInotifyEvent() 153 RemoveDevice(devNode); in HandleInotifyEvent() 157 void Monitor::AddDevice(const std::string &devNode) const in AddDevice() 161 devMgr_->AddDevice(devNode); in AddDevice() 164 void Monitor::RemoveDevice(const std::string &devNode) const in RemoveDevice() 168 devMgr_->RemoveDevice(devNode); in RemoveDevice()
|
D | device_manager.cpp | 48 void DeviceManager::HotplugHandler::AddDevice(const std::string &devNode) in AddDevice() argument 50 devMgr_.AddDevice(devNode); in AddDevice() 53 void DeviceManager::HotplugHandler::RemoveDevice(const std::string &devNode) in RemoveDevice() argument 55 devMgr_.RemoveDevice(devNode); in RemoveDevice() 154 int32_t DeviceManager::ParseDeviceId(const std::string &devNode) in ParseDeviceId() argument 160 if (std::regex_match(devNode, mr, pattern)) { in ParseDeviceId() 168 std::shared_ptr<IDevice> DeviceManager::AddDevice(const std::string &devNode) in AddDevice() argument 172 const std::string devPath { DEV_INPUT_PATH + devNode }; in AddDevice() 184 int32_t deviceId = ParseDeviceId(devNode); in AddDevice() 186 FI_HILOGE("Parsing device name failed:%{public}s", devNode.c_str()); in AddDevice() [all …]
|
/base/startup/init/ueventd/lite/ |
D | ueventd_parameter.c | 19 int SetUeventDeviceParameter(const char *devNode, int action) in SetUeventDeviceParameter() argument 21 (void)(devNode); in SetUeventDeviceParameter()
|
/base/msdp/device_status/services/device_manager/include/ |
D | i_device_mgr.h | 24 virtual void AddDevice(const std::string &devNode) = 0; 25 virtual void RemoveDevice(const std::string &devNode) = 0;
|
D | device_manager.h | 59 void AddDevice(const std::string &devNode) override; 60 void RemoveDevice(const std::string &devNode) override; 71 int32_t ParseDeviceId(const std::string &devNode); 83 std::shared_ptr<IDevice> AddDevice(const std::string &devNode); 84 std::shared_ptr<IDevice> RemoveDevice(const std::string &devNode);
|
D | monitor.h | 50 void AddDevice(const std::string &devNode) const; 51 void RemoveDevice(const std::string &devNode) const;
|
D | enumerator.h | 39 void AddDevice(const std::string &devNode) const;
|
/base/startup/init/ueventd/include/ |
D | ueventd_read_cfg.h | 56 int GetDeviceNodePermissions(const char *devNode, uid_t *uid, gid_t *gid, mode_t *mode); 59 struct DeviceUdevConf *GetDeviceUdevConfByDevNode(const char *devNode);
|
D | ueventd_parameter.h | 24 int SetUeventDeviceParameter(const char *devNode, int action);
|
/base/startup/init/ueventd/standard/ |
D | ueventd_parameter.c | 120 int SetUeventDeviceParameter(const char *devNode, int action) in SetUeventDeviceParameter() argument 122 if (devNode == NULL) { in SetUeventDeviceParameter() 125 struct DeviceUdevConf *config = GetDeviceUdevConfByDevNode(devNode); in SetUeventDeviceParameter()
|
/base/startup/init/ueventd/ |
D | ueventd_read_cfg.c | 325 struct DeviceUdevConf *GetDeviceUdevConfByDevNode(const char *devNode) in GetDeviceUdevConfByDevNode() argument 327 if (INVALIDSTRING(devNode)) { in GetDeviceUdevConfByDevNode() 335 if (IsMatch(devNode, config->name)) { in GetDeviceUdevConfByDevNode() 344 int GetDeviceNodePermissions(const char *devNode, uid_t *uid, gid_t *gid, mode_t *mode) in GetDeviceNodePermissions() argument 346 if (INVALIDSTRING(devNode)) { in GetDeviceNodePermissions() 354 if (IsMatch(devNode, config->name)) { in GetDeviceNodePermissions()
|
/base/msdp/device_status/tools/vdev/src/ |
D | virtual_device_builder.cpp | 412 const std::string devNode { dent->d_name }; in ScanFor() local 413 const std::string devPath { DEV_INPUT_PATH + devNode }; in ScanFor()
|