Home
last modified time | relevance | path

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

/frameworks/base/cmds/incidentd/src/
Dincidentd_util.cpp215 pid_t child_pid = waitpid(pid, status, WNOHANG); in waitpid_with_timeout() local
216 if (child_pid == pid) { in waitpid_with_timeout()
219 if (child_pid == -1) { in waitpid_with_timeout()
222 ALOGW("Waiting for pid %d, got pid %d instead", pid, child_pid); in waitpid_with_timeout()
/frameworks/native/cmds/dumpstate/
DDumpstateUtil.cpp79 pid_t child_pid = waitpid(pid, status, WNOHANG); in waitpid_with_timeout() local
80 if (child_pid != pid) { in waitpid_with_timeout()
81 if (child_pid != -1) { in waitpid_with_timeout()
82 printf("*** Waiting for pid %d, got pid %d instead\n", pid, child_pid); in waitpid_with_timeout()