Home
last modified time | relevance | path

Searched refs:subprocess (Results 1 – 25 of 28) sorted by relevance

12

/tools/tradefederation/core/python-lib/tradefed_py/
Dadb_handler.py17 import subprocess
29 proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
39 proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
/tools/test/connectivity/tools/lab/utils/
Djob.py22 import subprocess32 as subprocess namespace
25 import subprocess
27 from subprocess import DEVNULL
139 proc = subprocess.Popen(
142 stdout=subprocess.PIPE,
143 stderr=subprocess.PIPE,
151 except subprocess.TimeoutExpired:
195 return subprocess.Popen(
201 stderr=subprocess.STDOUT)
/tools/test/connectivity/acts/framework/acts/libs/proc/
Djob.py22 import subprocess32 as subprocess namespace
25 import subprocess
27 from subprocess import DEVNULL
139 proc = subprocess.Popen(
142 stdout=subprocess.PIPE,
143 stderr=subprocess.PIPE,
151 except subprocess.TimeoutExpired:
195 proc = subprocess.Popen(
201 stderr=subprocess.STDOUT)
/tools/tradefederation/core/atest/
Datest_utils.py23 import subprocess
77 proc = subprocess.Popen(cmd, stdout=subprocess.PIPE,
78 stderr=subprocess.STDOUT, env=env_vars)
114 raise subprocess.CalledProcessError(proc.returncode, cmd, output)
141 subprocess.check_call(cmd, stderr=subprocess.STDOUT,
148 except subprocess.CalledProcessError as err:
Datest.py28 import subprocess
386 subprocess.check_call(run_command, shell=True, stderr=subprocess.STDOUT)
/tools/dexter/dexter/
Ddexter_tests.py6 import subprocess
53 return subprocess.Popen(
56 stdin = subprocess.PIPE,
57 stdout = subprocess.PIPE,
58 stderr = subprocess.STDOUT).communicate(input = stdin_content)[0]
/tools/acloud/internal/lib/
Dutils_test.py21 import subprocess
38 self.Patch(subprocess, "check_call")
40 self.assertEqual(subprocess.check_call.call_count, 0)
47 self.Patch(subprocess, "check_call")
50 self.assertEqual(subprocess.check_call.call_count, 1)
51 subprocess.check_call.assert_called_with(
Dutils.py32 import subprocess
299 subprocess.check_call(cmd, stdout=sys.stderr, stderr=sys.stdout)
300 except subprocess.CalledProcessError as e:
/tools/tradefederation/core/atest/test_runners/
Dtest_runner_base.py22 import subprocess
52 subprocess.check_call(cmd, shell=True, stderr=subprocess.STDOUT)
Datest_tf_test_runner.py21 import subprocess
89 output = subprocess.check_output(['which', 'adb'])
90 except subprocess.CalledProcessError:
/tools/test/connectivity/tools/lab/
Dsetup.py21 import subprocess
41 subprocess.check_call(['apt-get', 'install', '-y', 'python-dev'])
42 except subprocess.CalledProcessError as cpe:
/tools/acloud/public/acloud_kernel/
Dkernel_swapper.py22 import subprocess
91 except subprocess.CalledProcessError as e:
151 retry_checker=lambda e: isinstance(e, subprocess.CalledProcessError),
153 functor=lambda cmd: subprocess.check_call(cmd, shell=True),
Dkernel_swapper_test.py18 import subprocess
42 self.subprocess_call = self.Patch(subprocess, 'check_call')
/tools/test/connectivity/acts/framework/acts/libs/proto/
Dproto_utils.py16 import subprocess
60 if subprocess.call(protoc_command, stderr=subprocess.STDOUT) != 0:
/tools/test/connectivity/tools/lab/metrics/
Dusb_metric.py19 import subprocess
85 process = subprocess.Popen(
87 stdout=subprocess.PIPE,
88 stderr=subprocess.STDOUT,
/tools/test/connectivity/acts/framework/acts/controllers/
Diperf_client.py21 import subprocess
58 subprocess.call(cmd, stdout=f)
Darduino_wifi_dongle.py21 import subprocess
200 proc = subprocess.Popen(cmd,
201 stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
Dnative_android_device.py20 from subprocess import call
/tools/test/connectivity/acts/framework/tests/
Dacts_job_test.py28 import subprocess32 as subprocess namespace
30 import subprocess
50 raise subprocess.TimeoutExpired(
/tools/repohooks/rh/
Dutils.py24 import subprocess
211 class _Popen(subprocess.Popen):
349 stdout = subprocess.PIPE
354 stderr = subprocess.STDOUT
368 stdin = subprocess.PIPE
427 if stderr and stderr != subprocess.STDOUT:
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
Dnative_bt_test_utils.py19 from subprocess import call
/tools/test/connectivity/acts/tests/google/bt/audio_lab/
DBtChameleonTest.py26 import subprocess
138 subprocess.call(sox_call, shell=True)
202 subprocess.call(sox_call, shell=True)
/tools/test/connectivity/acts/framework/acts/controllers/sniffer_lib/local/
Dlocal_base.py27 import subprocess
152 except subprocess.TimeoutExpired:
/tools/test/connectivity/acts/framework/acts/test_utils/audio_analysis_lib/
Dcheck_quality.py26 import subprocess
108 subprocess.check_output(['sox', '--version'])
116 subprocess.check_call(command)
/tools/tradefederation/core/atest/test_finders/
Dtest_finder_utils.py22 import subprocess
221 out_files = subprocess.check_output(find_out_dir_cmd, shell=True)
278 out = subprocess.check_output(find_cmd, shell=True)

12