Home
last modified time | relevance | path

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

12

/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/odrefresh/
Dodr_metrics_record.h51 int32_t signal; member
53 explicit Dex2OatExecResult(int32_t status, int32_t exit_code, int32_t signal) in Dex2OatExecResult()
54 : status(status), exit_code(exit_code), signal(signal) {} in Dex2OatExecResult()
57 : status(result.status), exit_code(result.exit_code), signal(result.signal) {} in Dex2OatExecResult()
59 Dex2OatExecResult() : status(kExecResultNotRun), exit_code(-1), signal(0) {} in Dex2OatExecResult()
Dodr_metrics_test.cc104 ExecResult{.status = ExecResult::Status::kExited, .exit_code = 0, .signal = 0}); in TEST_F()
112 EXPECT_EQ(record.primary_bcp_dex2oat_result.signal, 0); in TEST_F()
131 EXPECT_EQ(record.primary_bcp_dex2oat_result.signal, 0); in TEST_F()
139 ExecResult{.status = ExecResult::Status::kExited, .exit_code = 0, .signal = 0}); in TEST_F()
145 ExecResult{.status = ExecResult::Status::kTimedOut, .exit_code = 3, .signal = 0}); in TEST_F()
153 EXPECT_EQ(record.primary_bcp_dex2oat_result.signal, 0); in TEST_F()
160 EXPECT_EQ(record.secondary_bcp_dex2oat_result.signal, 0); in TEST_F()
173 ExecResult{.status = ExecResult::Status::kExited, .exit_code = 0, .signal = 0}); in TEST_F()
177 ExecResult{.status = ExecResult::Status::kTimedOut, .exit_code = 3, .signal = 0}); in TEST_F()
181 ExecResult{.status = ExecResult::Status::kSignaled, .exit_code = 2, .signal = 9}); in TEST_F()
[all …]
Dodr_statslog_android.cc78 record.primary_bcp_dex2oat_result.signal, in UploadStatsIfAvailable()
81 record.secondary_bcp_dex2oat_result.signal, in UploadStatsIfAvailable()
84 record.system_server_dex2oat_result.signal, in UploadStatsIfAvailable()
Dodr_metrics_record_test.cc115 ASSERT_EQ(expected.primary_bcp_dex2oat_result.signal, actual.primary_bcp_dex2oat_result.signal); in TEST_F()
120 ASSERT_EQ(expected.secondary_bcp_dex2oat_result.signal, in TEST_F()
121 actual.secondary_bcp_dex2oat_result.signal); in TEST_F()
126 ASSERT_EQ(expected.system_server_dex2oat_result.signal, in TEST_F()
127 actual.system_server_dex2oat_result.signal); in TEST_F()
/art/sigchainlib/
Dsigchain.cc505 static int __sigaction(int signal, const SigactionType* new_action, in __sigaction() argument
517 if (signal <= 0 || signal >= _NSIG) { in __sigaction()
522 if (chains[signal].IsClaimed()) { in __sigaction()
523 SigactionType saved_action = chains[signal].GetAction<SigactionType>(); in __sigaction()
525 chains[signal].SetAction(new_action); in __sigaction()
535 return linked(signal, new_action, old_action); in __sigaction()
538 extern "C" int sigaction(int signal, const struct sigaction* new_action, in sigaction() argument
541 return __sigaction(signal, new_action, old_action, linked_sigaction); in sigaction()
545 extern "C" int sigaction64(int signal, const struct sigaction64* new_action, in sigaction64() argument
548 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!
/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()
Dexec_utils.h69 int signal = 0; member
/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()
635 void SetupAndWait(pid_t forked_pid, int signal, int timeout_exit_code) { in SetupAndWait() argument
637 signals.Add(signal); in SetupAndWait()
645 CHECK_EQ(sig, signal); in SetupAndWait()
663 int signal = SIGRTMIN + 2; in main() local
686 signal = signal_uint; in main()
720 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/libartservice/service/java/com/android/server/art/
DArtShellCommand.java150 CancellationSignal signal; in handleArtCommand() local
152 signal = sCancellationSignalMap.getOrDefault(jobId, null); in handleArtCommand()
154 if (signal == null) { in handleArtCommand()
158 signal.cancel(); in handleArtCommand()
589 try (var signal = new WithCancellationSignal(pw, true /* verbose */)) { in handleBatchDexopt() argument
591 snapshot, reason, signal.get(), progressCallbackExecutor, progress -> { in handleBatchDexopt()
824 try (var signal = new WithCancellationSignal(pw, verbose)) { in resetPackages() argument
827 mArtManagerLocal.resetDexoptStatus(snapshot, packageName, signal.get()); in resetPackages()
837 try (var signal = new WithCancellationSignal(pw, verbose)) { in dexoptPackages() argument
840 mArtManagerLocal.dexoptPackage(snapshot, packageName, params, signal.get()); in dexoptPackages()
/art/tools/jvmti-agents/field-null-percent/
Dcheck-null-fields.py32 import signal
115 os.kill(p, signal.SIGINT)
/art/tools/jvmti-agents/field-counts/
Dcount-fields.py33 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/test/847-filled-new-aray/smali/
DMain.smali29 # Throw a NPE to signal we don't expect to enter here.
/art/test/1930-monitor-info/src/art/
DTest1930.java54 public volatile boolean signal = false; field in Test1930.ThreadSignaler

12