Home
last modified time | relevance | path

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

/art/test/004-SignalTest/
Dexpected-stdout.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.cc416 static int __sigaction(int signal, const SigactionType* new_action, in __sigaction() argument
428 if (signal <= 0 || signal >= _NSIG) { in __sigaction()
433 if (chains[signal].IsClaimed()) { in __sigaction()
434 SigactionType saved_action = chains[signal].GetAction<SigactionType>(); in __sigaction()
436 chains[signal].SetAction(new_action); in __sigaction()
446 return linked(signal, new_action, old_action); in __sigaction()
449 extern "C" int sigaction(int signal, const struct sigaction* new_action, in sigaction() argument
452 return __sigaction(signal, new_action, old_action, linked_sigaction); in sigaction()
456 extern "C" int sigaction64(int signal, const struct sigaction64* new_action, in sigaction64() argument
459 return __sigaction(signal, new_action, old_action, linked_sigaction64); in sigaction64()
[all …]
Dsigchain.h38 extern "C" void AddSpecialSignalHandlerFn(int signal, SigchainAction* sa);
39 extern "C" void RemoveSpecialSignalHandlerFn(int signal, bool (*fn)(int, siginfo_t*, void*));
41 extern "C" void EnsureFrontOfChain(int signal);
Dsigchain_fake.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()
/art/test/1934-jvmti-signal-thread/
DAndroid.bp3 // Build rules for ART run-test `1934-jvmti-signal-thread`.
16 name: "art-run-test-1934-jvmti-signal-thread",
21 ":art-run-test-1934-jvmti-signal-thread-expected-stdout",
22 ":art-run-test-1934-jvmti-signal-thread-expected-stderr",
28 name: "art-run-test-1934-jvmti-signal-thread-expected-stdout",
29 out: ["art-run-test-1934-jvmti-signal-thread-expected-stdout.txt"],
36 name: "art-run-test-1934-jvmti-signal-thread-expected-stderr",
37 out: ["art-run-test-1934-jvmti-signal-thread-expected-stderr.txt"],
/art/test/115-native-bridge/
Dexpected-stdout.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.h42 void Add(int signal) { in Add() argument
43 if (sigaddset64(&set_, signal) == -1) { in Add()
44 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/
DNativeBridgeTestCase2.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()
DNativeBridgeTestCase3.cpp60 extern "C" android::NativeBridgeSignalHandlerFn native_bridge3_getSignalHandler(int signal) { in native_bridge3_getSignalHandler() argument
61 if (signal == SIGSEGV) { in native_bridge3_getSignalHandler()
/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/libnativebridge/include/nativebridge/
Dnative_bridge.h101 NativeBridgeSignalHandlerFn NativeBridgeGetSignalHandler(int signal);
263 NativeBridgeSignalHandlerFn (*getSignalHandler)(int signal);
/art/test/144-static-field-sigquit/
Dinfo.txt4 This was potentially happening when receiving a signal while in the static
/art/tools/jvmti-agents/field-null-percent/
Dcheck-null-fields.py32 import signal
115 os.kill(p, signal.SIGINT)
/art/test/137-cfi/
Dcfi.cc254 int signal = wait_for_sigstop(pid, &total_sleep_time_usec, &detach_failed); in Java_Main_unwindOtherProcess() local
255 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/runtime/interpreter/mterp/arm/
Dmain.S707 mov r0, #0 @ signal retry with reference interpreter.
719 mov r0, #1 @ signal return to caller.
725 mov r0, #1 @ signal return to caller.
/art/test/1930-monitor-info/src/art/
DTest1930.java54 public volatile boolean signal = false; field in Test1930.ThreadSignaler
/art/libnativebridge/
Dnative_bridge.cc592 NativeBridgeSignalHandlerFn NativeBridgeGetSignalHandler(int signal) { in NativeBridgeGetSignalHandler() argument
595 return callbacks->getSignalHandler(signal); in NativeBridgeGetSignalHandler()
/art/test/testrunner/
Dtestrunner.py74 import signal
178 os.killpg(proc.pid, signal.SIGKILL) # kill_all has already been called.
192 os.killpg(pid, signal.SIGKILL)
718 os.killpg(proc.pid, signal.SIGKILL)
/art/tools/common/
Dcommon.py21 import signal
157 os.killpg(os.getpgid(proc.pid), signal.SIGTERM)
/art/test/
DAndroid.bp641 "1934-jvmti-signal-thread/signal_threads.cc",
1033 "1934-jvmti-signal-thread/src/art/Test1934.java",
1173 "1934-jvmti-signal-thread/expected-stdout.txt",
/art/build/boot/
Dboot-image-profile.txt7022 HSPLjava/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject;->signal()V+]Ljava/util/c…