Home
last modified time | relevance | path

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

/frameworks/base/cmds/incidentd/src/
Dincidentd_util.cpp183 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/
DDumpstateUtil.cpp47 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/libs/binary_translation/guest_os_primitives/
Dscoped_signal_blocker.h43 [[nodiscard]] const HostSigset* old_mask() const { return &old_mask_; } in old_mask() function
Dguest_thread_pthread_create.cc48 info.mask = *signal_blocker.old_mask(); in CreateNewGuestThread()
Dguest_thread_clone.cc162 info.mask = *signal_blocker.old_mask(); in CloneGuestThread()
/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()