/system/core/libmemunreachable/ |
D | ScopedSignalHandler.h | 39 void install(int signal, F&& f) { in install() argument 43 [=](int signal, siginfo_t* si, void* uctx) { in install() 44 f(*this, signal, si, uctx); in install() 48 act.sa_sigaction = [](int signal, siginfo_t* si, void* uctx) { in install() 49 handler_(signal, si, uctx); in install() 53 int ret = sigaction(signal, &act, &old_act_); in install() 58 signal_ = signal; in install()
|
D | ThreadCapture.cpp | 84 bool ReleaseThread(pid_t tid, unsigned int signal); 86 void PtraceDetach(pid_t tid, unsigned int signal); 177 void ThreadCaptureImpl::PtraceDetach(pid_t tid, unsigned int signal) { in PtraceDetach() argument 178 void* sig_ptr = reinterpret_cast<void*>(static_cast<uintptr_t>(signal)); in PtraceDetach() 275 unsigned int signal = WSTOPSIG(status); in CaptureThread() local 277 switch (signal) { in CaptureThread() 289 signal, tid, pid_); in CaptureThread() 294 resume_signal = signal; in CaptureThread() 309 bool ThreadCaptureImpl::ReleaseThread(pid_t tid, unsigned int signal) { in ReleaseThread() argument 310 PtraceDetach(tid, signal); in ReleaseThread()
|
D | HeapWalker.h | 59 [=](ScopedSignalHandler& handler, int signal, siginfo_t* siginfo, void* uctx) { in HeapWalker() 60 this->HandleSegFault(handler, signal, siginfo, uctx); in HeapWalker()
|
/system/core/debuggerd/ |
D | signal_sender.cpp | 36 int signal; member 101 if (syscall(SYS_tgkill, msg.pid, msg.tid, msg.signal) != 0) { in start_signal_sender() 105 if (kill(msg.pid, msg.signal) != 0) { in start_signal_sender() 148 bool send_signal(pid_t pid, pid_t tid, int signal) { in send_signal() argument 155 signal_message msg = {.pid = pid, .tid = tid, .signal = signal }; in send_signal()
|
D | debuggerd.cpp | 302 static void activity_manager_write(int pid, int signal, int amfd, const std::string& amfd_data) { in activity_manager_write() argument 315 datum = htonl(signal); in activity_manager_write() 493 int signal = wait_for_signal(request.tid, &total_sleep_time_usec); in perform_dump() local 494 switch (signal) { in perform_dump() 502 engrave_tombstone(tombstone_fd, backtrace_map, request.pid, request.tid, siblings, signal, in perform_dump() 528 *crash_signal = signal; in perform_dump() 529 engrave_tombstone(tombstone_fd, backtrace_map, request.pid, request.tid, siblings, signal, in perform_dump() 534 ALOGE("debuggerd: process stopped due to unexpected signal %d\n", signal); in perform_dump() 740 int signal = TEMP_FAILURE_RETRY(sigtimedwait(&signal_set, &siginfo, &timeout)); in monitor_worker_process() local 741 if (signal == SIGCHLD) { in monitor_worker_process() [all …]
|
D | tombstone.cpp | 179 static void dump_signal_info(log_t* log, pid_t tid, int signal, int si_code) { in dump_signal_info() argument 191 if (signal_has_si_addr(signal)) { in dump_signal_info() 198 signal, get_signame(signal), si.si_code, get_sigcode(signal, si.si_code), addr_desc); in dump_signal_info() 447 static void dump_thread(log_t* log, pid_t pid, pid_t tid, BacktraceMap* map, int signal, in dump_thread() argument 455 if (signal) { in dump_thread() 456 dump_signal_info(log, tid, signal, si_code); in dump_thread() 608 const std::set<pid_t>& siblings, int signal, int si_code, in dump_crash() argument 618 dump_thread(log, pid, tid, map, signal, si_code, abort_msg_address, true); in dump_crash() 688 const std::set<pid_t>& siblings, int signal, int original_si_code, in engrave_tombstone() argument 701 dump_crash(&log, map, pid, tid, siblings, signal, original_si_code, abort_msg_address); in engrave_tombstone()
|
D | signal_sender.h | 28 bool send_signal(pid_t pid, pid_t tid, int signal);
|
D | tombstone.h | 36 const std::set<pid_t>& siblings, int signal, int original_si_code,
|
/system/core/libsparse/ |
D | simg_dump.py | 18 import getopt, posixpath, signal, struct, sys 29 signal.signal(signal.SIGPIPE, signal.SIG_DFL)
|
/system/core/include/utils/ |
D | Condition.h | 64 void signal(); 66 void signal(WakeUpType type) { in signal() function 68 signal(); in signal() 134 inline void Condition::signal() { in signal() function
|
/system/vold/ |
D | Process.cpp | 173 extern "C" void vold_killProcessesWithOpenFiles(const char *path, int signal) { in vold_killProcessesWithOpenFiles() argument 174 Process::killProcessesWithOpenFiles(path, signal); in vold_killProcessesWithOpenFiles() 180 int Process::killProcessesWithOpenFiles(const char *path, int signal) { in killProcessesWithOpenFiles() argument 214 if (signal != 0) { in killProcessesWithOpenFiles() 215 SLOGW("Sending %s to process %d", strsignal(signal), pid); in killProcessesWithOpenFiles() 216 kill(pid, signal); in killProcessesWithOpenFiles()
|
D | Process.h | 24 static int killProcessesWithOpenFiles(const char *path, int signal); 39 void vold_killProcessesWithOpenFiles(const char *path, int signal);
|
/system/connectivity/shill/dbus/ |
D | chromeos_dhcpcd_listener.cc | 105 std::unique_ptr<dbus::Signal> signal( in HandleMessage() local 109 if (signal->GetInterface() != kDBusInterfaceName) { in HandleMessage() 113 string sender = signal->GetSender(); in HandleMessage() 114 string member_name = signal->GetMember(); in HandleMessage() 115 dbus::MessageReader reader(signal.get()); in HandleMessage()
|
/system/core/crash_reporter/ |
D | user_collector_test.cc | 96 int signal; in TEST_F() local 101 &pid, &signal, &uid, &gid, &exec_name)); in TEST_F() 103 EXPECT_EQ(11, signal); in TEST_F() 108 &pid, &signal, &uid, &gid, &exec_name)); in TEST_F() 110 EXPECT_EQ(6, signal); in TEST_F() 116 &pid, &signal, &uid, &gid, &exec_name)); in TEST_F() 119 &pid, &signal, &uid, &gid, &exec_name)); in TEST_F() 123 &pid, &signal, &uid, &gid, &exec_name)); in TEST_F() 126 &pid, &signal, &uid, &gid, &exec_name)); in TEST_F() 129 &pid, &signal, &uid, &gid, &exec_name)); in TEST_F()
|
D | user_collector.cc | 558 pid_t *pid, int *signal, uid_t *uid, in ParseCrashAttributes() argument 562 if (re.FullMatch(crash_attributes, pid, signal, uid, gid, in ParseCrashAttributes() 571 return re_without_uid.FullMatch(crash_attributes, pid, signal, in ParseCrashAttributes() 601 int signal = 0; in HandleCrash() local 606 if (!ParseCrashAttributes(crash_attributes, &pid, &signal, &supplied_ruid, in HandleCrash() 650 << "] sig " << signal << ", user " << supplied_ruid in HandleCrash()
|
/system/extras/simpleperf/ |
D | scoped_signal_handler.h | 28 sig_t old_handler = signal(sig, handler); in ScopedSignalHandler() 35 signal(pair.first, pair.second); in ~ScopedSignalHandler()
|
/system/core/libnativebridge/tests/ |
D | DummyNativeBridge2.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()
|
/system/core/toolbox/ |
D | toolbox.c | 36 static void SIGPIPE_handler(int signal) { in SIGPIPE_handler() argument 52 signal(SIGPIPE, SIGPIPE_handler); in main()
|
/system/core/include/nativebridge/ |
D | native_bridge.h | 81 NativeBridgeSignalHandlerFn NativeBridgeGetSignalHandler(int signal); 171 NativeBridgeSignalHandlerFn (*getSignalHandler)(int signal);
|
/system/update_engine/ |
D | dbus_test_utils.h | 31 mock_signal_handler, mock_proxy, signal) \ argument 34 Register##signal##SignalHandler(::testing::_, ::testing::_)) \
|
/system/connectivity/shill/ |
D | process_manager.cc | 259 bool ProcessManager::KillProcess(pid_t pid, int signal, bool* killed) { in KillProcess() argument 262 if (kill(pid, signal) < 0) { in KillProcess() 268 PLOG(ERROR) << "Failed to send " << signal <<"signal to process " << pid; in KillProcess() 352 int signal = (kill_signal) ? SIGKILL : SIGTERM; in TerminateProcess() local 354 if (!KillProcess(pid, signal, &killed)) { in TerminateProcess()
|
/system/core/libprocessgroup/include/processgroup/ |
D | processgroup.h | 25 int killProcessGroup(uid_t uid, int initialPid, int signal);
|
/system/core/libprocessgroup/ |
D | processgroup.cpp | 256 static int killProcessGroupOnce(uid_t uid, int initialPid, int signal) in killProcessGroupOnce() argument 279 int ret = kill(pid, signal); in killProcessGroupOnce() 292 int killProcessGroup(uid_t uid, int initialPid, int signal) in killProcessGroup() argument 299 while ((processes = killProcessGroupOnce(uid, initialPid, signal)) > 0) { in killProcessGroup()
|
/system/extras/alloc-stress/ |
D | alloc-stress.cpp | 65 void signal() { in signal() function in Pipe 198 p.signal(); in main() 215 p.signal(); in main()
|
/system/bt/stack/rfcomm/ |
D | port_utils.c | 453 UINT32 port_get_signal_changes (tPORT *p_port, UINT8 old_signals, UINT8 signal) in port_get_signal_changes() argument 455 UINT8 changed_signals = (signal ^ old_signals); in port_get_signal_changes() 462 if (signal & PORT_DTRDSR_ON) in port_get_signal_changes() 470 if (signal & PORT_CTSRTS_ON) in port_get_signal_changes() 481 if (signal & PORT_DCD_ON) in port_get_signal_changes()
|