Home
last modified time | relevance | path

Searched refs:event_trigger (Results 1 – 3 of 3) sorted by relevance

/system/core/init/
Daction_parser.cpp83 Result<void> ValidateEventTrigger(const std::string& event_trigger) { in ValidateEventTrigger() argument
85 for (const char& c : event_trigger) { in ValidateEventTrigger()
87 return Error() << "Illegal character '" << c << "' in '" << event_trigger << "'"; in ValidateEventTrigger()
95 std::string* event_trigger, in ParseTriggers() argument
117 if (!event_trigger->empty()) { in ParseTriggers()
124 *event_trigger = args[i]; in ParseTriggers()
145 std::string event_trigger; in ParseSection() local
149 ParseTriggers(triggers, action_subcontext, &event_trigger, &property_triggers); in ParseSection()
154 auto action = std::make_unique<Action>(false, action_subcontext, filename, line, event_trigger, in ParseSection()
Daction.cpp100 const std::string& event_trigger, in Action() argument
103 event_trigger_(event_trigger), in Action()
211 bool Action::CheckEvent(const EventTrigger& event_trigger) const { in CheckEvent()
212 return event_trigger == event_trigger_ && CheckPropertyTriggers(); in CheckEvent()
Daction.h61 const std::string& event_trigger,
69 bool CheckEvent(const EventTrigger& event_trigger) const;