Home
last modified time | relevance | path

Searched refs:signal (Results 1 – 25 of 26) sorted by relevance

12

/art/test/004-SignalTest/
Dexpected.txt2 init signal test
5 signal caught
6 unblocked signal received
7 unblocking blocked signal
8 blocked signal received
9 signal handler done
Dsignaltest.cc138 signal(BLOCKED_SIGNAL, blocked_signal); in Java_Main_initSignalTest()
139 signal(UNBLOCKED_SIGNAL, unblocked_signal); in Java_Main_initSignalTest()
/art/sigchainlib/
Dsigchain.cc359 static int __sigaction(int signal, const SigactionType* new_action, in __sigaction() argument
371 if (signal <= 0 || signal >= _NSIG) { in __sigaction()
376 if (chains[signal].IsClaimed()) { in __sigaction()
377 SigactionType saved_action = chains[signal].GetAction<SigactionType>(); in __sigaction()
379 chains[signal].SetAction(new_action); in __sigaction()
389 return linked(signal, new_action, old_action); in __sigaction()
392 extern "C" int sigaction(int signal, const struct sigaction* new_action, in sigaction() argument
395 return __sigaction(signal, new_action, old_action, linked_sigaction); in sigaction()
399 extern "C" int sigaction64(int signal, const struct sigaction64* new_action, in sigaction64() argument
402 return __sigaction(signal, new_action, old_action, linked_sigaction64); in sigaction64()
[all …]
Dsigchain.h34 extern "C" void AddSpecialSignalHandlerFn(int signal, SigchainAction* sa);
35 extern "C" void RemoveSpecialSignalHandlerFn(int signal, bool (*fn)(int, siginfo_t*, void*));
37 extern "C" void EnsureFrontOfChain(int signal);
Dsigchain_dummy.cc32 extern "C" void EnsureFrontOfChain(int signal ATTRIBUTE_UNUSED) { in EnsureFrontOfChain()
37 extern "C" void AddSpecialSignalHandlerFn(int signal ATTRIBUTE_UNUSED, in AddSpecialSignalHandlerFn()
43 extern "C" void RemoveSpecialSignalHandlerFn(int signal ATTRIBUTE_UNUSED, in RemoveSpecialSignalHandlerFn()
Dversion-script64.txt9 signal;
Dversion-script32.txt10 signal;
/art/test/115-native-bridge/
Dexpected.txt64 NB signal handler with signal 11.
65 NB signal handler with signal 4.
66 NB signal handler with signal 11.
67 NB signal handler with signal 4.
76 NB signal handler with signal 11.
80 NB signal handler with signal 11.
82 back to test from signal handler via siglongjmp(), and done!
Dnativebridge.cc597 static ::android::NativeBridgeSignalHandlerFn native_bridge_getSignalHandler(int signal) { in native_bridge_getSignalHandler() argument
599 if ((signal == SIGSEGV) || (signal == SIGILL)) { in native_bridge_getSignalHandler()
/art/runtime/
Dsignal_set.h34 void Add(int signal) { in Add() argument
35 if (sigaddset(&set_, signal) == -1) { in Add()
36 PLOG(FATAL) << "sigaddset " << signal << " failed"; in Add()
Dnative_bridge_art_interface.cc127 for (int signal = 0; signal < _NSIG; ++signal) { in InitializeNativeBridge() local
128 android::NativeBridgeSignalHandlerFn fn = android::NativeBridgeGetSignalHandler(signal); in InitializeNativeBridge()
138 AddSpecialSignalHandlerFn(signal, &sa); in InitializeNativeBridge()
/art/libnativebridge/tests/
DDummyNativeBridge2.cpp59 extern "C" android::NativeBridgeSignalHandlerFn native_bridge2_get_signal_handler(int signal) { in native_bridge2_get_signal_handler() argument
60 if (signal == SIGSEGV) { in native_bridge2_get_signal_handler()
DDummyNativeBridge3.cpp60 extern "C" android::NativeBridgeSignalHandlerFn native_bridge3_getSignalHandler(int signal) { in native_bridge3_getSignalHandler() argument
61 if (signal == SIGSEGV) { in native_bridge3_getSignalHandler()
/art/libnativebridge/include/nativebridge/
Dnative_bridge.h96 NativeBridgeSignalHandlerFn NativeBridgeGetSignalHandler(int signal);
258 NativeBridgeSignalHandlerFn (*getSignalHandler)(int signal);
/art/tools/signal_dumper/
Dsignal_dumper.cc62 void Add(int signal) { in Add() argument
63 if (sigaddset(&set_, signal) == -1) { in Add()
64 PLOG(FATAL) << "sigaddset " << signal << " failed"; in Add()
639 void SetupAndWait(pid_t forked_pid, int signal, int timeout_exit_code) { in SetupAndWait() argument
641 signals.Add(signal); in SetupAndWait()
649 CHECK_EQ(sig, signal); in SetupAndWait()
667 int signal = SIGRTMIN + 2; in main() local
690 signal = signal_uint; in main()
724 art::SetupAndWait(pid, signal, timeout_exit_code); in main()
/art/test/144-static-field-sigquit/
Dinfo.txt4 This was potentially happening when receiving a signal while in the static
/art/libnativebridge/
Dnative_bridge_lazy.cc108 NativeBridgeSignalHandlerFn NativeBridgeGetSignalHandler(int signal) { in NativeBridgeGetSignalHandler() argument
110 return f(signal); in NativeBridgeGetSignalHandler()
Dnative_bridge.cc539 NativeBridgeSignalHandlerFn NativeBridgeGetSignalHandler(int signal) { in NativeBridgeGetSignalHandler() argument
542 return callbacks->getSignalHandler(signal); in NativeBridgeGetSignalHandler()
/art/tools/jvmti-agents/field-null-percent/
Dcheck-null-fields.py32 import signal
115 os.kill(p, signal.SIGINT)
/art/test/137-cfi/
Dcfi.cc228 int signal = wait_for_sigstop(pid, &total_sleep_time_usec, &detach_failed); in Java_Main_unwindOtherProcess() local
229 if (signal != SIGSTOP) { in Java_Main_unwindOtherProcess()
/art/tools/jvmti-agents/field-counts/
Dcount-fields.py33 import signal
115 os.kill(p, signal.SIGINT)
/art/test/1930-monitor-info/src/art/
DTest1930.java54 public volatile boolean signal = false; field in Test1930.ThreadSignaler
/art/runtime/interpreter/mterp/arm/
Dmain.S708 mov r0, #0 @ signal retry with reference interpreter.
720 mov r0, #1 @ signal return to caller.
726 mov r0, #1 @ signal return to caller.
/art/tools/common/
Dcommon.py21 import signal
157 os.killpg(os.getpgid(proc.pid), signal.SIGTERM)
/art/test/testrunner/
Dtestrunner.py73 import signal
620 os.killpg(proc.pid, signal.SIGKILL)

12