/development/tools/bugreport/src/com/android/bugreport/bugreport/ |
D | ProcessInfo.java | 28 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/ |
D | VmTraces.java | 33 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()
|
D | ProcessSnapshot.java | 25 public int pid; field in ProcessSnapshot 40 this.pid = that.pid; in ProcessSnapshot() 61 return this.pid - that.pid; in compareTo()
|
D | ProcessSnapshotParser.java | 75 result.pid = Integer.parseInt(beginProcessRe.group(1)); in parse() 129 System.out.println("pid=" + result.pid); in parse()
|
/development/tools/logblame/ |
D | logs.py | 19 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)
|
D | ps.py | 12 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
|
D | test_ps.py | 81 print "pid:", process.pid
|
D | analyze_logs.py | 182 logLine.uid, logLine.pid, logLine.tid, logLine.level, logLine.tag, logLine.text)) 187 byPid.add(logLine.pid, logLine)
|
D | sample.txt | 118 Setting hasTopUi=true for pid=3812 524 Setting hasTopUi=false for pid=3812 1506 Setting hasTopUi=true for pid=3812 2019 Setting hasTopUi=false for pid=3812
|
/development/scripts/ |
D | gdbclient.py | 37 def get_tracer_pid(device, pid): argument 38 if pid is None: 41 line, _ = device.shell(["grep", "-e", "^TracerPid:", "/proc/{}/status".format(pid)]) 117 pid = None 124 pid = args.target_pid 127 pid = get_remote_pid(device, args.target_name) 143 assert pid is not None 145 binary_file, local = gdbrunner.find_binary(device, pid, sysroot, 148 sys.exit("failed to pull binary for PID {}".format(pid)) 154 return (binary_file, pid, run_cmd) [all …]
|
D | gdbclient | 95 PID=$(pid --exact $PROCESS_NAME)
|
/development/testrunner/ |
D | run_command.py | 83 pid = [] 105 pid.append(pipe.pid) 132 os.kill(pid[0], signal.SIGKILL)
|
/development/tools/bugreport/src/com/android/bugreport/inspector/ |
D | DeadlockDetector.java | 121 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()
|
D | Inspector.java | 85 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/ |
D | __init__.py | 128 pid = int(columns[pid_column]) 130 processes[process_name].append(pid) 132 processes[process_name] = [pid] 280 def find_binary(device, pid, sysroot, run_as_cmd=None): argument 282 return find_file(device, "/proc/{}/exe".format(pid), sysroot, run_as_cmd)
|
/development/tools/bugreport/src/com/android/bugreport/cpuinfo/ |
D | CpuUsage.java | 26 public int pid; field in CpuUsage
|
/development/tools/bugreport/src/com/android/bugreport/logcat/ |
D | LogcatParser.java | 76 ll.pid = Integer.parseInt(m.group(9)); in parse() 85 System.out.println("LogLine: time=" + ll.time + " pid=" + ll.pid in parse()
|
D | LogLine.java | 55 public int pid = -1; field in LogLine
|
/development/tools/bugreport/src/com/android/bugreport/anr/ |
D | Anr.java | 33 public int pid; field in Anr
|
D | AnrParser.java | 80 anr.pid = Integer.parseInt(pidRe.group(1)); in parse() 126 System.out.println(" pid=" + item.pid); in parse()
|
/development/tools/bugreport/src/com/android/bugreport/html/ |
D | Renderer.java | 164 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/apps/Development/src/com/android/development/ |
D | BadBehaviorActivity.java | 104 public boolean appCrashed(String proc, int pid, String m, String m2, long time, String st) { in appCrashed() argument 108 public int appEarlyNotResponding(String processName, int pid, String annotation) { in appEarlyNotResponding() argument 112 public int appNotResponding(String proc, int pid, String st) { in appNotResponding() argument
|
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/ |
D | CubeWallpaper2.java | 117 int pid = getResources().getIdentifier(prefix + "points", "array", getPackageName()); in readModel() local 120 String [] p = getResources().getStringArray(pid); in readModel()
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | Monkey.java | 330 public boolean appCrashed(String processName, int pid, in appCrashed() argument 334 Logger.err.println("// CRASH: " + processName + " (pid " + pid + ")"); in appCrashed() 363 public int appEarlyNotResponding(String processName, int pid, String annotation) { in appEarlyNotResponding() argument 367 public int appNotResponding(String processName, int pid, String processStats) { in appNotResponding() argument 369 Logger.err.println("// NOT RESPONDING: " + processName + " (pid " + pid + ")"); in appNotResponding()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | RemoteService.java | 412 int pid = mSecondaryService.getPid(); 421 Process.killProcess(pid);
|