Searched defs:action (Results 1 - 10 of 10) sorted by relevance

/art/runtime/
H A Druntime_android.cc60 struct sigaction action; local
61 memset(&action, 0, sizeof(action));
62 sigemptyset(&action.sa_mask);
63 action.sa_sigaction = HandleUnexpectedSignal;
65 action.sa_flags |= SA_SIGINFO;
67 action.sa_flags |= SA_ONSTACK;
69 rc += sigaction(SIGSEGV, &action, &old_action);
H A Druntime_linux.cc379 struct sigaction action; local
380 memset(&action, 0, sizeof(action));
381 sigemptyset(&action.sa_mask);
382 action.sa_handler = SIG_DFL;
383 sigaction(signal_number, &action, nullptr);
393 struct sigaction action; local
394 memset(&action, 0, sizeof(action));
395 sigemptyset(&action
[all...]
H A Dfault_handler.cc98 static void SetUpArtAction(struct sigaction* action) { argument
99 action->sa_sigaction = art_fault_handler;
100 sigemptyset(&action->sa_mask);
101 action->sa_flags = SA_SIGINFO | SA_ONSTACK;
103 action->sa_restorer = nullptr;
109 struct sigaction action; local
110 SetUpArtAction(&action);
111 EnsureFrontOfChain(SIGSEGV, &action);
119 struct sigaction action; local
120 SetUpArtAction(&action);
182 struct sigaction action; local
[all...]
H A Dtrace.cc121 uint32_t Trace::EncodeTraceMethodAndAction(ArtMethod* method, TraceAction action) { argument
122 uint32_t tmid = (EncodeTraceMethod(method) << TraceActionBits) | action;
642 TraceAction action = DecodeTraceAction(tmid); local
643 LOG(INFO) << PrettyMethod(method) << " " << static_cast<int>(action);
934 TraceAction action = kTraceMethodEnter; local
937 action = kTraceMethodEnter;
940 action = kTraceMethodExit;
943 action = kTraceUnroll;
949 uint32_t method_value = EncodeTraceMethodAndAction(method, action);
H A Druntime.cc638 NativeBridgeAction action = force_native_bridge_ local
643 action,
730 JNIEnv* env, bool is_system_server, NativeBridgeAction action, const char* isa) {
734 switch (action) {
1289 // DidForkFromZygote(action)
1290 // action = kUnload -> dlclose native bridge.
1291 // action = kInitialize -> initialize library
729 InitNonZygoteOrPostFork( JNIEnv* env, bool is_system_server, NativeBridgeAction action, const char* isa) argument
/art/test/004-SignalTest/
H A Dsignaltest.cc79 struct sigaction action; local
80 action.sa_sigaction = signalhandler;
81 sigemptyset(&action.sa_mask);
82 action.sa_flags = SA_SIGINFO | SA_ONSTACK;
84 action.sa_restorer = nullptr;
87 sigaction(SIGSEGV, &action, &oldaction);
/art/runtime/native/
H A Ddalvik_system_ZygoteHooks.cc210 Runtime::NativeBridgeAction action = Runtime::NativeBridgeAction::kUnload; local
212 action = Runtime::NativeBridgeAction::kInitialize;
215 env, is_system_server, action, isa_string.c_str());
/art/sigchainlib/
H A Dsigchain.cc45 // Claim the signal and keep the action specified.
46 void Claim(const struct sigaction& action) { argument
47 action_ = action;
51 // Unclaim the signal and restore the old action.
54 sigaction(signal, &action_, nullptr); // Restore old action.
57 // Get the action associated with this signal.
67 // Change the recorded action to that specified.
68 // If oldstyle is true then this action is from an older style signal()
71 void SetAction(const struct sigaction& action, bool oldstyle) { argument
72 action_ = action;
164 const struct sigaction& action = user_sigactions[sig].GetAction(); local
[all...]
/art/tools/dmtracedump/
H A Dcreatetesttrace.cc64 uint32_t action; /* 0=entry, 1=exit, 2=exception exit */ member in struct:dataRecord
162 int32_t action; local
238 action = 0;
250 action = 1;
261 action = 1;
289 if (action == 0)
293 records[nextRecord].action = action;
392 uint32_t val = METHOD_COMBINE(pRecord->methodId, pRecord->action);
H A Dtracedump.cc1061 printf("Trace (threadID action usecs class.method signature):\n");
1073 int32_t action = METHOD_ACTION(methodVal); local
1081 if (action == METHOD_TRACE_ENTER) {
1107 printf("%2d %s%c %8" PRIu64 "%c%s%s.%s %s\n", threadId, actionStr[action],
1112 printf("%2d %s%c %8" PRIu64 "%c%s%s\n", threadId, actionStr[action],
1117 if (action != METHOD_TRACE_ENTER) {
2062 int32_t action = METHOD_ACTION(methodVal); local
2084 threadId, currentTime, action, pStack->threadStartTime,
2090 threadId, currentTime, action, pStack->threadStartTime,
2096 if (action
[all...]

Completed in 212 milliseconds