Home
last modified time | relevance | path

Searched refs:Action (Results 1 – 25 of 31) sorted by relevance

12

/system/core/init/
Daction.cpp99 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()
183 bool Action::CheckPropertyTriggers(const std::string& name, const std::string& value) const { in CheckPropertyTriggers()
[all …]
Daction_manager.h39 void AddAction(std::unique_ptr<Action> action);
53 std::vector<std::unique_ptr<Action>> actions_;
57 std::queue<const Action*> current_executing_actions_;
Daction.h56 using BuiltinAction = class Action*;
58 class Action {
60 Action(bool oneshot, Subcontext* subcontext, const std::string& filename, int line,
Daction_manager.cpp39 void ActionManager::AddAction(std::unique_ptr<Action> action) { in AddAction()
59 auto action = std::make_unique<Action>(true, nullptr, "<Builtin Action>", 0, name, in QueueBuiltinAction()
104 auto eraser = [&action](std::unique_ptr<Action>& a) { return a.get() == action; }; in ExecuteOneCommand()
Daction_parser.h43 std::unique_ptr<Action> action_;
Daction_parser.cpp154 auto action = std::make_unique<Action>(false, action_subcontext, filename, line, event_trigger, in ParseSection()
Dservice.h169 Action onrestart_; // Commands to execute on restart.
Dinit_test.cpp47 Action::set_function_map(&test_function_map); in TestInit()
Dhost_init_verifier.cpp268 Action::set_function_map(&function_map); in main()
/system/netd/server/
DNetlinkHandler.cpp108 NetlinkEvent::Action action = evt->getAction(); in onEvent()
110 if ((action == NetlinkEvent::Action::kAdd) || in onEvent()
111 (action == NetlinkEvent::Action::kLinkUp) || in onEvent()
112 (action == NetlinkEvent::Action::kLinkDown)) { in onEvent()
122 if (action == NetlinkEvent::Action::kAdd) { in onEvent()
124 } else if (action == NetlinkEvent::Action::kRemove) { in onEvent()
126 } else if (action == NetlinkEvent::Action::kChange) { in onEvent()
129 } else if (action == NetlinkEvent::Action::kLinkUp) { in onEvent()
131 } else if (action == NetlinkEvent::Action::kLinkDown) { in onEvent()
133 } else if (action == NetlinkEvent::Action::kAddressUpdated || in onEvent()
[all …]
/system/core/libsysutils/include/sysutils/
DNetlinkEvent.h25 enum class Action { enum
42 Action mAction;
54 Action getAction() { return mAction; } in getAction()
/system/core/libsysutils/src/
DNetlinkEvent.cpp65 mAction = Action::kUnknown; in NetlinkEvent()
165 mAction = (ifi->ifi_flags & IFF_LOWER_UP) ? Action::kLinkUp : in parseIfInfoMessage()
166 Action::kLinkDown; in parseIfInfoMessage()
261 mAction = (type == RTM_NEWADDR) ? Action::kAddressUpdated : in parseIfAddrMessage()
262 Action::kAddressRemoved; in parseIfAddrMessage()
293 mAction = Action::kChange; in parseUlogPacketMessage()
341 mAction = Action::kChange; in parseNfPacketMessage()
428 mAction = (type == RTM_NEWROUTE) ? Action::kRouteUpdated : in parseRtMessage()
429 Action::kRouteRemoved; in parseRtMessage()
531 mAction = Action::kRdnss; in parseNdUserOptMessage()
[all …]
/system/update_engine/common/
Daction.h154 class Action : public AbstractAction {
156 ~Action() override {} in ~Action()
Dmock_action.h37 class MockAction : public Action<MockAction> {
Daction_pipe_unittest.cc39 class ActionPipeTestAction : public Action<ActionPipeTestAction> {
Daction_unittest.cc42 class ActionTestAction : public Action<ActionTestAction> {
Daction_pipe.h52 class Action; variable
Dtest_utils.h199 class ObjectFeederAction : public Action<ObjectFeederAction<T>> {
232 class ObjectCollectorAction : public Action<ObjectCollectorAction<T>> {
/system/core/libprocessgroup/profiles/
Dtask_profiles.proto38 repeated Action actions = 2 [json_name = "Actions"];
42 message Action { message
/system/update_engine/
Domaha_response_handler_action.h43 class OmahaResponseHandlerAction : public Action<OmahaResponseHandlerAction> {
Dcleanup_previous_update_action.h47 class CleanupPreviousUpdateAction : public Action<CleanupPreviousUpdateAction> {
Domaha_request_action.h116 class OmahaRequestAction : public Action<OmahaRequestAction>,
/system/core/adb/
Dbugreport_test.cpp29 using ::testing::Action;
89 Action<OnStandardStreamsCallbackFunction> WriteOnStdout(const std::string& output) { in WriteOnStdout()
95 Action<OnStandardStreamsCallbackFunction> WriteOnStderr(const std::string& output) { in WriteOnStderr()
115 Action<CallbackDoneFunction> ReturnCallbackDone(int status = -1337) { in ReturnCallbackDone()
/system/update_engine/payload_consumer/
Dinstall_plan.h172 class InstallPlanAction : public Action<InstallPlanAction> {
/system/tools/mkbootimg/
Dmkbootimg.py18 from argparse import ArgumentParser, FileType, Action
173 class ValidateStrLenAction(Action):

12