Searched refs:event_trigger (Results 1 – 3 of 3) sorted by relevance
/system/core/init/ |
D | action_parser.cpp | 83 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()
|
D | action.cpp | 100 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()
|
D | action.h | 61 const std::string& event_trigger, 69 bool CheckEvent(const EventTrigger& event_trigger) const;
|