Home
last modified time | relevance | path

Searched refs:old_mask (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/cmds/incidentd/src/
Dincidentd_util.cpp183 sigset_t child_mask, old_mask; in waitpid_with_timeout() local
187 if (sigprocmask(SIG_BLOCK, &child_mask, &old_mask) == -1) { in waitpid_with_timeout()
199 if (sigprocmask(SIG_SETMASK, &old_mask, nullptr) == -1) { in waitpid_with_timeout()
/frameworks/native/cmds/installd/
Dotapreopt_parameters.cpp113 static int ReplaceMask(int input, int old_mask, int new_mask) { in ReplaceMask() argument
114 return (input & old_mask) != 0 ? new_mask : 0; in ReplaceMask()
/frameworks/native/cmds/dumpstate/
DDumpstateUtil.cpp47 sigset_t child_mask, old_mask; in waitpid_with_timeout() local
51 if (sigprocmask(SIG_BLOCK, &child_mask, &old_mask) == -1) { in waitpid_with_timeout()
63 if (sigprocmask(SIG_SETMASK, &old_mask, nullptr) == -1) { in waitpid_with_timeout()