Searched refs:pid (Results 1 - 8 of 8) sorted by relevance

/dalvik/vm/native/
H A Ddalvik_system_Zygote.c49 pid_t pid; local
52 while ((pid = waitpid(-1, &status, WNOHANG)) > 0) {
63 (int) pid, WEXITSTATUS(status));
68 (int) pid, WEXITSTATUS(status));
75 (int) pid, WTERMSIG(status));
80 (int) pid, WTERMSIG(status));
86 (int) pid);
96 if (pid == gDvm.systemServerPid) {
99 (int) pid);
104 if (pid <
227 pid_t pid; local
359 pid_t pid; local
480 pid_t pid; local
494 pid_t pid; local
[all...]
/dalvik/dvz/
H A Ddvz.c31 // pid of child process
41 static void post_run_func (int pid) { argument
47 g_pid = pid;
55 spawned_pgid = getpgid(pid);
/dalvik/tools/
H A Dgclog.py134 def handleGcInfo(procFilter, timestamp, pid, values):
137 pid = int(pid)
150 (timestamp, global_info[0], pid, zygote[0]/1024, external[2]/1024, external[3]/1024)
154 # (timestamp, pid, values[0], values[1], values[2], values[3])
176 \(\s*(\d+)\) # extract the pid (#2)
/dalvik/vm/
H A DSignalCatcher.c108 pid_t pid = getpid(); local
118 "\n\n----- pid %d at %04d-%02d-%02d %02d:%02d:%02d -----\n",
119 pid, ptm->tm_year + 1900, ptm->tm_mon+1, ptm->tm_mday,
124 fprintf(fp, "----- end %d -----\n", pid);
H A DDdm.c372 static bool getThreadStats(pid_t pid, pid_t tid, unsigned long* pUtime, argument
376 int pid;
392 &pid, comm, &state, &ppid, &pgrp, &session, &tty_nr, &tpgid,
408 sprintf(nameBuf, "/proc/%d/task/%d/stat", (int) pid, (int) tid);
505 pid_t pid = getpid(); local
510 if (!getThreadStats(pid, thread->systemTid, &utime, &stime)) {
H A DThread.c999 //LOGI("SYSTEM TID IS %d (pid is %d)\n", (int) thread->systemTid,
3306 pid_t pid = thread->systemTid; local
3317 } else if (getpriority(PRIO_PROCESS, pid) >= ANDROID_PRIORITY_BACKGROUND) {
3321 if (setpriority(PRIO_PROCESS, pid, newNice) != 0) {
3324 pid, str, newPriority, newNice, strerror(errno));
3328 pid, newPriority, newNice);
3396 * The data from /proc/<pid>/cgroup looks (something) like:
3510 char schedstatBuf[64]; // contents of /proc/[pid]/task/[tid]/schedstat
/dalvik/vm/analysis/
H A DDexPrepare.c308 pid_t pid; local
319 pid = fork();
320 if (pid == 0) {
425 LOGV("DexOpt: waiting for verify+opt, pid=%d\n", (int) pid);
436 gotPid = waitpid(pid, &status, 0);
444 if (gotPid != pid) {
446 (int) pid, (int) gotPid, strerror(errno));
/dalvik/vm/oo/
H A DClass.c205 pid_t pid = getpid(); local
208 LOG(LOG_INFO, "PRELOAD", "%c%d:%d:%d:%s:%d:%s:%lld\n", type, ppid, pid, tid,

Completed in 71 milliseconds