Searched refs:old_mask (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/cmds/incidentd/src/ |
D | incidentd_util.cpp | 183 sigset_t child_mask, old_mask; in waitpid_with_timeout() local 188 if (sigprocmask(SIG_BLOCK, &child_mask, &old_mask) == -1) { in waitpid_with_timeout() 198 sigprocmask(SIG_SETMASK, &old_mask, nullptr); in waitpid_with_timeout() 202 sigprocmask(SIG_SETMASK, &old_mask, nullptr); in waitpid_with_timeout() 214 if (sigprocmask(SIG_SETMASK, &old_mask, nullptr) == -1) { in waitpid_with_timeout()
|
/frameworks/native/cmds/dumpstate/ |
D | DumpstateUtil.cpp | 47 sigset_t child_mask, old_mask; in waitpid_with_timeout() local 52 if (sigprocmask(SIG_BLOCK, &child_mask, &old_mask) == -1) { in waitpid_with_timeout() 62 sigprocmask(SIG_SETMASK, &old_mask, nullptr); in waitpid_with_timeout() 66 sigprocmask(SIG_SETMASK, &old_mask, nullptr); in waitpid_with_timeout() 78 if (sigprocmask(SIG_SETMASK, &old_mask, nullptr) == -1) { in waitpid_with_timeout()
|
/frameworks/native/cmds/installd/ |
D | otapreopt_parameters.cpp | 113 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()
|