Home
last modified time | relevance | path

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

123

/development/tools/bugreport/src/com/android/bugreport/bugreport/
DProcessInfo.java28 public int pid; field in ProcessInfo
43 public ProcessInfo(int pid, String cmdLine) { in ProcessInfo() argument
44 this.pid = pid; in ProcessInfo()
/development/tools/bugreport/src/com/android/bugreport/stacks/
DVmTraces.java33 public ProcessSnapshot getProcess(int pid) { in getProcess() argument
35 if (process.pid == pid) { in getProcess()
42 public ThreadSnapshot getThread(int pid, String name) { in getThread() argument
43 final ProcessSnapshot process = getProcess(pid); in getThread()
DProcessSnapshot.java25 public int pid; field in ProcessSnapshot
40 this.pid = that.pid; in ProcessSnapshot()
61 return this.pid - that.pid; in compareTo()
/development/ndk/platforms/android-21/include/linux/
Dif_pppol2tp.h24 __kernel_pid_t pid; member
32 __kernel_pid_t pid; member
41 __kernel_pid_t pid; member
50 __kernel_pid_t pid; member
Ddlm_plock.h42 __u32 pid; member
Dblktrace_api.h116 __u32 pid; member
146 __u32 pid; member
/development/tools/logblame/
Dps.py12 def __init__(self, uid, pid, ppid, name): argument
14 self.pid = pid
23 return self.pid
26 return "Process(uid=%s, pid=%s, name=%s)" % (self.uid, self.pid, self.name)
75 def FindPid(self, pid, uid=None): argument
82 result = self._processes.get(pid)
85 result = self._processes.get(pid)
89 result = Process(uid, pid, None, None)
90 self._processes[pid] = result
Dlogs.py18 def __init__(self, buf=None, timestamp=None, uid=None, pid=None, tid=None, level=None, argument
23 self.pid = pid
32 self.pid, self.tid, self.level, self.tag, self.text)
39 and self.pid == other.pid
47 logLine = LogLine(self.buf, self.timestamp, self.uid, self.pid, self.tid, self.level,
81 pid = None
128 pid=m.group(3),
134 logLine.process = processes.FindPid(logLine.pid, logLine.uid)
/development/scripts/
Dgdbclient.py123 pid = None
128 pid = args.target_pid
131 pid = get_remote_pid(device, args.target_name)
141 assert pid is not None
143 binary_file, local = gdbrunner.find_binary(device, pid, sysroot,
146 sys.exit("failed to pull binary for PID {}".format(pid))
152 return (binary_file, pid, run_cmd)
226 pid = None
230 binary_file, pid, run_cmd = handle_switches(args, sysroot)
244 target_pid=pid, run_cmd=run_cmd, debug_socket=debug_socket,
/development/ndk/platforms/android-21/include/linux/dvb/
Dnet.h24 __u16 pid; member
36 __u16 pid; member
Ddmx.h86 __u16 pid; member
100 __u16 pid; member
/development/ndk/platforms/android-9/include/sys/
Dwait.h54 static __inline__ pid_t wait4(pid_t pid, int *status, int options, struct rusage *rusage) in wait4() argument
56 return (pid_t)syscall(__NR_wait4, pid, status, options, rusage); in wait4()
/development/testrunner/
Drun_command.py83 pid = []
105 pid.append(pipe.pid)
132 os.kill(pid[0], signal.SIGKILL)
/development/tools/bugreport/src/com/android/bugreport/inspector/
DDeadlockDetector.java121 public static Set<ProcessSnapshot> detectDeadlocks(VmTraces vmTraces, int pid) { in detectDeadlocks() argument
130 final ProcessSnapshot offendingProcess = vmTraces.getProcess(pid); in detectDeadlocks()
145 System.out.print(" pid=" + offendingProcess.pid + " \"" + offendingThread.name in detectDeadlocks()
198 System.out.print(" pid=" + tr.process.pid + " \"" + tr.thread.name in detectDeadlocks()
211 ProcessSnapshot cloneProcess = results.get(tr.process.pid); in detectDeadlocks()
215 results.put(tr.process.pid, cloneProcess); in detectDeadlocks()
222 System.out.println(" pid=" + lr.process.pid + " " + lr.lock.packageName in detectDeadlocks()
DInspector.java85 markDeadlocks(mBugreport.anr.vmTraces, mBugreport.anr.pid); in inspect()
123 final ProcessInfo pi = makeProcessInfo(process.pid, process.cmdLine); in makeProcessInfo()
134 private ProcessInfo makeProcessInfo(int pid, String cmdLine) { in makeProcessInfo() argument
135 ProcessInfo pi = mBugreport.allKnownProcesses.get(pid); in makeProcessInfo()
137 pi = new ProcessInfo(pid, cmdLine); in makeProcessInfo()
138 mBugreport.allKnownProcesses.put(pid, pi); in makeProcessInfo()
452 if (mBugreport.anr != null && mBugreport.anr.pid == process.pid) { in isProcessInteresting()
555 private void markDeadlocks(VmTraces vmTraces, int pid) { in markDeadlocks() argument
556 final Set<ProcessSnapshot> deadlock = DeadlockDetector.detectDeadlocks(vmTraces, pid); in markDeadlocks()
768 line.process = mBugreport.allKnownProcesses.get(line.pid); in markLogcatProcessesAndThreads()
/development/ndk/platforms/android-9/include/linux/netfilter_ipv6/
Dip6t_owner.h23 pid_t pid; member
/development/ndk/platforms/android-9/include/linux/netfilter_ipv4/
Dipt_owner.h24 pid_t pid; member
/development/tools/bugreport/src/com/android/bugreport/cpuinfo/
DCpuUsage.java26 public int pid; field in CpuUsage
/development/python-packages/gdbrunner/
D__init__.py134 pid = int(columns[pid_column])
136 processes[process_name].append(pid)
138 processes[process_name] = [pid]
250 def find_binary(device, pid, sysroot, user=None): argument
252 return find_file(device, "/proc/{}/exe".format(pid), sysroot, user)
/development/tools/bugreport/src/com/android/bugreport/logcat/
DLogcatParser.java76 ll.pid = Integer.parseInt(m.group(9)); in parse()
85 System.out.println("LogLine: time=" + ll.time + " pid=" + ll.pid in parse()
DLogLine.java55 public int pid = -1; field in LogLine
/development/tools/bugreport/src/com/android/bugreport/anr/
DAnr.java33 public int pid; field in Anr
/development/ndk/platforms/android-9/include/
Dthread_db.h71 pid_t pid; member
77 pid_t pid; member
Dsched.h52 extern int sched_rr_get_interval(pid_t pid, struct timespec *tp);
/development/ndk/platforms/android-9/include/linux/
Dcapability.h22 int pid; member

123