/system/bt/test/suite/rfcomm/ |
D | rfcomm_unittest.cc | 44 sock_connect_signal_t signal; in TEST_F() local 48 len = read(fd, &signal, sizeof(signal)); in TEST_F() 49 EXPECT_TRUE(len == sizeof(signal)) in TEST_F() 52 EXPECT_TRUE(signal.bd_addr == bt_remote_bdaddr_) in TEST_F() 54 EXPECT_TRUE(channel == signal.channel) in TEST_F() 56 << signal.channel; in TEST_F() 86 sock_connect_signal_t signal; in TEST_F() local 94 len = read(fd, &signal, sizeof(signal)); in TEST_F() 95 if (len != sizeof(signal)) { in TEST_F() 102 EXPECT_TRUE(signal.bd_addr == bt_remote_bdaddr_) in TEST_F() [all …]
|
/system/core/libmemunreachable/ |
D | ScopedSignalHandler.h | 39 void install(int signal, F&& f) { in install() argument 43 [=](int signal, siginfo_t* si, void* uctx) { f(*this, signal, si, uctx); }); in install() 46 act.sa_sigaction = [](int signal, siginfo_t* si, void* uctx) { handler_(signal, si, uctx); }; in install() 49 int ret = sigaction(signal, &act, &old_act_); in install() 54 signal_ = signal; in install()
|
D | ThreadCapture.cpp | 87 bool ReleaseThread(pid_t tid, unsigned int signal); 89 void PtraceDetach(pid_t tid, unsigned int signal); 179 void ThreadCaptureImpl::PtraceDetach(pid_t tid, unsigned int signal) { in PtraceDetach() argument 180 void* sig_ptr = reinterpret_cast<void*>(static_cast<uintptr_t>(signal)); in PtraceDetach() 271 unsigned int signal = WSTOPSIG(status); in CaptureThread() local 273 switch (signal) { in CaptureThread() 284 MEM_ALOGE("unexpected signal %d with PTRACE_EVENT_STOP for thread %d of process %d", signal, in CaptureThread() 290 resume_signal = signal; in CaptureThread() 305 bool ThreadCaptureImpl::ReleaseThread(pid_t tid, unsigned int signal) { in ReleaseThread() argument 306 PtraceDetach(tid, signal); in ReleaseThread()
|
/system/tools/hidl/test/ |
D | hidl_test_servers.cpp | 64 void signal_handler_server(int signal) { in signal_handler_server() argument 65 if (signal == SIGTERM) { in signal_handler_server() 77 signal(SIGTERM, signal_handler_server); in forkServer() 102 void signal_handler(int signal) { in signal_handler() argument 103 if (signal == SIGTERM) { in signal_handler() 118 signal(SIGTERM, signal_handler); in main()
|
D | FooCallback.cpp | 39 mCond.signal(); in heyItsYou() 55 mCond.signal(); in heyItsYouIsntIt() 71 mCond.signal(); in heyItsTheMeaningOfLife() 119 mCond.signal(); in youBlockedMeFor()
|
/system/core/debuggerd/ |
D | signal_sender.cpp | 39 int signal; member 104 if (syscall(SYS_tgkill, msg.pid, msg.tid, msg.signal) != 0) { in start_signal_sender() 108 if (kill(msg.pid, msg.signal) != 0) { in start_signal_sender() 151 bool send_signal(pid_t pid, pid_t tid, int signal) { in send_signal() argument 158 signal_message msg = {.pid = pid, .tid = tid, .signal = signal }; in send_signal()
|
/system/core/libprocessgroup/ |
D | processgroup.cpp | 252 static int doKillProcessGroupOnce(uid_t uid, int initialPid, int signal) { in doKillProcessGroupOnce() argument 300 if (kill(-pgid, signal) == -1) { in doKillProcessGroupOnce() 301 PLOG(WARNING) << "kill(" << -pgid << ", " << signal << ") failed"; in doKillProcessGroupOnce() 310 if (kill(pid, signal) == -1) { in doKillProcessGroupOnce() 311 PLOG(WARNING) << "kill(" << pid << ", " << signal << ") failed"; in doKillProcessGroupOnce() 318 static int killProcessGroup(uid_t uid, int initialPid, int signal, int retries) { in killProcessGroup() argument 323 while ((processes = doKillProcessGroupOnce(uid, initialPid, signal)) > 0) { in killProcessGroup() 364 int killProcessGroup(uid_t uid, int initialPid, int signal) { in killProcessGroup() argument 365 return killProcessGroup(uid, initialPid, signal, 40 /*retries*/); in killProcessGroup() 368 int killProcessGroupOnce(uid_t uid, int initialPid, int signal) { in killProcessGroupOnce() argument [all …]
|
/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/core/libutils/include/utils/ |
D | Condition.h | 71 void signal(); 73 void signal(WakeUpType type) { in signal() function 75 signal(); in signal() 150 inline void Condition::signal() { in signal() function
|
/system/connectivity/wificond/ |
D | main.cpp | 58 std::signal(SIGINT, &ScopedSignalHandler::LeaveLoop); in ScopedSignalHandler() 59 std::signal(SIGTERM, &ScopedSignalHandler::LeaveLoop); in ScopedSignalHandler() 63 std::signal(SIGINT, SIG_DFL); in ~ScopedSignalHandler() 64 std::signal(SIGTERM, SIG_DFL); in ~ScopedSignalHandler() 70 static void LeaveLoop(int signal) { in LeaveLoop() argument
|
/system/core/libsparse/ |
D | simg_dump.py | 22 import signal 38 signal.signal(signal.SIGPIPE, signal.SIG_DFL)
|
/system/core/libprocessgroup/include/processgroup/ |
D | processgroup.h | 28 int killProcessGroup(uid_t uid, int initialPid, int signal); 32 int killProcessGroupOnce(uid_t uid, int initialPid, int signal);
|
/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()
|
D | DummyNativeBridge3.cpp | 60 extern "C" android::NativeBridgeSignalHandlerFn native_bridge3_getSignalHandler(int signal) { in native_bridge3_getSignalHandler() argument 61 if (signal == SIGSEGV) { in native_bridge3_getSignalHandler()
|
/system/core/toolbox/ |
D | toolbox.c | 21 static void SIGPIPE_handler(int signal) { in SIGPIPE_handler() argument 33 signal(SIGPIPE, SIGPIPE_handler); in main()
|
/system/update_engine/ |
D | dbus_test_utils.h | 31 mock_signal_handler, mock_proxy, signal) \ argument 34 Register##signal##SignalHandler(::testing::_, ::testing::_)) \
|
/system/nfc/src/adaptation/ |
D | NfcAdaptation.cpp | 283 void NfcAdaptation::signal() { mCondVar.signal(); } in signal() function in NfcAdaptation 323 NfcAdaptation::GetInstance().signal(); in Thread() 622 mHalOpenCompletedEvent.signal(); in HalDownloadFirmwareCallback() 627 mHalCloseCompletedEvent.signal(); in HalDownloadFirmwareCallback() 747 void ThreadCondVar::signal() { in signal() function in ThreadCondVar
|
/system/chre/host/common/ |
D | socket_server.cc | 263 std::signal(SIGINT, signalHandler); in serviceSocket() 264 std::signal(SIGTERM, signalHandler); in serviceSocket() 295 void SocketServer::signalHandler(int signal) { in signalHandler() argument 296 LOGD("Caught signal %d", signal); in signalHandler()
|
/system/core/libnativebridge/include/nativebridge/ |
D | native_bridge.h | 88 NativeBridgeSignalHandlerFn NativeBridgeGetSignalHandler(int signal); 250 NativeBridgeSignalHandlerFn (*getSignalHandler)(int signal);
|
/system/nfc/src/include/ |
D | NfcAdaptation.h | 53 void signal(); 87 void signal();
|
/system/libhwbinder/vts/performance/ |
D | Latency.cpp | 154 p.signal(); in serviceFx() 196 p.signal(); in clientFx() 222 p.signal(); in clientFx() 263 v[i].signal(); in signalAll() 376 client_pipes[i].signal(); in main()
|
/system/sepolicy/private/ |
D | crash_dump.te | 12 }:process { ptrace signal sigchld sigstop sigkill };
|
/system/core/logcat/ |
D | logcat_main.cpp | 25 signal(SIGPIPE, exit); in main()
|
/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()
|