Home
last modified time | relevance | path

Searched refs:proc (Results 1 – 25 of 27) sorted by relevance

12

/tools/loganalysis/src/com/android/loganalysis/item/
DGfxInfoItem.java83 JSONObject proc = new JSONObject(); in toJson() local
85 proc.put(PID_KEY, pid); in toJson()
86 proc.put(NAME_KEY, getName(pid)); in toJson()
87 proc.put(TOTAL_FRAMES_KEY, getTotalFrames(pid)); in toJson()
88 proc.put(PERCENTILE_90_KEY, getPrecentile90(pid)); in toJson()
89 proc.put(PERCENTILE_95_KEY, getPrecentile95(pid)); in toJson()
90 proc.put(PERCENTILE_99_KEY, getPrecentile99(pid)); in toJson()
91 processes.put(proc); in toJson()
DCpuInfoItem.java70 JSONObject proc = new JSONObject(); in toJson() local
72 proc.put(PID_KEY, pid); in toJson()
73 proc.put(PERCENT_KEY, getPercent(pid)); in toJson()
74 proc.put(NAME_KEY, getName(pid)); in toJson()
75 processes.put(proc); in toJson()
DCompactMemInfoItem.java74 JSONObject proc = new JSONObject(); in toJson() local
76 proc.put(PID_JSON_KEY, pid); in toJson()
77 proc.put(NAME_JSON_KEY, getName(pid)); in toJson()
78 proc.put(PSS_JSON_KEY, getPss(pid)); in toJson()
79 proc.put(SWAP_JSON_KEY, getSwap(pid)); in toJson()
80 proc.put(TYPE_JSON_KEY, getType(pid)); in toJson()
81 proc.put(ACTIVITIES_JSON_KEY, hasActivities(pid)); in toJson()
82 processes.put(proc); in toJson()
/tools/tradefederation/core/python-lib/tradefed_py/
Dadb_handler.py29 proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
30 (out, err) = proc.communicate()
31 ret = proc.returncode
39 proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
40 (out, err) = proc.communicate()
41 ret = proc.returncode
/tools/test/connectivity/acts/framework/acts/libs/proc/
Djob.py139 proc = subprocess.Popen(
150 (out, err) = proc.communicate(timeout=timeout)
153 proc.kill()
154 proc.wait()
160 exit_status=proc.returncode,
171 if not ignore_status and proc.returncode != 0:
195 proc = subprocess.Popen(
202 logging.debug("command %s started with pid %s", command, proc.pid)
203 return proc
/tools/repohooks/rh/
Dutils.py166 def _kill_child_process(proc, int_timeout, kill_timeout, cmd, original_handler, argument
183 if proc.returncode is None and proc.pid is not None:
185 while proc.poll() is None and int_timeout >= 0:
189 proc.terminate()
190 while proc.poll() is None and kill_timeout >= 0:
194 if proc.poll() is None:
196 proc.kill()
202 proc.wait()
388 proc = None
394 proc = _Popen(cmd, cwd=cwd, stdin=stdin, stdout=stdout,
[all …]
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DProcessMaxMemoryCollector.java79 for (String proc : mProcessNames) { in collect()
80 String dumpResult = device.executeShellCommand("dumpsys meminfo --checkin " + proc); in collect()
103 if (mPssMemoryPerProcess.get(device).get(proc) == null) { in collect()
104 mPssMemoryPerProcess.get(device).put(proc, NumericValues.newBuilder()); in collect()
106 mPssMemoryPerProcess.get(device).get(proc).addNumericValue(pss); in collect()
112 if (mUssMemoryPerProcess.get(device).get(proc) == null) { in collect()
113 mUssMemoryPerProcess.get(device).put(proc, NumericValues.newBuilder()); in collect()
115 mUssMemoryPerProcess.get(device).get(proc).addNumericValue(uss); in collect()
117 if (procPss.getOrDefault(proc, 0L) < pss) { in collect()
118 procPss.put(proc, pss); in collect()
[all …]
/tools/test/connectivity/tools/lab/utils/
Djob.py139 proc = subprocess.Popen(
150 (out, err) = proc.communicate(timeout=timeout)
153 proc.kill()
154 proc.wait()
160 exit_status=proc.returncode,
171 if not ignore_status and proc.returncode != 0:
/tools/tradefederation/core/atest/
Datest_utils.py77 proc = subprocess.Popen(cmd, stdout=subprocess.PIPE,
86 while proc.poll() is None:
87 line = proc.stdout.readline()
105 proc.wait()
106 if proc.returncode != 0:
114 raise subprocess.CalledProcessError(proc.returncode, cmd, output)
/tools/test/connectivity/tools/lab/
Dlab_upload_hooks.py18 from acts.libs.proc import job
/tools/tradefederation/core/tests/res/testtype/
Dgbench_output5.json2 CPU ID assignments in /proc/cpuinfo seem messed up. This is usually caused by a bad BIOS.
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DNativeLeakCollector.java92 for (String proc : mAdditionalProc) { in tearDown()
94 mAdditionalDumpTimeout / 1000, proc); in tearDown()
/tools/test/connectivity/tools/
Dyapf_checker.py20 from acts.libs.proc import job
Dkeyword_check.py21 from acts.libs.proc import job
/tools/test/connectivity/acts/framework/acts/libs/ota/ota_tools/
Dupdate_device_ota_tool.py23 from acts.libs.proc import job
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/ssh/
Dconnection.py27 from acts.libs.proc import job
383 tunnel.proc.kill()
384 tunnel.proc.wait()
/tools/test/connectivity/acts/framework/acts/controllers/
Darduino_wifi_dongle.py200 proc = subprocess.Popen(cmd,
202 out, err = proc.communicate()
203 return_code = proc.returncode
Dattenuator.py21 from acts.libs.proc import job
Dadb.py23 from acts.libs.proc import job
Daccess_point.py34 from acts.libs.proc import job
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
Dbridge_interface.py19 from acts.libs.proc import job
Dap_get_interface.py18 from acts.libs.proc import job
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/commands/
Dip.py18 from acts.libs.proc import job
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZipToolsTest.java173 Process proc = pb.start(); in testReadZFile() local
174 InputStream is = proc.getInputStream(); in testReadZFile()
/tools/test/connectivity/acts/framework/tests/
Dacts_job_test.py25 from acts.libs.proc import job

12