Home
last modified time | relevance | path

Searched refs:signalMask (Results 1 – 2 of 2) sorted by relevance

/system/chre/host/common/
Ddaemon_base.cc59 sigset_t signalMask; in signalHandler() local
60 sigfillset(&signalMask); in signalHandler()
61 sigdelset(&signalMask, SIGINT); in signalHandler()
62 sigdelset(&signalMask, SIGTERM); in signalHandler()
63 if (sigprocmask(SIG_SETMASK, &signalMask, NULL) != 0) { in signalHandler()
69 if ((rc = sigwait(&signalMask, &signum)) != 0) { in signalHandler()
Dsocket_server.cc239 sigset_t signalMask; in serviceSocket() local
240 sigfillset(&signalMask); in serviceSocket()
241 sigdelset(&signalMask, SIGINT); in serviceSocket()
242 sigdelset(&signalMask, SIGTERM); in serviceSocket()
246 int ret = ppoll(mPollFds, 1 + kMaxActiveClients, nullptr, &signalMask); in serviceSocket()