Searched refs:ListenerAction (Results 1 – 5 of 5) sorted by relevance
54 return ListenerAction::kStop; in InitMiscDevice()56 return ListenerAction::kContinue; in InitMiscDevice()72 ListenerAction BlockDevInitializer::HandleUevent(const Uevent& uevent, in HandleUevent()76 return ListenerAction::kContinue; in HandleUevent()83 return ListenerAction::kContinue; in HandleUevent()90 return ListenerAction::kContinue; in HandleUevent()97 return devices->empty() ? ListenerAction::kStop : ListenerAction::kContinue; in HandleUevent()101 auto uevent_callback = [&, this](const Uevent& uevent) -> ListenerAction { in InitDevices()136 return ListenerAction::kStop; in InitDmDevice()138 return ListenerAction::kContinue; in InitDmDevice()
35 enum class ListenerAction { enum46 using ListenerCallback = std::function<ListenerAction(const Uevent&)>;53 ListenerAction RegenerateUeventsForPath(const std::string& path,60 ListenerAction RegenerateUeventsForDir(DIR* d, const ListenerCallback& callback) const;
128 ListenerAction UeventListener::RegenerateUeventsForDir(DIR* d, in RegenerateUeventsForDir()142 if (callback(uevent) == ListenerAction::kStop) return ListenerAction::kStop; in RegenerateUeventsForDir()157 if (RegenerateUeventsForDir(d2.get(), callback) == ListenerAction::kStop) { in RegenerateUeventsForDir()158 return ListenerAction::kStop; in RegenerateUeventsForDir()164 return ListenerAction::kContinue; in RegenerateUeventsForDir()167 ListenerAction UeventListener::RegenerateUeventsForPath(const std::string& path, in RegenerateUeventsForPath()170 if (!d) return ListenerAction::kContinue; in RegenerateUeventsForPath()179 if (RegenerateUeventsForPath(path, callback) == ListenerAction::kStop) return; in RegenerateUevents()220 if (callback(uevent) == ListenerAction::kStop) return; in Poll()
35 ListenerAction HandleUevent(const Uevent& uevent, std::set<std::string>* devices);
188 return ListenerAction::kContinue; in RegenerateUevents()330 return ListenerAction::kContinue; in ueventd_main()