Home
last modified time | relevance | path

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

12

/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()
DProcessSnapshotParser.java75 result.pid = Integer.parseInt(beginProcessRe.group(1)); in parse()
129 System.out.println("pid=" + result.pid); in parse()
/development/tools/logblame/
Dlogs.py19 def __init__(self, buf=None, timestamp=None, uid=None, pid=None, tid=None, level=None, argument
24 self.pid = pid
33 self.pid, self.tid, self.level, self.tag, self.text)
40 and self.pid == other.pid
48 logLine = LogLine(self.buf, self.timestamp, self.uid, self.pid, self.tid, self.level,
82 pid = None
129 pid=m.group(3),
135 logLine.process = processes.FindPid(logLine.pid, logLine.uid)
147 pid=m.group(2),
154 logLine.process = processes.FindPid(logLine.pid, logLine.uid)
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
Dtest_ps.py81 print "pid:", process.pid
/development/scripts/
Dbash_util.bash60 local pid="$(do_adb shell pidof "$name")"
61 if [[ -z "$pid" ]] ; then
64 echo "$pid"
Drunahat31 pid="$(resolve_pid "$1" || usage)"
37 info "Getting heap dump from $pid ..."
38 do_adb shell am dumpheap -g "$pid" "$dev_file"
Dacov-llvm.py101 def _has_handler_sig37(pid): argument
121 pids = [pid.strip() for pid in output.split()]
123 pids = [pid for pid in pids if _has_handler_sig37(pid)]
Dlldbclient.py70 def get_tracer_pid(device: adb.AndroidDevice, pid: int | str | None) -> int:
71 if pid is None:
74 line, _ = device.shell(["grep", "-e", "^TracerPid:", "/proc/{}/status".format(pid)])
233 pid = None
240 pid = args.target_pid
243 pid = get_remote_pid(device, args.target_name)
259 assert pid is not None
261 binary_file, local = gdbrunner.find_binary(device, pid, sysroot,
264 sys.exit("failed to pull binary for PID {}".format(pid))
270 return (binary_file, pid, run_cmd)
[all …]
Dgdbclient.py70 def get_tracer_pid(device: adb.AndroidDevice, pid: int | str | None) -> int:
71 if pid is None:
74 line, _ = device.shell(["grep", "-e", "^TracerPid:", "/proc/{}/status".format(pid)])
233 pid = None
240 pid = args.target_pid
243 pid = get_remote_pid(device, args.target_name)
259 assert pid is not None
261 binary_file, local = gdbrunner.find_binary(device, pid, sysroot,
264 sys.exit("failed to pull binary for PID {}".format(pid))
270 return (binary_file, pid, run_cmd)
[all …]
/development/tools/winscope/src/parsers/events/
Dparser_eventlog.ts97 const [rawTimestamp, uid, pid, tid, priority, tag] = metaData constant
103 pid: Number(pid),
115 pid: number; property
/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/python-packages/gdbrunner/gdbrunner/
D__init__.py131 pid = int(columns[pid_column])
133 processes[process_name].append(pid)
135 processes[process_name] = [pid]
331 def find_binary(device, pid, sysroot, run_as_cmd=None): argument
333 return find_file(device, "/proc/{}/exe".format(pid), sysroot, run_as_cmd)
/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/cpuinfo/
DCpuUsage.java26 public int pid; field in CpuUsage
/development/tools/winscope/src/viewers/viewer_transactions/
Dpresenter.ts222 (entry: UiDataEntry) => entry.pid,
263 this.pidFilter.includes(entry.pid),
433 const pid = assertDefined( constant
452 pid,
474 pid,
493 pid,
Dui_data.ts61 public pid: string, property in UiDataEntry
/development/tools/winscope/src/test/e2e/
Dviewer_transactions_test.ts77 const pid = selectedEntry.element(by.css('.pid')); constant
78 expect(await pid.getText()).toEqual('1857');
/development/tools/bugreport/src/com/android/bugreport/html/
DRenderer.java164 hdf.setValue("triage.pid", Integer.toString(anr.pid)); in makeTriageHdf()
167 final ProcessSnapshot offendingProcess = anr.vmTraces.getProcess(anr.pid); in makeTriageHdf()
168 final ThreadSnapshot offendingThread = anr.vmTraces.getThread(anr.pid, "main"); in makeTriageHdf()
175 visited.put(offendingProcess.pid, visitedThreads); in makeTriageHdf()
210 HashSet<Integer> visitedThreads = visited.get(process.pid); in cloneAndFilter()
213 visited.put(process.pid, visitedThreads); in cloneAndFilter()
256 hdf.setValue("pid", Integer.toString(process.pid)); in makeProcessSnapshotHdf()
423 if (process.pid == anr.pid) { in sortProcesses()
/development/tools/bugreport/src/com/android/bugreport/anr/
DAnr.java33 public int pid; field in Anr
DAnrParser.java80 anr.pid = Integer.parseInt(pidRe.group(1)); in parse()
126 System.out.println(" pid=" + item.pid); in parse()

12