/system/bt/test/suite/rfcomm/ |
D | rfcomm_unittest.cc | 43 sock_connect_signal_t signal; in TEST_F() local 47 len = read(fd, &signal, sizeof(signal)); in TEST_F() 48 EXPECT_TRUE(len == sizeof(signal)) in TEST_F() 51 EXPECT_TRUE(signal.bd_addr == bt_remote_bdaddr_) in TEST_F() 53 EXPECT_TRUE(channel == signal.channel) in TEST_F() 55 << signal.channel; in TEST_F() 84 sock_connect_signal_t signal; in TEST_F() local 92 len = read(fd, &signal, sizeof(signal)); in TEST_F() 93 if (len != sizeof(signal)) { in TEST_F() 100 EXPECT_TRUE(signal.bd_addr == bt_remote_bdaddr_) in TEST_F() [all …]
|
/system/core/libmemunreachable/ |
D | ScopedSignalHandler.h | 45 void install(int signal, F&& f) { in install() argument 48 if (handler_map_->find(signal) != handler_map_->end()) { in install() 49 MEM_LOG_ALWAYS_FATAL("ScopedSignalHandler already installed for %d", signal); in install() 52 (*handler_map_)[signal] = in install() 53 SignalFn([=](int signal, siginfo_t* si, void* uctx) { f(*this, signal, si, uctx); }); in install() 56 act.sa_sigaction = [](int signal, siginfo_t* si, void* uctx) { in install() 57 ((*handler_map_)[signal])(signal, si, uctx); in install() 61 int ret = sigaction(signal, &act, &old_act_); in install() 66 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()
|
D | HeapWalker.h | 67 SIGSEGV, [=](ScopedSignalHandler& handler, int signal, siginfo_t* siginfo, void* uctx) { 68 this->HandleSegFault(handler, signal, siginfo, uctx); 71 SIGBUS, [=](ScopedSignalHandler& handler, int signal, siginfo_t* siginfo, void* uctx) { 72 this->HandleSegFault(handler, signal, siginfo, uctx);
|
/system/tools/hidl/test/hidl_test/ |
D | hidl_test_servers.cpp | 43 void signal_handler_server(int signal) { in signal_handler_server() argument 44 if (signal == SIGTERM) { in signal_handler_server() 57 signal(SIGTERM, signal_handler_server); in run() 82 void signal_handler(int signal) { in signal_handler() argument 83 if (signal == SIGTERM) { in signal_handler() 98 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/connectivity/wificond/ |
D | main.cpp | 55 std::signal(SIGINT, &ScopedSignalHandler::LeaveLoop); in ScopedSignalHandler() 56 std::signal(SIGTERM, &ScopedSignalHandler::LeaveLoop); in ScopedSignalHandler() 60 std::signal(SIGINT, SIG_DFL); in ~ScopedSignalHandler() 61 std::signal(SIGTERM, SIG_DFL); in ~ScopedSignalHandler() 67 static void LeaveLoop(int signal) { in LeaveLoop() argument
|
/system/core/libutils/include/utils/ |
D | Condition.h | 73 void signal(); 75 void signal(WakeUpType type) { in signal() function 77 signal(); in signal() 152 inline void Condition::signal() { in signal() function
|
/system/core/libprocessgroup/ |
D | processgroup.cpp | 262 static int DoKillProcessGroupOnce(const char* cgroup, uid_t uid, int initialPid, int signal) { in DoKillProcessGroupOnce() argument 314 if (kill(-pgid, signal) == -1 && errno != ESRCH) { in DoKillProcessGroupOnce() 315 PLOG(WARNING) << "kill(" << -pgid << ", " << signal << ") failed"; in DoKillProcessGroupOnce() 324 if (kill(pid, signal) == -1 && errno != ESRCH) { in DoKillProcessGroupOnce() 325 PLOG(WARNING) << "kill(" << pid << ", " << signal << ") failed"; in DoKillProcessGroupOnce() 332 static int KillProcessGroup(uid_t uid, int initialPid, int signal, int retries) { in KillProcessGroup() argument 349 while ((processes = DoKillProcessGroupOnce(cgroup, uid, initialPid, signal)) > 0) { in KillProcessGroup() 390 int killProcessGroup(uid_t uid, int initialPid, int signal) { in killProcessGroup() argument 391 return KillProcessGroup(uid, initialPid, signal, 40 /*retries*/); in killProcessGroup() 394 int killProcessGroupOnce(uid_t uid, int initialPid, int signal) { in killProcessGroupOnce() argument [all …]
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | crash_dump.te | 19 }:process { ptrace signal sigchld sigstop sigkill }; 21 allow crash_dump { apexd llkd logd vold }:process { ptrace signal sigchld sigstop sigkill }; 46 }:process { signal sigstop sigkill };
|
/system/sepolicy/private/ |
D | crash_dump.te | 19 }:process { ptrace signal sigchld sigstop sigkill }; 21 allow crash_dump { apexd llkd logd vold }:process { ptrace signal sigchld sigstop sigkill }; 46 }:process { signal sigstop sigkill };
|
/system/vold/ |
D | Process.cpp | 84 int KillProcessesWithOpenFiles(const std::string& prefix, int signal) { in KillProcessesWithOpenFiles() argument 124 if (signal != 0) { in KillProcessesWithOpenFiles() 126 LOG(WARNING) << "Sending " << strsignal(signal) << " to " << pid; in KillProcessesWithOpenFiles() 127 kill(pid, signal); in KillProcessesWithOpenFiles()
|
D | Process.h | 23 int KillProcessesWithOpenFiles(const std::string& path, int signal);
|
/system/core/libsparse/ |
D | simg_dump.py | 22 import signal 38 signal.signal(signal.SIGPIPE, signal.SIG_DFL)
|
/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/core/libprocessgroup/include/processgroup/ |
D | processgroup.h | 45 int killProcessGroup(uid_t uid, int initialPid, int signal); 49 int killProcessGroupOnce(uid_t uid, int initialPid, int signal);
|
/system/extras/libperfmgr/ |
D | NodeLooperThread.cc | 62 wake_cond_.signal(); in Request() 87 wake_cond_.signal(); in Cancel() 137 wake_cond_.signal(); in Stop()
|
/system/update_engine/ |
D | dbus_test_utils.h | 31 mock_signal_handler, mock_proxy, signal) \ argument 34 Register##signal##SignalHandler(::testing::_, ::testing::_)) \
|
/system/bt/include/hardware/ |
D | bluetooth_headset_interface.h | 114 int signal, int batt_chg, 141 int signal, int roam, int batt_chg,
|
/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 | 92 NativeBridgeSignalHandlerFn NativeBridgeGetSignalHandler(int signal); 254 NativeBridgeSignalHandlerFn (*getSignalHandler)(int signal);
|
/system/sepolicy/prebuilts/api/28.0/private/ |
D | crash_dump.te | 14 }:process { ptrace signal sigchld sigstop sigkill };
|
/system/core/logcat/ |
D | logcat_main.cpp | 25 signal(SIGPIPE, exit); in main()
|