/system/extras/memory_replay/tests/ |
D | ActionTest.cpp | 25 uint8_t memory[Action::MaxActionSize()]; in TEST() 27 Action* action = Action::CreateAction(0x1234, "malloc", line, memory); in TEST() 42 Action* action = Action::CreateAction(0x1234, "malloc", line, memory); in TEST() 49 Action* action = Action::CreateAction(0x1234, "free", line, memory); in TEST() 62 Action* action = Action::CreateAction(0x1234, "calloc", line, memory); in TEST() 77 Action* action = Action::CreateAction(0, "free", line, memory); in TEST() 88 Action* action = Action::CreateAction(0x1234, "calloc", line1, memory); in TEST() 92 action = Action::CreateAction(0x1234, "calloc", line2, memory); in TEST() 99 Action* action = Action::CreateAction(0x1234, "realloc", line, memory); in TEST() 112 action = Action::CreateAction(0x1234, "realloc", null_line, memory); in TEST() [all …]
|
D | ThreadTest.cpp | 106 Action* action = thread.CreateAction(0x1234, "thread_done", ""); in TEST()
|
/system/core/fastboot/ |
D | engine.cpp | 48 typedef struct Action Action; typedef 52 struct Action { struct 54 Action* next; argument 65 int (*func)(Action* a, int status, const char* resp); argument 70 static Action *action_list = 0; argument 71 static Action *action_last = 0; 89 static int cb_default(Action* a, int status, const char* resp) { in cb_default() 100 static Action *queue_action(unsigned op, const char *fmt, ...) in queue_action() 105 Action* a = reinterpret_cast<Action*>(calloc(1, sizeof(Action))); in queue_action() 133 Action *a; in fb_set_active() [all …]
|
/system/core/init/ |
D | action.cpp | 65 Action::Action(bool oneshot) : oneshot_(oneshot) { in Action() function in Action 68 const KeywordMap<BuiltinFunction>* Action::function_map_ = nullptr; 70 bool Action::AddCommand(const std::vector<std::string>& args, in AddCommand() 91 void Action::AddCommand(BuiltinFunction f, in AddCommand() 97 void Action::CombineAction(const Action& action) { in CombineAction() 103 std::size_t Action::NumCommands() const { in NumCommands() 107 void Action::ExecuteOneCommand(std::size_t command) const { in ExecuteOneCommand() 114 void Action::ExecuteAllCommands() const { in ExecuteAllCommands() 120 void Action::ExecuteCommand(const Command& command) const { in ExecuteCommand() 137 bool Action::ParsePropertyTrigger(const std::string& trigger, std::string* err) { in ParsePropertyTrigger() [all …]
|
D | action.h | 45 class Action { 47 explicit Action(bool oneshot = false); 54 void CombineAction(const Action& action); 63 bool TriggersEqual(const Action& other) const; 89 virtual bool CheckTriggers(const Action& action) const = 0; 96 void AddAction(std::unique_ptr<Action> action); 111 std::vector<std::unique_ptr<Action>> actions_; 113 std::queue<const Action*> current_executing_actions_; 130 std::unique_ptr<Action> action_;
|
/system/netd/server/ |
D | NetlinkHandler.cpp | 65 NetlinkEvent::Action action = evt->getAction(); in onEvent() 68 if (action == NetlinkEvent::Action::kAdd) { in onEvent() 70 } else if (action == NetlinkEvent::Action::kRemove) { in onEvent() 72 } else if (action == NetlinkEvent::Action::kChange) { in onEvent() 75 } else if (action == NetlinkEvent::Action::kLinkUp) { in onEvent() 77 } else if (action == NetlinkEvent::Action::kLinkDown) { in onEvent() 79 } else if (action == NetlinkEvent::Action::kAddressUpdated || in onEvent() 80 action == NetlinkEvent::Action::kAddressRemoved) { in onEvent() 84 if (action == NetlinkEvent::Action::kAddressRemoved && iface && address) { in onEvent() 106 } else if (action == NetlinkEvent::Action::kRdnss) { in onEvent() [all …]
|
D | NetlinkHandler.h | 48 void notifyAddressChanged(NetlinkEvent::Action action, const char *addr, const char *iface, 52 …void notifyRouteChange(NetlinkEvent::Action action, const char *route, const char *gateway, const …
|
/system/extras/memory_replay/ |
D | Action.h | 24 class Action { 26 Action() {} in Action() function 27 virtual ~Action() {} in ~Action() 38 static Action* CreateAction(uintptr_t key_pointer, const char* type,
|
D | Thread.h | 24 class Action; variable 39 Action* CreateAction(uintptr_t key_pointer, const char* type, const char* line); 45 Action* GetAction() { return reinterpret_cast<Action*>(action_memory_); } in GetAction()
|
D | Action.cpp | 39 class EndThreadAction : public Action { 48 class AllocAction : public Action { 171 size_t Action::MaxActionSize() { in MaxActionSize() 179 Action* Action::CreateAction(uintptr_t key_pointer, const char* type, in CreateAction() 181 Action* action = nullptr; in CreateAction()
|
D | Thread.cpp | 60 Action* Thread::CreateAction(uintptr_t key_pointer, const char* type, const char* line) { in CreateAction() 61 return Action::CreateAction(key_pointer, type, line, action_memory_); in CreateAction()
|
D | Threads.cpp | 37 Action* action = thread->GetAction(); in ThreadRunner() 60 if (Thread::ACTION_SIZE < Action::MaxActionSize()) { in Threads() 62 Thread::ACTION_SIZE, Action::MaxActionSize()); in Threads()
|
D | Android.mk | 4 Action.cpp \
|
/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 | 48 mAction = Action::kUnknown; in NetlinkEvent() 142 mAction = (ifi->ifi_flags & IFF_LOWER_UP) ? Action::kLinkUp : in parseIfInfoMessage() 143 Action::kLinkDown; in parseIfInfoMessage() 231 mAction = (type == RTM_NEWADDR) ? Action::kAddressUpdated : in parseIfAddrMessage() 232 Action::kAddressRemoved; in parseIfAddrMessage() 262 mAction = Action::kChange; in parseUlogPacketMessage() 297 mAction = Action::kChange; in parseNfPacketMessage() 383 mAction = (type == RTM_NEWROUTE) ? Action::kRouteUpdated : in parseRtMessage() 384 Action::kRouteRemoved; in parseRtMessage() 489 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_unittest.cc | 39 class ActionTestAction : public Action<ActionTestAction> {
|
D | action_pipe.h | 52 class Action; variable
|
D | test_utils.h | 217 class ObjectFeederAction : public Action<ObjectFeederAction<T>> { 251 class ObjectCollectorAction : public Action<ObjectCollectorAction<T>> {
|
/system/update_engine/ |
D | omaha_response_handler_action.h | 43 class OmahaResponseHandlerAction : public Action<OmahaResponseHandlerAction> {
|
/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/core/mkbootimg/ |
D | mkbootimg | 18 from argparse import ArgumentParser, FileType, Action 77 class ValidateStrLenAction(Action):
|
/system/update_engine/payload_consumer/ |
D | install_plan.h | 125 class InstallPlanAction : public Action<InstallPlanAction> {
|