Searched refs:waitpid_with_timeout (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/cmds/dumpstate/ |
D | DumpstateUtil.cpp | 46 static bool waitpid_with_timeout(pid_t pid, int timeout_ms, int* status) { in waitpid_with_timeout() function 378 bool ret = waitpid_with_timeout(pid, options.TimeoutInMs(), &status); in RunCommandToFd() 397 if (!waitpid_with_timeout(pid, 5000, nullptr)) { in RunCommandToFd() 399 if (!waitpid_with_timeout(pid, 5000, nullptr)) { in RunCommandToFd()
|
/frameworks/base/cmds/incidentd/src/ |
D | incidentd_util.cpp | 182 static bool waitpid_with_timeout(pid_t pid, int timeout_ms, int* status) { in waitpid_with_timeout() function 236 if (waitpid_with_timeout(pid, timeout_ms, &status)) { in wait_child()
|