/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)
|
/development/scripts/ |
D | bash_util.bash | 60 local pid="$(do_adb shell pidof "$name")" 61 if [[ -z "$pid" ]] ; then 64 echo "$pid"
|
D | runahat | 31 pid="$(resolve_pid "$1" || usage)" 37 info "Getting heap dump from $pid ..." 38 do_adb shell am dumpheap -g "$pid" "$dev_file"
|
D | gdbclient.py | 76 def get_tracer_pid(device, pid): argument 77 if pid is None: 80 line, _ = device.shell(["grep", "-e", "^TracerPid:", "/proc/{}/status".format(pid)]) 217 pid = None 224 pid = args.target_pid 227 pid = get_remote_pid(device, args.target_name) 243 assert pid is not None 245 binary_file, local = gdbrunner.find_binary(device, pid, sysroot, 248 sys.exit("failed to pull binary for PID {}".format(pid)) 254 return (binary_file, pid, run_cmd) [all …]
|
/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/tools/bugreport/src/com/android/bugreport/cpuinfo/ |
D | CpuUsage.java | 26 public int pid; field in CpuUsage
|
/development/samples/MultiClientInputMethod/src/com/example/android/multiclientinputmethod/ |
D | MultiClientInputMethod.java | 64 public void addClient(int clientId, int uid, int pid, in onCreate() 70 mSoftInputWindowManager, clientId, uid, pid, imeDisplayId); in onCreate() 73 + " pid=" + pid + " displayId=" + selfReportedDisplayId in onCreate()
|
D | ClientCallbackImpl.java | 48 SoftInputWindowManager softInputWindowManager, int clientId, int uid, int pid, in ClientCallbackImpl() argument 55 mPid = pid; in ClientCallbackImpl()
|
/development/python-packages/gdbrunner/ |
D | __init__.py | 130 pid = int(columns[pid_column]) 132 processes[process_name].append(pid) 134 processes[process_name] = [pid] 292 def find_binary(device, pid, sysroot, run_as_cmd=None): argument 294 return find_file(device, "/proc/{}/exe".format(pid), sysroot, run_as_cmd)
|
/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()
|