Home
last modified time | relevance | path

Searched refs:pid (Results 1 – 6 of 6) sorted by relevance

/art/test/137-cfi/
Dcfi.cc183 pid_t pid = static_cast<pid_t>(pid_int); in Java_Main_unwindOtherProcess() local
187 if (ptrace(PTRACE_ATTACH, pid, 0, 0)) { in Java_Main_unwindOtherProcess()
191 kill(pid, SIGKILL); in Java_Main_unwindOtherProcess()
195 kill(pid, SIGSTOP); in Java_Main_unwindOtherProcess()
199 int signal = wait_for_sigstop(pid, &total_sleep_time_usec, &detach_failed); in Java_Main_unwindOtherProcess()
204 std::unique_ptr<Backtrace> bt(Backtrace::Create(pid, BACKTRACE_CURRENT_THREAD)); in Java_Main_unwindOtherProcess()
229 if (ptrace(PTRACE_DETACH, pid, 0, 0) != 0) { in Java_Main_unwindOtherProcess()
234 kill(pid, SIGKILL); in Java_Main_unwindOtherProcess()
/art/test/
Drun-all-tests176 for pid in ${test_pids[@]}; do
177 wait $pid
180 failed_test_names="$failed_test_names ${test_names[$pid]}[pid=$pid]"
/art/test/137-cfi/src/
DMain.java90 int pid = getPid(p); in runPrimary() local
91 if (pid <= 0) { in runPrimary()
102 if (!unwindOtherProcess(pid)) { in runPrimary()
169 public native boolean unwindOtherProcess(int pid); in unwindOtherProcess() argument
/art/runtime/native/
Ddalvik_system_ZygoteHooks.cc170 pid_t pid = getpid(); in ZygoteHooks_nativePostForkChild() local
171 proc_name = StringPrintf("%u", static_cast<uint32_t>(pid)); in ZygoteHooks_nativePostForkChild()
/art/test/004-ThreadStress/src/
DMain.java75 private final static int pid; field in Main.SigQuit
98 pid = pidTemp;
106 kill.invoke(null, pid, sigquit); in perform()
/art/runtime/
Dutils.cc1407 pid_t pid = fork(); in Exec() local
1408 if (pid == 0) { in Exec()
1419 if (pid == -1) { in Exec()
1427 pid_t got_pid = TEMP_FAILURE_RETRY(waitpid(pid, &status, 0)); in Exec()
1428 if (got_pid != pid) { in Exec()
1431 command_line.c_str(), pid, got_pid, strerror(errno)); in Exec()