Searched refs:child_pid (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/cmds/incidentd/src/ |
D | incidentd_util.cpp | 194 pid_t child_pid = waitpid(pid, status, WNOHANG); in waitpid_with_timeout() local 195 if (child_pid != pid) { in waitpid_with_timeout() 196 if (child_pid > 0) { in waitpid_with_timeout() 197 ALOGW("*** Waiting for pid %d, got pid %d instead\n", pid, child_pid); in waitpid_with_timeout() 230 child_pid = waitpid(pid, status, WNOHANG); in waitpid_with_timeout() 231 if (child_pid != pid) { in waitpid_with_timeout() 232 if (child_pid != -1) { in waitpid_with_timeout() 233 ALOGW("*** Waiting for pid %d, got pid %d instead\n", pid, child_pid); in waitpid_with_timeout()
|
/frameworks/native/cmds/dumpstate/ |
D | DumpstateUtil.cpp | 58 pid_t child_pid = waitpid(pid, status, WNOHANG); in waitpid_with_timeout() local 59 if (child_pid != pid) { in waitpid_with_timeout() 60 if (child_pid > 0) { in waitpid_with_timeout() 61 printf("*** Waiting for pid %d, got pid %d instead\n", pid, child_pid); in waitpid_with_timeout() 94 child_pid = waitpid(pid, status, WNOHANG); in waitpid_with_timeout() 95 if (child_pid != pid) { in waitpid_with_timeout() 96 if (child_pid != -1) { in waitpid_with_timeout() 97 printf("*** Waiting for pid %d, got pid %d instead\n", pid, child_pid); in waitpid_with_timeout()
|