Searched refs:child_pid (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/cmds/incidentd/src/ |
D | incidentd_util.cpp | 215 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/ |
D | DumpstateUtil.cpp | 79 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()
|