Lines Matching full:action
17 #include "action.h"
99 Action::Action(bool oneshot, Subcontext* subcontext, const std::string& filename, int line, in Action() function in android::init::Action
109 const BuiltinFunctionMap* Action::function_map_ = nullptr;
111 Result<void> Action::AddCommand(std::vector<std::string>&& args, int line) { in AddCommand()
126 void Action::AddCommand(BuiltinFunction f, std::vector<std::string>&& args, int line) { in AddCommand()
130 std::size_t Action::NumCommands() const { in NumCommands()
134 size_t Action::CheckAllCommands() const { in CheckAllCommands()
146 void Action::ExecuteOneCommand(std::size_t command) const { in ExecuteOneCommand()
153 void Action::ExecuteAllCommands() const { in ExecuteAllCommands()
159 void Action::ExecuteCommand(const Command& command) const { in ExecuteCommand()
164 // Any action longer than 50ms will be warned to user as slow operation in ExecuteCommand()
170 LOG(INFO) << "Command '" << cmd_str << "' action=" << trigger_name << " (" << filename_ in ExecuteCommand()
183 bool Action::CheckPropertyTriggers(const std::string& name, const std::string& value) const { in CheckPropertyTriggers()
211 bool Action::CheckEvent(const EventTrigger& event_trigger) const { in CheckEvent()
215 bool Action::CheckEvent(const PropertyChange& property_change) const { in CheckEvent()
220 bool Action::CheckEvent(const BuiltinAction& builtin_action) const { in CheckEvent()
224 std::string Action::BuildTriggersString() const { in BuildTriggersString()
237 void Action::DumpState() const { in DumpState()