Home
last modified time | relevance | path

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

/platform_testing/emu_test/
Drun_android_bridge_test.sh16 ( $1 $2 ) & pid=$!
17 ( sleep $3 && kill -HUP $pid ) 2>/dev/null & watcher=$!
18 if wait $pid 2>/dev/null; then
24 pkill -9 -g $pid
Drun_test.sh22 ( $1 $2 $3 $4 ) & pid=$!
23 ( sleep $5 && kill -HUP $pid ) 2>/dev/null & watcher=$!
24 if wait $pid 2>/dev/null; then
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DProcessStatusTracker.java93 detail.pid0 = info.pid; in getProcessDetails()
95 int pid = mPidTracker.get(info.processName); in getProcessDetails() local
96 if (pid == -1) { in getProcessDetails()
97 mPidTracker.put(info.processName, info.pid); in getProcessDetails()
99 "pid detected - %s : %d", info.processName, info.pid)); in getProcessDetails()
103 } else if (pid == info.pid) { in getProcessDetails()
111 detail.pid1 = pid; in getProcessDetails()
120 int pid = mPidTracker.get(proc); in getProcessDetails() local
121 if (pid != -1) { in getProcessDetails()
197 int pid = Integer.valueOf(matcher.group(PS_PATTERN_PID_GROUP)); in getRunningAppProcesses() local
[all …]
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DShowmapSnapshotHelper.java149 for (Integer pid : pids) { in getMetrics()
150 String showmapOutput = execShowMap(processName, pid); in getMetrics()
154 storeToFile(mTestOutputFile, processName, pid, showmapOutput, writer); in getMetrics()
158 updateChildProcessesCount(processName, pid); in getMetrics()
238 for (String pid : pids) { in getPids()
239 pidList.add(Integer.parseInt(pid.trim())); in getPids()
254 private String execShowMap(String processName, long pid) throws IOException { in execShowMap() argument
256 return mUiDevice.executeShellCommand(String.format(SHOWMAP_CMD, pid)); in execShowMap()
315 private void storeToFile(String fileName, String processName, long pid, String showmapOutput, in storeToFile() argument
318 writer.write(String.format(">>> %s (%d) <<<\n", processName, pid)); in storeToFile()
[all …]
DProcessShowmapHelper.java157 int pid; in sampleMemory() local
162 pid = NumberFormat.getInstance().parse(pidofOutput).intValue(); in sampleMemory()
171 showmapOutput = mUiDevice.executeShellCommand(String.format(SHOWMAP_CMD, pid)); in sampleMemory()
DTotalPssHelper.java154 proc.pid in getPss()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DScreenRecordCollector.java185 for (String pid : pids) { in cancel()
187 if (pid.isEmpty()) { in cancel()
191 getDevice().executeShellCommand(String.format("kill -2 %s", pid)); in cancel()
194 String.format("Sent SIGINT 2 to screenrecord process (%s)", pid)); in cancel()
/platform_testing/utils/crashcollector/src/android/test/crashcollector/
DCollector.java187 public boolean appCrashed(String processName, int pid, String shortMsg, String longMsg, in appCrashed() argument
198 public int appEarlyNotResponding(String processName, int pid, String annotation) in appEarlyNotResponding() argument
205 public int appNotResponding(String processName, int pid, String processStats) in appNotResponding() argument
/platform_testing/libraries/compatibility-common-util/tests/assets/
Dlogcat.txt5 09-03 17:48:05.707 359 359 W : debuggerd: handling request: pid=11071 uid=1041 gid=1005…
10 09-03 17:48:05.796 7072 7072 F DEBUG : pid: 11071, tid: 11189, name: AudioOut_D >>> /system/bi…
27 09-03 17:48:05.967 11272 11568 W NativeCrashListener: Couldn't find ProcessRecord for pid 11071
34 06-15 19:57:33.608 379 379 W : debuggerd: handling request: pid=12736 uid=1041 gid=1005…
39 06-15 19:57:33.670 26192 26192 F DEBUG : pid: 12736, tid: 12761, name: Binder:12736_2 >>> /syste…
62 06-15 19:57:33.839 934 2991 W NativeCrashListener: Couldn't find ProcessRecord for pid 12736
66 06-15 19:57:35.130 379 379 W : debuggerd: handling request: pid=26201 uid=1041 gid=1005…
72 06-15 19:57:35.191 26230 26230 F DEBUG : pid: 26201, tid: 26227, name: Binder:26201_3 >>> /syste…
95 06-15 19:57:35.346 934 2991 W NativeCrashListener: Couldn't find ProcessRecord for pid 26201
103 06-15 19:57:40.674 26283 26283 F DEBUG : pid: 26246, tid: 26282, name: Binder:26246_5 >>> /syste…
[all …]
/platform_testing/libraries/device-collectors/src/main/java/android/device/stressmodes/
DBackgroundTranscodingStressTestMode.java88 int pid = android.os.Process.myPid(); in testStarted() local
94 .setClientPid(pid) in testStarted()
/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/
DCrashUtilsTest.java505 int pid, in createCrashJson() argument
513 pid, tid, name, process, faultaddress, signal, abortMessage, ImmutableList.of()); in createCrashJson()
517 int pid, in createCrashJson() argument
527 json.put(CrashUtils.PID, pid); in createCrashJson()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DCrashUtils.java230 int pid = 0; in addAllCrashes() local
241 pid = Integer.parseInt(pidtidNameMatcher.group(1)); in addAllCrashes()
311 crash.put(PID, pid); in addAllCrashes()
/platform_testing/tests/perf/PerformanceAppTest/src/com/android/performanceapp/tests/
DAppLaunchTests.java307 return appInfo.pid; in getProcessId()
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DStatsdStatsHelper.java358 Long.valueOf(dataItem.pid)); in populateDetectedLogLossStats()
/platform_testing/libraries/collectors-helper/statsd/test/src/com/android/helpers/
DStatsdStatsHelperTest.java225 testReport.detectedLogLoss[i].pid = fieldValue++; in populateDetectedLogLossStatsTestData()