| 387 | } |
| 388 | |
| 389 | void DeviceManagerBase::learnSysfsPath(const std::string& sysfs_path, uint32_t id) |
| 390 | { |
| 391 | USBGUARD_LOG(Trace) << "Learn sysfs_path=" << sysfs_path << " size=" << sysfs_path.size() << " id=" << id; |
| 392 | _sysfs_path_to_id_map[sysfs_path] = id; |
| 393 | } |
| 394 | |
| 395 | void DeviceManagerBase::forgetSysfsPath(const std::string& sysfs_path) |
| 396 | { |
nothing calls this directly
no outgoing calls
no test coverage detected