/art/test/004-SignalTest/ |
D | expected-stdout.txt | 2 init signal test 5 signal caught 6 unblocked signal received 7 unblocking blocked signal 8 blocked signal received 9 signal handler done
|
D | signaltest.cc | 138 signal(BLOCKED_SIGNAL, blocked_signal); in Java_Main_initSignalTest() 139 signal(UNBLOCKED_SIGNAL, unblocked_signal); in Java_Main_initSignalTest()
|
/art/odrefresh/ |
D | odr_metrics_record.h | 51 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()
|
D | odr_metrics_test.cc | 104 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 …]
|
D | odr_statslog_android.cc | 78 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()
|
D | odr_metrics_record_test.cc | 115 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/ |
D | sigchain.cc | 505 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 …]
|
D | sigchain.h | 38 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);
|
D | sigchain_fake.cc | 32 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/ |
D | Android.bp | 3 // 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/ |
D | expected-stdout.txt | 64 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/ |
D | signal_set.h | 42 void Add(int signal) { in Add() argument 43 if (sigaddset64(&set_, signal) == -1) { in Add() 44 PLOG(FATAL) << "sigaddset " << signal << " failed"; in Add()
|
D | native_bridge_art_interface.cc | 127 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()
|
D | exec_utils.h | 69 int signal = 0; member
|
/art/libnativebridge/tests/ |
D | NativeBridgeTestCase2.cpp | 59 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()
|
D | NativeBridgeTestCase3.cpp | 60 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/ |
D | signal_dumper.cc | 62 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/ |
D | native_bridge.h | 101 NativeBridgeSignalHandlerFn NativeBridgeGetSignalHandler(int signal); 263 NativeBridgeSignalHandlerFn (*getSignalHandler)(int signal);
|
/art/test/144-static-field-sigquit/ |
D | info.txt | 4 This was potentially happening when receiving a signal while in the static
|
/art/libartservice/service/java/com/android/server/art/ |
D | ArtShellCommand.java | 150 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/ |
D | check-null-fields.py | 32 import signal 115 os.kill(p, signal.SIGINT)
|
/art/tools/jvmti-agents/field-counts/ |
D | count-fields.py | 33 import signal 115 os.kill(p, signal.SIGINT)
|
/art/test/137-cfi/ |
D | cfi.cc | 254 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/ |
D | Main.smali | 29 # Throw a NPE to signal we don't expect to enter here.
|
/art/test/1930-monitor-info/src/art/ |
D | Test1930.java | 54 public volatile boolean signal = false; field in Test1930.ThreadSignaler
|