Home
last modified time | relevance | path

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

12

/system/extras/memory_replay/tests/
DActionTest.cpp25 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 …]
DThreadTest.cpp106 Action* action = thread.CreateAction(0x1234, "thread_done", ""); in TEST()
/system/core/init/
Daction.cpp74 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 …]
Daction_manager.h36 void AddAction(std::unique_ptr<Action> action);
50 std::vector<std::unique_ptr<Action>> actions_;
52 std::queue<const Action*> current_executing_actions_;
Daction_manager.cpp31 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()
Daction.h56 using BuiltinAction = class Action*;
58 class Action {
60 Action(bool oneshot, Subcontext* subcontext, const std::string& filename, int line,
Daction_parser.h43 std::unique_ptr<Action> action_;
/system/extras/memory_replay/
DAction.h24 class Action {
26 Action() {} in Action() function
27 virtual ~Action() {} in ~Action()
38 static Action* CreateAction(uintptr_t key_pointer, const char* type,
DThread.h24 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()
DAction.cpp39 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()
DThread.cpp60 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()
DThreads.cpp37 Action* action = thread->GetAction(); in ThreadRunner()
60 if (Thread::ACTION_SIZE < Action::MaxActionSize()) { in Threads()
62 Thread::ACTION_SIZE, Action::MaxActionSize()); in Threads()
DAndroid.bp6 "Action.cpp",
/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.cpp46 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/
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.proto37 repeated Action actions = 2 [json_name = "Actions"];
41 message Action { message
/system/update_engine/
Domaha_response_handler_action.h43 class OmahaResponseHandlerAction : public Action<OmahaResponseHandlerAction> {
/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()

12