Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/
DDumpstateUtil.cpp46 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/
Dincidentd_util.cpp182 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()