Home
last modified time | relevance | path

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

12

/system/core/fs_mgr/libsnapshot/
Dfuzz_utils.h58 template <typename Action>
60 const auto* function_map = Action::GetFunctionMap(); in CheckConsistency()
61 const auto* action_value_desc = GetProtoValueDescriptor(Action::Proto::GetDescriptor()); in CheckConsistency()
73 template <typename Action>
75 const typename Action::Proto& action_proto) { in GetValueFieldDescriptor()
76 static auto* action_value_desc = GetProtoValueDescriptor(Action::Proto::GetDescriptor()); in GetValueFieldDescriptor()
78 auto* action_refl = Action::Proto::GetReflection(); in GetValueFieldDescriptor()
85 template <typename Action>
86 void ExecuteActionProto(typename Action::ClassType* module, in ExecuteActionProto()
87 const typename Action::Proto& action_proto) { in ExecuteActionProto()
[all …]
/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.
/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()
260 mAction = (type == RTM_NEWADDR) ? Action::kAddressUpdated : in parseIfAddrMessage()
261 Action::kAddressRemoved; in parseIfAddrMessage()
292 mAction = Action::kChange; in parseUlogPacketMessage()
340 mAction = Action::kChange; in parseNfPacketMessage()
426 mAction = (type == RTM_NEWROUTE) ? Action::kRouteUpdated : in parseRtMessage()
427 Action::kRouteRemoved; in parseRtMessage()
529 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_pipe.h52 class Action; variable
Daction_unittest.cc42 class ActionTestAction : public Action<ActionTestAction> {
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/
Dcleanup_previous_update_action.h47 class CleanupPreviousUpdateAction : public Action<CleanupPreviousUpdateAction> {
Domaha_response_handler_action.h43 class OmahaResponseHandlerAction : public Action<OmahaResponseHandlerAction> {
Domaha_request_action.h67 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.h181 class InstallPlanAction : public Action<InstallPlanAction> {
/system/vold/
DVolumeManager.cpp212 case NetlinkEvent::Action::kAdd: { in handleBlockEvent()
233 case NetlinkEvent::Action::kChange: { in handleBlockEvent()
238 case NetlinkEvent::Action::kRemove: { in handleBlockEvent()
/system/tools/mkbootimg/
Dmkbootimg.py18 from argparse import ArgumentParser, FileType, Action
173 class ValidateStrLenAction(Action):

12