Searched refs:action (Results 1 - 9 of 9) sorted by relevance
/art/runtime/ |
H A D | runtime_android.cc | 61 struct sigaction action; local 62 memset(&action, 0, sizeof(action)); 63 sigemptyset(&action.sa_mask); 64 action.sa_sigaction = HandleUnexpectedSignal; 66 action.sa_flags |= SA_SIGINFO; 68 action.sa_flags |= SA_ONSTACK; 70 rc += sigaction(SIGSEGV, &action, &old_action);
|
H A D | fault_handler.cc | 97 static void SetUpArtAction(struct sigaction* action) { argument 98 action->sa_sigaction = art_fault_handler; 99 sigemptyset(&action->sa_mask); 100 action->sa_flags = SA_SIGINFO | SA_ONSTACK; 102 action->sa_restorer = nullptr; 108 struct sigaction action; local 109 SetUpArtAction(&action); 110 EnsureFrontOfChain(SIGSEGV, &action); 118 struct sigaction action; local 119 SetUpArtAction(&action); 341 struct sigaction action, oldsegvaction, oldabortaction; local [all...] |
H A D | runtime_linux.cc | 332 struct sigaction action; local 333 memset(&action, 0, sizeof(action)); 334 sigemptyset(&action.sa_mask); 335 action.sa_handler = SIG_DFL; 336 sigaction(signal_number, &action, NULL); 346 struct sigaction action; local 347 memset(&action, 0, sizeof(action)); 348 sigemptyset(&action [all...] |
H A D | trace.cc | 60 // u4 method ID | method action 65 // u4 method ID | method action 70 // u4 method ID | method action 132 TraceAction action) { 133 uint32_t tmid = PointerToLowMemUInt32(method) | action; 491 TraceAction action = DecodeTraceAction(tmid); local 492 LOG(INFO) << PrettyMethod(method) << " " << static_cast<int>(action); 647 TraceAction action = kTraceMethodEnter; local 650 action = kTraceMethodEnter; 653 action 131 EncodeTraceMethodAndAction(mirror::ArtMethod* method, TraceAction action) argument [all...] |
H A D | runtime.h | 400 void DidForkFromZygote(JNIEnv* env, NativeBridgeAction action, const char* isa);
|
H A D | runtime.cc | 517 void Runtime::DidForkFromZygote(JNIEnv* env, NativeBridgeAction action, const char* isa) { argument 520 switch (action) { 870 // DidForkFromZygote(action) 871 // action = kUnload -> dlclose native bridge. 872 // action = kInitialize -> initialize library
|
/art/test/004-SignalTest/ |
H A D | signaltest.cc | 73 struct sigaction action; local 74 action.sa_sigaction = signalhandler; 75 sigemptyset(&action.sa_mask); 76 action.sa_flags = SA_SIGINFO | SA_ONSTACK; 78 action.sa_restorer = nullptr; 81 sigaction(SIGSEGV, &action, &oldaction);
|
/art/sigchainlib/ |
H A D | sigchain.cc | 44 // Claim the signal and keep the action specified. 45 void Claim(const struct sigaction& action) { argument 46 action_ = action; 50 // Unclaim the signal and restore the old action. 53 sigaction(signal, &action_, NULL); // Restore old action. 56 // Get the action associated with this signal. 66 // Change the recorded action to that specified. 67 void SetAction(const struct sigaction& action) { argument 68 action_ = action; 125 const struct sigaction& action local [all...] |
/art/runtime/native/ |
H A D | dalvik_system_ZygoteHooks.cc | 116 Runtime::NativeBridgeAction action = Runtime::NativeBridgeAction::kUnload; local 118 action = Runtime::NativeBridgeAction::kInitialize; 120 Runtime::Current()->DidForkFromZygote(env, action, isa_string.c_str());
|
Completed in 192 milliseconds