Searched refs:wstatus (Results 1 – 2 of 2) sorted by relevance
/system/core/adb/daemon/ |
D | remount_service.cpp | 54 int wstatus = 0; in do_remount() local 55 auto ret = waitpid(pid, &wstatus, 0); in do_remount() 66 if (WIFSIGNALED(wstatus)) { in do_remount() 68 strsignal(WTERMSIG(wstatus))); in do_remount() 72 if (!WIFEXITED(wstatus)) { in do_remount() 73 WriteFdFmt(fd, "%s stopped with status 0x%x\n", kRemountCmd, wstatus); in do_remount() 77 if (WEXITSTATUS(wstatus)) { in do_remount() 78 WriteFdFmt(fd, "%s exited with status %d\n", kRemountCmd, WEXITSTATUS(wstatus)); in do_remount()
|
/system/core/llkd/tests/ |
D | llkd_test.cpp | 161 int wstatus; in waitForPid() local 162 ASSERT_LE(0, waitpid(child_pid, &wstatus, 0)); in waitForPid() 163 EXPECT_FALSE(WIFEXITED(wstatus)) << "[ INFO ] exit=" << WEXITSTATUS(wstatus); in waitForPid() 164 ASSERT_TRUE(WIFSIGNALED(wstatus)); in waitForPid() 165 ASSERT_EQ(WTERMSIG(wstatus), SIGKILL); in waitForPid() 205 int wstatus; in llkd_driver_ABA() local 214 waitpid(driver_pid, &wstatus, 0); in llkd_driver_ABA() 215 if (!WIFEXITED(wstatus)) { in llkd_driver_ABA() 218 if (WEXITSTATUS(wstatus) != 42) { in llkd_driver_ABA() 228 ASSERT_LE(0, waitpid(child_pid, &wstatus, 0)); in llkd_driver_ABA() [all …]
|