/system/core/fs_mgr/libsnapshot/ |
D | fuzz_utils.h | 58 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/ |
D | action.cpp | 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() 183 bool Action::CheckPropertyTriggers(const std::string& name, const std::string& value) const { in CheckPropertyTriggers() [all …]
|
D | action_manager.h | 39 void AddAction(std::unique_ptr<Action> action); 53 std::vector<std::unique_ptr<Action>> actions_; 57 std::queue<const Action*> current_executing_actions_;
|
D | action.h | 56 using BuiltinAction = class Action*; 58 class Action { 60 Action(bool oneshot, Subcontext* subcontext, const std::string& filename, int line,
|
D | action_manager.cpp | 39 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()
|
D | action_parser.h | 43 std::unique_ptr<Action> action_;
|
D | action_parser.cpp | 154 auto action = std::make_unique<Action>(false, action_subcontext, filename, line, event_trigger, in ParseSection()
|
D | service.h | 169 Action onrestart_; // Commands to execute on restart.
|
/system/netd/server/ |
D | NetlinkHandler.cpp | 108 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/ |
D | NetlinkEvent.h | 25 enum class Action { enum 42 Action mAction; 54 Action getAction() { return mAction; } in getAction()
|
/system/core/libsysutils/src/ |
D | NetlinkEvent.cpp | 65 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/ |
D | action.h | 154 class Action : public AbstractAction { 156 ~Action() override {} in ~Action()
|
D | mock_action.h | 37 class MockAction : public Action<MockAction> {
|
D | action_pipe_unittest.cc | 39 class ActionPipeTestAction : public Action<ActionPipeTestAction> {
|
D | action_pipe.h | 52 class Action; variable
|
D | action_unittest.cc | 42 class ActionTestAction : public Action<ActionTestAction> {
|
D | test_utils.h | 199 class ObjectFeederAction : public Action<ObjectFeederAction<T>> { 232 class ObjectCollectorAction : public Action<ObjectCollectorAction<T>> {
|
/system/core/libprocessgroup/profiles/ |
D | task_profiles.proto | 38 repeated Action actions = 2 [json_name = "Actions"]; 42 message Action { message
|
/system/update_engine/ |
D | cleanup_previous_update_action.h | 47 class CleanupPreviousUpdateAction : public Action<CleanupPreviousUpdateAction> {
|
D | omaha_response_handler_action.h | 43 class OmahaResponseHandlerAction : public Action<OmahaResponseHandlerAction> {
|
D | omaha_request_action.h | 67 class OmahaRequestAction : public Action<OmahaRequestAction>,
|
/system/core/adb/ |
D | bugreport_test.cpp | 29 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/ |
D | install_plan.h | 181 class InstallPlanAction : public Action<InstallPlanAction> {
|
/system/vold/ |
D | VolumeManager.cpp | 212 case NetlinkEvent::Action::kAdd: { in handleBlockEvent() 233 case NetlinkEvent::Action::kChange: { in handleBlockEvent() 238 case NetlinkEvent::Action::kRemove: { in handleBlockEvent()
|
/system/tools/mkbootimg/ |
D | mkbootimg.py | 18 from argparse import ArgumentParser, FileType, Action 173 class ValidateStrLenAction(Action):
|