/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/init/ |
D | action.cpp | 74 Action::Action(bool oneshot, Subcontext* subcontext, const std::string& filename, int line, in Action() function in android::init::Action 84 const KeywordFunctionMap* Action::function_map_ = nullptr; 86 Result<Success> Action::AddCommand(std::vector<std::string>&& args, int line) { in AddCommand() 98 void Action::AddCommand(BuiltinFunction f, std::vector<std::string>&& args, int line) { in AddCommand() 102 std::size_t Action::NumCommands() const { in NumCommands() 106 void Action::ExecuteOneCommand(std::size_t command) const { in ExecuteOneCommand() 113 void Action::ExecuteAllCommands() const { in ExecuteAllCommands() 119 void Action::ExecuteCommand(const Command& command) const { in ExecuteCommand() 153 bool Action::CheckPropertyTriggers(const std::string& name, in CheckPropertyTriggers() 177 bool Action::CheckEvent(const EventTrigger& event_trigger) const { in CheckEvent() [all …]
|
D | action_manager.h | 36 void AddAction(std::unique_ptr<Action> action); 50 std::vector<std::unique_ptr<Action>> actions_; 52 std::queue<const Action*> current_executing_actions_;
|
D | action_manager.cpp | 31 void ActionManager::AddAction(std::unique_ptr<Action> action) { in AddAction() 48 auto action = std::make_unique<Action>(true, nullptr, "<Builtin Action>", 0, name, in QueueBuiltinAction() 90 auto eraser = [&action](std::unique_ptr<Action>& a) { return a.get() == action; }; in ExecuteOneCommand()
|
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_parser.h | 43 std::unique_ptr<Action> action_;
|
/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.bp | 6 "Action.cpp",
|
/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 | 46 mAction = Action::kUnknown; in NetlinkEvent() 146 mAction = (ifi->ifi_flags & IFF_LOWER_UP) ? Action::kLinkUp : in parseIfInfoMessage() 147 Action::kLinkDown; in parseIfInfoMessage() 235 mAction = (type == RTM_NEWADDR) ? Action::kAddressUpdated : in parseIfAddrMessage() 236 Action::kAddressRemoved; in parseIfAddrMessage() 267 mAction = Action::kChange; in parseUlogPacketMessage() 314 mAction = Action::kChange; in parseNfPacketMessage() 401 mAction = (type == RTM_NEWROUTE) ? Action::kRouteUpdated : in parseRtMessage() 402 Action::kRouteRemoved; in parseRtMessage() 507 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 | 42 class ActionTestAction : public Action<ActionTestAction> {
|
D | action_pipe.h | 52 class Action; variable
|
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 | 37 repeated Action actions = 2 [json_name = "Actions"]; 41 message Action { message
|
/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()
|