Home
last modified time | relevance | path

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

/test/vts/utils/python/common/
Dcmd_utils.py56 proc = utils.start_standing_subprocess(cmd)
60 out, err = proc.communicate()
61 result.append((out, err, proc.returncode))
69 if proc.poll() is None:
70 utils.kill_process_group(proc)
73 and proc.returncode == EXIT_CODE_TIMEOUT_ON_WINDOWS)
74 or proc.returncode == EXIT_CODE_TIMEOUT_ON_LINUX):
80 return "", "", proc.returncode
93 proc = subprocess.Popen(
95 (stdout, stderr) = proc.communicate()
[all …]
/test/vts/runners/host/
Dutils.py336 proc = subprocess.Popen(
338 (out, err) = proc.communicate()
344 def _assert_subprocess_running(proc): argument
353 ret = proc.poll()
355 out, err = proc.communicate()
357 " stdout: %s" % (proc.pid, ret, err, out))
396 def kill_process_group(proc, signal_no=signal.SIGTERM): argument
409 pid = proc.pid
447 proc = subprocess.Popen(
454 proc = subprocess.Popen(
[all …]
/test/vts-testcase/kernel/checkpoint/
Dcheckpoint_utils.py64 proc = subprocess.Popen(args=cmd,
67 _timer = Timer(timeout, kill, [proc])
70 (out, err) = proc.communicate()
77 if proc.returncode != 0:
78 raise AdbError(cmd, out, err, proc.returncode)
79 return out, err, proc.returncode
/test/vts/testcases/host/kernel_proc_file_api_test/
Dproc_utils.py166 proc = subprocess.Popen(args=cmd,
169 _timer = Timer(timeout, kill, [proc])
172 (out, err) = proc.communicate()
177 return out.decode('UTF-8'), err.decode('UTF-8'), proc.returncode
182 return out.decode('ISO-8859-1'), err.decode('ISO-8859-1'), proc.returncode
/test/vts/utils/python/controllers/
Dfastboot.py37 proc = Popen(cmd, stdout=PIPE, stderr=PIPE, shell=True)
38 (out, err) = proc.communicate()
/test/vts-testcase/vndk/golden/
Ddump_abi.py36 proc = subprocess.Popen(
38 stdout, stderr = proc.communicate()
39 if proc.returncode:
/test/vts-testcase/vndk/
Dutils.py53 proc = subprocess.Popen(cmd, shell=False, stdin=subprocess.PIPE,
55 out, err = proc.communicate()
61 return out, err, proc.returncode