Home
last modified time | relevance | path

Searched refs:child (Results 1 – 5 of 5) sorted by relevance

/bootable/recovery/install/
Dfuse_sdcard_install.cpp155 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()
Dadb_install.cpp286 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/
Dfsck_unshare_blocks.cpp91 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/
Droots.cpp95 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/
Dinstall.cpp400 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()