Searched refs:child (Results 1 – 5 of 5) sorted by relevance
/bootable/recovery/install/ |
D | fuse_sdcard_install.cpp | 155 pid_t child; in ApplyFromSdcard() local 156 if ((child = fork()) == 0) { in ApplyFromSdcard() 168 if (waitpid(child, &status, WNOHANG) == -1) { in ApplyFromSdcard() 182 kill(child, SIGKILL); in ApplyFromSdcard() 197 waitpid(child, &status, 0); in ApplyFromSdcard()
|
D | adb_install.cpp | 286 pid_t child = fork(); in CreateMinadbdServiceAndExecuteCommands() local 287 if (child == -1) { in CreateMinadbdServiceAndExecuteCommands() 291 if (child == 0) { in CreateMinadbdServiceAndExecuteCommands() 315 std::thread listener_thread(ListenAndExecuteMinadbdCommands, ui, child, in CreateMinadbdServiceAndExecuteCommands() 322 waitpid(child, &status, 0); in CreateMinadbdServiceAndExecuteCommands()
|
/bootable/recovery/ |
D | fsck_unshare_blocks.cpp | 91 pid_t child; in run_e2fsck() local 93 if (posix_spawn(&child, argv[0], nullptr, nullptr, argv.data(), env)) { in run_e2fsck() 99 int ret = TEMP_FAILURE_RETRY(waitpid(child, &status, 0)); in run_e2fsck()
|
/bootable/recovery/otautil/ |
D | roots.cpp | 95 pid_t child; in exec_cmd() local 96 if ((child = fork()) == 0) { in exec_cmd() 102 waitpid(child, &status, 0); in exec_cmd()
|
/bootable/recovery/updater/ |
D | install.cpp | 400 pid_t child; in exec_cmd() local 401 if ((child = vfork()) == 0) { in exec_cmd() 407 waitpid(child, &status, 0); in exec_cmd() 675 pid_t child = fork(); in RunProgramFn() local 676 if (child == 0) { in RunProgramFn() 683 waitpid(child, &status, 0); in RunProgramFn()
|