Searched refs:crasher_pid (Results 1 – 1 of 1) sorted by relevance
/system/core/debuggerd/ |
D | debuggerd_test.cpp | 151 pid_t crasher_pid = -1; member in CrasherTest 176 if (crasher_pid != -1) { in ~CrasherTest() 177 kill(crasher_pid, SIGKILL); in ~CrasherTest() 179 waitpid(crasher_pid, &status, WUNTRACED); in ~CrasherTest() 186 if (crasher_pid == -1) { in StartIntercept() 191 tombstoned_intercept(crasher_pid, &this->intercept_fd, output_fd, &status, intercept_type); in StartIntercept() 219 crasher_pid = forker(); in StartProcess() 220 if (crasher_pid == -1) { in StartProcess() 222 } else if (crasher_pid == 0) { in StartProcess() 246 pid_t pid = TIMEOUT(5, waitpid(crasher_pid, &status, 0)); in AssertDeath() [all …]
|